diff --git a/bonus-modules/bonus-material/src/main/resources/mapper/material/push/ProDataUseInfoMapper.xml b/bonus-modules/bonus-material/src/main/resources/mapper/material/push/ProDataUseInfoMapper.xml index 172c2786..20bf321d 100644 --- a/bonus-modules/bonus-material/src/main/resources/mapper/material/push/ProDataUseInfoMapper.xml +++ b/bonus-modules/bonus-material/src/main/resources/mapper/material/push/ProDataUseInfoMapper.xml @@ -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 @@ -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 and sd.dept_id = #{deptId} @@ -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