预警接口开发

This commit is contained in:
bonus 2025-09-24 21:06:37 +08:00
parent 7266486e5e
commit 552e3ff7d0
1 changed files with 2 additions and 1 deletions

View File

@ -34,6 +34,7 @@
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 mt2.type_id not in (6032,6008,6270,6012,6761)
and bp.external_id in("2093dba755b7427bb6621e408bf7fadb","4ba1b9739ea74cfc85f50f2b12e35872")
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 != ''">
@ -103,7 +104,7 @@
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 mt2.type_id not in (6032,6008,6270,6012,6761)
and bp.external_id is not null and bp.external_id in("2093dba755b7427bb6621e408bf7fadb","4ba1b9739ea74cfc85f50f2b12e35872")
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)
) res ) res