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 528a8d59..9b8bdd0c 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 @@ -241,7 +241,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and sai.`status`='0' and sai.is_slt = 0 and mm.ma_status = 2 - and mt2.type_id not in (6032,6008,6270) + and mt2.type_id not in (6032,6008,6270) and mt.company_id = 101 and mt.jiju_type =2 AND sd.dept_id = #{deptId} @@ -283,7 +283,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and sai.`status`='0' and sai.is_slt = 0 and mm.ma_status = 2 - and mt2.type_id not in (6032,6008,6270) + and mt2.type_id not in (6032,6008,6270) and mt.company_id = 101 and mt.jiju_type =2 AND bp.pro_id = #{proId} @@ -421,7 +421,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 mm.next_check_time IS NOT NULL - AND mt.`level` = '4' + AND mt.`level` = '4' and mt.company_id = 101 AND sd.dept_name in ('送电一分公司', '送电二分公司', '检修试验分公司', '建筑分公司(消防分公司)', '安徽宏源电力建设有限公司', '变电分公司')