From c848c1bdbe9ed9268de3d181721a8b52905032cd Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期五, 24 四月 2026 15:59:40 +0800
Subject: [PATCH] fix: 应付金额去重并扣减历史记录
---
src/main/resources/mapper/basic/CustomerPrivatePoolMapper.xml | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/main/resources/mapper/basic/CustomerPrivatePoolMapper.xml b/src/main/resources/mapper/basic/CustomerPrivatePoolMapper.xml
index c35006c..12c2fc6 100644
--- a/src/main/resources/mapper/basic/CustomerPrivatePoolMapper.xml
+++ b/src/main/resources/mapper/basic/CustomerPrivatePoolMapper.xml
@@ -42,9 +42,8 @@
and c.customer_type = #{c.customerType}
</if>
<if test="c.boundId != null">
- and cpp.boundId = #{c.boundId}
+ and cpp.bound_id = #{c.boundId}
</if>
-
</where>
order by cpp.id desc
</select>
--
Gitblit v1.9.3