预警内容修改接口

This commit is contained in:
bonus 2025-09-24 21:02:09 +08:00
parent f232db9e56
commit 7266486e5e
1 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,7 @@
LEFT JOIN sys_dept sd on sd.dept_id = bp.imp_unit LEFT JOIN sys_dept sd on sd.dept_id = bp.imp_unit
WHERE WHERE
mm.ma_status='2' and sai.is_slt = 0 mm.ma_status='2' and sai.is_slt = 0
and mt2.type_id not in (6032,6008,6270,6012,6761)
and bp.pro_name is not null and bp.pro_name is not null
AND mm.next_check_time BETWEEN CURDATE() AND DATE_ADD(CURDATE(), INTERVAL 1 MONTH) AND mm.next_check_time BETWEEN CURDATE() AND DATE_ADD(CURDATE(), INTERVAL 1 MONTH)
<if test="keyWord != null and keyWord != ''"> <if test="keyWord != null and keyWord != ''">
@ -101,6 +102,7 @@
WHERE WHERE
sai.`status` = 0 and sai.is_slt = 0 and sai.`status` = 0 and sai.is_slt = 0 and
mm.ma_status='2' mm.ma_status='2'
and mt2.type_id not in (6032,6008,6270,6012,6761)
and bp.external_id is not null and bp.external_id is not null
AND mt.jiju_type =2 AND mt.jiju_type =2
AND mm.next_check_time BETWEEN CURDATE() AND DATE_ADD(CURDATE(), INTERVAL 1 MONTH) AND mm.next_check_time BETWEEN CURDATE() AND DATE_ADD(CURDATE(), INTERVAL 1 MONTH)