From 91c1c308abec43a67335cdebb574940ed41b09cf Mon Sep 17 00:00:00 2001 From: jinpengyong <jpy123456> Date: Wed, 05 Aug 2020 16:56:16 +0800 Subject: [PATCH] 修改预测参数,提交到数据库 --- src/main/java/com/moral/mapper/MonitorPointMapper.java | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/moral/mapper/MonitorPointMapper.java b/src/main/java/com/moral/mapper/MonitorPointMapper.java index ae3420d..7689907 100644 --- a/src/main/java/com/moral/mapper/MonitorPointMapper.java +++ b/src/main/java/com/moral/mapper/MonitorPointMapper.java @@ -2,6 +2,10 @@ import java.util.List; 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; @@ -13,4 +17,19 @@ 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 getFirstMonitorPointByAreaCode(@Param("areaCode") int areaCode); + + MonitorPoint getFirstMonitorPointByCityCode(@Param("cityCode") int cityCode); + + MonitorPoint getFirstMonitorPointByProvinceCode(@Param("provinceCode") int provinceCode); + + List<MonitorPoint> getMonitorList(Map<String, Object> params); } \ No newline at end of file -- Gitblit v1.8.0