‘liusuyi’
2023-06-29 0362c0c8502a81fc974afb8d2aff85d9efd7bbb1
ard-work/src/main/resources/mapper/alarm/ArdAlarmTubeMapper.xml
@@ -182,7 +182,7 @@
             ) T
        WHERE T.rn = 1
    </select>
    <select id="selectCountByStartTime" resultType="Integer">
    <select id="selectCountByAlarmTime" resultType="Integer">
        SELECT COUNT(DISTINCT aat.tube_id)
        FROM ard_alarm_tube aat
        WHERE aat.alarm_time >= CURRENT_TIMESTAMP - INTERVAL '%${refreshTime}%' MINUTE