diff --git a/yanzhu-jh/src/main/resources/mapper/device/PitmonitSouthsmosAlarmMapper.xml b/yanzhu-jh/src/main/resources/mapper/device/PitmonitSouthsmosAlarmMapper.xml index 81c76a97..92ce621d 100644 --- a/yanzhu-jh/src/main/resources/mapper/device/PitmonitSouthsmosAlarmMapper.xml +++ b/yanzhu-jh/src/main/resources/mapper/device/PitmonitSouthsmosAlarmMapper.xml @@ -215,8 +215,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" FROM dev_pitmonit_southsmos_alarm a JOIN sur_project_pit_monit_cfg b ON a.cfgId = b.id JOIN sur_project_unit_info c ON b.sub_dept_id = c.unitId AND b.project_id = c.projectId - WHERE b.project_id = 644 - AND a.is_del = 0 - AND a.status = 'false'; + WHERE + a.is_del = 0 + and a.status = #{status} + and b.project_id = #{projectId} \ No newline at end of file