From f0ebb071ac4828e1a5b55eccbba8d8dd9a4d80ad Mon Sep 17 00:00:00 2001 From: jinpengyong <jpy123456> Date: Thu, 13 Aug 2020 11:26:19 +0800 Subject: [PATCH] 根据臭氧预测算法更新接口 --- src/main/resources/mapper/MonitorPointMapper.xml | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/resources/mapper/MonitorPointMapper.xml b/src/main/resources/mapper/MonitorPointMapper.xml index 5e2d6da..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 @@ -190,11 +193,11 @@ select * from monitor_point where <if test="areaCode != null"> - area_Code = #{areaCode} + area_code = #{areaCode} </if> <if test="cityCode != null"> - city_Code = #{cityCode} + city_code = #{cityCode} </if> </select> </mapper> \ No newline at end of file -- Gitblit v1.8.0