diff --git a/src/main/resources/mybatis/mapper/alarmlog/alarm-log-mapper.xml b/src/main/resources/mybatis/mapper/alarmlog/alarm-log-mapper.xml index bec305c..4b9234d 100644 --- a/src/main/resources/mybatis/mapper/alarmlog/alarm-log-mapper.xml +++ b/src/main/resources/mybatis/mapper/alarmlog/alarm-log-mapper.xml @@ -75,7 +75,7 @@ LEFT JOIN pollute_poll jt3 ON - t1.poll_id = jt3.poll_no + (t1.poll_id = jt3.poll_no OR t1.poll_id = jt3.poll_no_old) WHERE 1 = 1