jinpengyong
2024-06-18 7a1c0a8f26b54db6fdf0dcb9a2568aa9811f8f4c
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>