From b21fc542a0ae534eeec6b08a0f97281440eba1ab Mon Sep 17 00:00:00 2001
From: jinpengyong <jpy123456>
Date: Mon, 21 Sep 2020 16:07:14 +0800
Subject: [PATCH] update
---
src/main/java/com/moral/mapper/MonitorPointMapper.java | 20 ++++++++++++++++----
1 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/src/main/java/com/moral/mapper/MonitorPointMapper.java b/src/main/java/com/moral/mapper/MonitorPointMapper.java
index 7689907..3f8320e 100644
--- a/src/main/java/com/moral/mapper/MonitorPointMapper.java
+++ b/src/main/java/com/moral/mapper/MonitorPointMapper.java
@@ -4,26 +4,38 @@
import java.util.Map;
import com.moral.entity.Device;
+
import org.apache.ibatis.annotations.Param;
import com.moral.common.mapper.BaseMapper;
import com.moral.entity.MonitorPoint;
+
import tk.mybatis.mapper.entity.Example;
-public interface MonitorPointMapper extends BaseMapper<MonitorPoint>{
- List<MonitorPoint> selectWithAreaNameByExample(Example example);
- List<MonitorPoint> getMonitorPointsByAreaName(Map<String, Object> parameters);
+public interface MonitorPointMapper extends BaseMapper<MonitorPoint> {
+ List<MonitorPoint> selectWithAreaNameByExample(Example example);
+
+ List<MonitorPoint> getMonitorPointsByAreaName(Map<String, Object> parameters);
+
List<MonitorPoint> selectByMap(Map<String, Object> params);
+
List<Integer> selectOrganizationIds(int id);
+
List<Integer> selectVersionsById(int id);
+
Map<String, Object> selectAllById(int id);
+
List<Map<String, Object>> getIdByOrganizationId(@Param("organizationIdList") List<Object> organizationIdList);
+
//������monitorPointId������������������������������������
List<Device> getDeviceList(@Param("id") int id);
+
//���������������������������id
MonitorPoint getMonitorPointById(@Param("id") int id);
List<MonitorPoint> getMonitorPointListByAccountId(@Param("id") int id);
+
+ MonitorPoint byIdGetMonitorPoint(@Param("id") int id);
MonitorPoint getFirstMonitorPointByAreaCode(@Param("areaCode") int areaCode);
@@ -31,5 +43,5 @@
MonitorPoint getFirstMonitorPointByProvinceCode(@Param("provinceCode") int provinceCode);
- List<MonitorPoint> getMonitorList(Map<String, Object> params);
+ List<Integer> getMonitorPointIds(Map<String, Object> params);
}
\ No newline at end of file
--
Gitblit v1.8.0