From bd63dcea170b3ceb86851f56a7a53b85b77027c2 Mon Sep 17 00:00:00 2001
From: yinrw <2030349650@qq.com>
Date: 星期四, 23 七月 2026 15:03:25 +0800
Subject: [PATCH] 修改销售台账和生产订单绑定逻辑,修复销售台账和生产订单页面展示数据bug
---
src/main/resources/mapper/basic/CustomerPrivatePoolMapper.xml | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/basic/CustomerPrivatePoolMapper.xml b/src/main/resources/mapper/basic/CustomerPrivatePoolMapper.xml
index 5fc2c24..c7f33c8 100644
--- a/src/main/resources/mapper/basic/CustomerPrivatePoolMapper.xml
+++ b/src/main/resources/mapper/basic/CustomerPrivatePoolMapper.xml
@@ -41,6 +41,10 @@
<if test="c.customerType != null">
and c.customer_type = #{c.customerType}
</if>
+ <if test="c.boundId != null">
+ and cpp.bound_id = #{c.boundId}
+ </if>
+
</where>
order by cpp.id desc
</select>
--
Gitblit v1.9.3