预警内容修改接口
This commit is contained in:
parent
f232db9e56
commit
7266486e5e
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue