From 22eb0d07b7230bfdb9542a3d6d24d5163b14c5ac Mon Sep 17 00:00:00 2001 From: jinpengyong <jpy123456> Date: Thu, 20 Aug 2020 16:19:44 +0800 Subject: [PATCH] 预测数据中加入经纬度字段 --- src/main/resources/mapper/MonitorPointMapper.xml | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/MonitorPointMapper.xml b/src/main/resources/mapper/MonitorPointMapper.xml index c1d3c7d..90ddde8 100644 --- a/src/main/resources/mapper/MonitorPointMapper.xml +++ b/src/main/resources/mapper/MonitorPointMapper.xml @@ -172,6 +172,9 @@ and o.id=mp.organization_id and a.id=#{id}; </select> + <select id="byIdGetMonitorPoint" resultType="com.moral.entity.MonitorPoint"> + SELECT * FROM `monitor_point` where id=#{id} + </select> <select id="getFirstMonitorPointByAreaCode" resultType="com.moral.entity.MonitorPoint" resultMap="BaseResultMap"> select * from monitor_point where area_code=#{areaCode} limit 0,1 -- Gitblit v1.8.0