大屏预警分析
This commit is contained in:
parent
3eec00da89
commit
0609cb6356
|
|
@ -282,7 +282,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
AND bp.pro_name is not null
|
AND bp.pro_name is not null
|
||||||
and sai.`status`='0'
|
and sai.`status`='0'
|
||||||
and sai.is_slt = 0
|
and sai.is_slt = 0
|
||||||
AND (sai.source = 1 OR sai.source is NULL)
|
AND sai.source = 1
|
||||||
and mm.ma_status = 2
|
and mm.ma_status = 2
|
||||||
and mt2.type_id not in (6032,6008,6270) and mt.company_id = 101
|
and mt2.type_id not in (6032,6008,6270) and mt.company_id = 101
|
||||||
and mt.jiju_type =2
|
and mt.jiju_type =2
|
||||||
|
|
|
||||||
|
|
@ -249,7 +249,7 @@
|
||||||
AND mm.next_check_time is not null
|
AND mm.next_check_time is not null
|
||||||
AND mt.jiju_type = 2
|
AND mt.jiju_type = 2
|
||||||
AND sai.`status`='0'
|
AND sai.`status`='0'
|
||||||
AND (sai.source = 1 OR sai.source is NULL)
|
AND sai.source = 1
|
||||||
AND mt2.type_id not in (6032,6008,6270)
|
AND mt2.type_id not in (6032,6008,6270)
|
||||||
<if test="companyId != null">
|
<if test="companyId != null">
|
||||||
AND mt.company_id=#{companyId}
|
AND mt.company_id=#{companyId}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue