于紫祥_1901
2020-08-12 ad89f4965a05d37aeea1481c4ab53e21ab85ca2f
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