From 63218f6340cb338621a640daef18074e1e2dc75d Mon Sep 17 00:00:00 2001 From: haha Date: Sat, 17 Aug 2024 13:42:25 +0800 Subject: [PATCH] update code --- .../mapper/device/PitmonitSouthsmosAlarmMapper.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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