大屏竣工未退预警限制添加
This commit is contained in:
parent
8b3ffc8957
commit
2097a45f7f
|
|
@ -317,6 +317,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
left join ma_type mt2 on mt.parent_id = mt2.type_id
|
||||
where sai.is_slt = 0 and bp.actual_end_date is not null and bp.pro_center is not null and bp.external_id is not null
|
||||
and dept_id not in (339,340,342,346)
|
||||
and bai.is_show = 1
|
||||
and mt.jiju_type = 1
|
||||
and mt2.is_statics != 1
|
||||
<if test="deptName != null and deptName != ''">
|
||||
|
|
@ -342,9 +343,11 @@ 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 sai.is_slt = 0 and bp.actual_end_date is not null and bp.pro_center is not null and bp.external_id is not null
|
||||
and sai.status = 0
|
||||
and mt.jiju_type = 1
|
||||
and mt2.is_statics != 1
|
||||
and dept_id not in (339,340,342,346)
|
||||
and bai.is_show = 1
|
||||
<if test="deptId != null">
|
||||
and sd.dept_id = #{deptId}
|
||||
</if>
|
||||
|
|
@ -707,6 +710,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
left join bm_project bp on bai.project_id = bp.pro_id
|
||||
left join sys_dept sd on bp.imp_unit = sd.dept_id
|
||||
where sai.is_slt = 0 and sai.end_time is null and bp.actual_end_date is not null and sd.dept_name = #{deptName} and bp.pro_center is not null and bp.external_id is not null
|
||||
and bai.is_show = 1
|
||||
GROUP BY bp.pro_center
|
||||
</select>
|
||||
<select id="getCompletionNotRefundedDetailsSub" resultType="com.bonus.material.push.domain.MachineInfoBean">
|
||||
|
|
@ -727,6 +731,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 sai.status = 0 and sai.is_slt = 0 and sai.end_time is null and bp.actual_end_date is not null and bp.pro_center is not null
|
||||
and bai.is_show = 1
|
||||
and mt.jiju_type = 1
|
||||
and mt2.is_statics != 1
|
||||
and dept_id not in (339,340,342,346)
|
||||
|
|
|
|||
Loading…
Reference in New Issue