cjl
2023-10-16 f79d7ffeb4fcf6ac8339aad0383ea62290438b76
screen-manage/src/main/resources/mapper/HistoryHourlyMapper.xml
@@ -7,4 +7,12 @@
        VALUES (#{mac}, #{time}, #{value}, #{version})
    </insert>
    <select id="selectHistoryHourly" resultType="java.util.Map">
        SELECT `value`
        FROM history_hourly_${timeUnits}
        WHERE `time` = #{time}
          and mac = #{mac}
    </select>
</mapper>