src/main/resources/mapping/SuYuanMapper.xml
@@ -103,6 +103,17 @@ </foreach> ORDER BY z ASC, x ASC, y DESC </select> <select id="getSuYuan500Max" resultMap="DistanceSuYuanResult"> select id, x, y, format(c, 2) "c", u, v from ${tableName} where id in <foreach collection="ids" item="item" open="(" separator="," close=")"> #{item} </foreach> order by c desc limit 1; </select> <select id="getAlarmsAnalyse" resultMap="SuYuan2dResult"> SELECT id, x, y, c