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 20e571ed..d54387cd 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 @@ -316,7 +316,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" left join sys_dept sd on bp.imp_unit = sd.dept_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 - where 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 bp.external_id is not null + 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 mt.jiju_type = 1 and mt2.is_statics != 1 @@ -342,7 +342,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" left join sys_dept sd on bp.imp_unit = sd.dept_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 - 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 + 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 mt.jiju_type = 1 and mt2.is_statics != 1 and dept_id not in (339,340,342,346)