ZhuDongming
2019-06-12 f2a2ea09481d49a2e7aecb521249f9e18834af54
src/main/resources/mapper/HistoryMinutelyMapper.xml
@@ -38,7 +38,7 @@
            AVG(json->'$.${sensorKey}[0]') AS '${sensorKey}'
         </foreach>
      FROM
         history_minutely h
         history_${timeUnits} h
      WHERE
         h.time >= #{start}
      AND h.time <![CDATA[<]]> #{end}