预警内容接口修改
This commit is contained in:
parent
552e3ff7d0
commit
d3678516a1
|
|
@ -34,8 +34,7 @@
|
|||
WHERE
|
||||
mm.ma_status='2' and sai.is_slt = 0
|
||||
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.external_id is not null
|
||||
AND mm.next_check_time BETWEEN CURDATE() AND DATE_ADD(CURDATE(), INTERVAL 1 MONTH)
|
||||
<if test="keyWord != null and keyWord != ''">
|
||||
and (
|
||||
|
|
@ -104,7 +103,7 @@
|
|||
sai.`status` = 0 and sai.is_slt = 0 and
|
||||
mm.ma_status='2'
|
||||
and mt2.type_id not in (6032,6008,6270,6012,6761)
|
||||
and bp.external_id in("2093dba755b7427bb6621e408bf7fadb","4ba1b9739ea74cfc85f50f2b12e35872")
|
||||
and bp.external_id is not null
|
||||
AND mt.jiju_type =2
|
||||
AND mm.next_check_time BETWEEN CURDATE() AND DATE_ADD(CURDATE(), INTERVAL 1 MONTH)
|
||||
) res
|
||||
|
|
@ -186,6 +185,7 @@
|
|||
WHERE
|
||||
sai.`status` = 0 and sai.is_slt = 0 and
|
||||
mm.ma_status='2'
|
||||
and mt2.type_id not in (6032,6008,6270,6012,6761)
|
||||
and bp.external_id is not null
|
||||
AND mt.jiju_type =2
|
||||
AND mm.next_check_time BETWEEN CURDATE() AND DATE_ADD(CURDATE(), INTERVAL 15 day)
|
||||
|
|
|
|||
Loading…
Reference in New Issue