src/main/resources/mapper/HistoryMinutelyMapper.xml
@@ -183,7 +183,7 @@ select rs.monitorPointName,rs.name, <foreach collection="timeList" separator="," item="time"> max(case time when #{time} then rs.${sensorKey} else null end) as #{time} max(case time when #{time} then rs.${sensorKey} else "" end) as #{time} </foreach> from (SELECT @@ -210,7 +210,7 @@ ORDER BY h.mac) rs GROUP BY rs.monitorPointName,rs.name order by rs.name order by rs.monitorPointName </select> </mapper>