预警安全工器具
This commit is contained in:
parent
edc7b4061b
commit
dd2d6898b3
|
|
@ -204,6 +204,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
and bp.external_id is not 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
|
||||||
<if test="deptId != null">
|
<if test="deptId != null">
|
||||||
AND sd.dept_id = #{deptId}
|
AND sd.dept_id = #{deptId}
|
||||||
</if>
|
</if>
|
||||||
|
|
@ -238,6 +239,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
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)
|
||||||
|
and mt.jiju_type =2
|
||||||
<if test="proId != null">
|
<if test="proId != null">
|
||||||
AND bp.pro_id = #{proId}
|
AND bp.pro_id = #{proId}
|
||||||
</if>
|
</if>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue