jinpengyong
2023-09-22 3271a0e7421aa7c55f475be8f24ad85b576108b8
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>