大屏预警数据所属组织修改
This commit is contained in:
parent
c807aff60c
commit
d55400d6c1
|
|
@ -241,7 +241,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
and sai.`status`='0'
|
||||
and sai.is_slt = 0
|
||||
and mm.ma_status = 2
|
||||
and mt2.type_id not in (6032,6008,6270)
|
||||
and mt2.type_id not in (6032,6008,6270) and mt.company_id = 101
|
||||
and mt.jiju_type =2
|
||||
<if test="deptId != null">
|
||||
AND sd.dept_id = #{deptId}
|
||||
|
|
@ -283,7 +283,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
and sai.`status`='0'
|
||||
and sai.is_slt = 0
|
||||
and mm.ma_status = 2
|
||||
and mt2.type_id not in (6032,6008,6270)
|
||||
and mt2.type_id not in (6032,6008,6270) and mt.company_id = 101
|
||||
and mt.jiju_type =2
|
||||
<if test="proId != null">
|
||||
AND bp.pro_id = #{proId}
|
||||
|
|
@ -421,7 +421,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
LEFT JOIN ma_type mt ON sai.type_id = mt.type_id
|
||||
LEFT JOIN ma_type mt2 ON mt.parent_id = mt2.type_id
|
||||
WHERE mm.next_check_time IS NOT NULL
|
||||
AND mt.`level` = '4'
|
||||
AND mt.`level` = '4' and mt.company_id = 101
|
||||
AND sd.dept_name in
|
||||
('送电一分公司', '送电二分公司', '检修试验分公司', '建筑分公司(消防分公司)', '安徽宏源电力建设有限公司',
|
||||
'变电分公司')
|
||||
|
|
|
|||
Loading…
Reference in New Issue