From 471c867c1368788f8a3d011c786b55e2d7f0c2fa Mon Sep 17 00:00:00 2001
From: bonus <1203338439@qq.com>
Date: Mon, 22 Sep 2025 13:56:16 +0800
Subject: [PATCH 1/3] =?UTF-8?q?=E8=BF=87=E6=BB=A4=E8=B4=B9=E7=94=A8?=
=?UTF-8?q?=E4=B8=BA0=E7=9A=84=E6=95=B0=E6=8D=AE=E4=B8=8D=E5=B1=95?=
=?UTF-8?q?=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../mapper/material/settlement/SltAgreementInfoMapper.xml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/bonus-modules/bonus-material/src/main/resources/mapper/material/settlement/SltAgreementInfoMapper.xml b/bonus-modules/bonus-material/src/main/resources/mapper/material/settlement/SltAgreementInfoMapper.xml
index 44b628a1..d385c21f 100644
--- a/bonus-modules/bonus-material/src/main/resources/mapper/material/settlement/SltAgreementInfoMapper.xml
+++ b/bonus-modules/bonus-material/src/main/resources/mapper/material/settlement/SltAgreementInfoMapper.xml
@@ -367,6 +367,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
#{task.taskId}
+ having costs > 0
select count(*) from clz_bm_agreement_info where DATE_FORMAT(create_time,'%y%m') = DATE_FORMAT(#{date},'%y%m')
-
\ No newline at end of file
+
diff --git a/bonus-modules/bonus-material/src/main/resources/mapper/material/clz/MaterialBackInfoMapper.xml b/bonus-modules/bonus-material/src/main/resources/mapper/material/clz/MaterialBackInfoMapper.xml
index ef9201e0..3774c23e 100644
--- a/bonus-modules/bonus-material/src/main/resources/mapper/material/clz/MaterialBackInfoMapper.xml
+++ b/bonus-modules/bonus-material/src/main/resources/mapper/material/clz/MaterialBackInfoMapper.xml
@@ -729,7 +729,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
LEFT JOIN ma_type mt1 ON mt.parent_id = mt1.type_id and mt1.del_flag = '0'
LEFT JOIN clz_lease_apply_info clai ON sai.lease_id = clai.id
WHERE
- sai.STATUS = '0' and sai.agreement_id = #{agreementId}
+ sai.STATUS = '0'
+
+
+ and sai.agreement_id in
+
+ #{item}
+
+
+
GROUP BY
mt.type_id
@@ -851,4 +859,4 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
-
\ No newline at end of file
+