src/main/resources/mapper/HistoryMapper.xml @@ -224,7 +224,7 @@ h.value->'$.${sensorKey}' as '${sensorKey}' </foreach> FROM history as h history_special as h <where> <if test="mac!=null"> and h.mac=#{mac}