jinpengyong
2020-05-06 3b50aa4a23bd3ccb2bf71109b84dea65bd9ffc07
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}