update code
parent
99c058db90
commit
63218f6340
|
@ -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
|
||||
<if test="status != null and status != ''"> and a.status = #{status}</if>
|
||||
<if test="projectId != null and projectId >0"> and b.project_id = #{projectId}</if>
|
||||
</select>
|
||||
</mapper>
|
Loading…
Reference in New Issue