diff --git a/bonus-modules/bonus-material/src/main/resources/mapper/material/push/MybatisGenerator.xml b/bonus-modules/bonus-material/src/main/resources/mapper/material/push/MybatisGenerator.xml index 7ad243cb..a99af116 100644 --- a/bonus-modules/bonus-material/src/main/resources/mapper/material/push/MybatisGenerator.xml +++ b/bonus-modules/bonus-material/src/main/resources/mapper/material/push/MybatisGenerator.xml @@ -121,7 +121,7 @@ LEFT JOIN bm_agreement_info bai ON pmi.agreementId = bai.agreement_id LEFT JOIN bm_project bp ON bp.pro_id = bai.project_id LEFT JOIN calc_project_month cpm ON pmi.taskId = cpm.ID - where pmi.jiju_type = 2 + where pmi.jiju_type = 2 and pmi.money > 0 GROUP BY pmi.agreementId ) pmia ON bai.project_id = pmia.project_id AND pmc.task_id = pmia.taskId AND pmia.agreementId = pmc.AGREEMENT_ID