检修预警皖送工程限制放开
This commit is contained in:
parent
dd2d6898b3
commit
ca98ff1eb2
|
|
@ -201,7 +201,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
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 mm.next_check_time is not null and mt.`level` = '4'
|
where mm.next_check_time is not null and mt.`level` = '4'
|
||||||
and sai.`status`='0' and sai.end_time is null
|
and sai.`status`='0' and sai.end_time is null
|
||||||
and bp.external_id is not null
|
|
||||||
and mm.ma_status = 2
|
and 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 mt.jiju_type =2
|
and mt.jiju_type =2
|
||||||
|
|
@ -235,7 +235,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 mt ON sai.type_id = mt.type_id
|
||||||
LEFT JOIN ma_type mt2 ON mt.parent_id = mt2.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
|
WHERE mm.next_check_time is not null AND mt.`level`=4
|
||||||
and bp.external_id is not null
|
|
||||||
and sai.`status`='0' and sai.end_time is null
|
and sai.`status`='0' and sai.end_time is null
|
||||||
and mm.ma_status = 2
|
and 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)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue