From a9795f39b763f0cf865c4fe35139601ce60e779c Mon Sep 17 00:00:00 2001
From: liyong <18434998025@163.com>
Date: 星期一, 27 四月 2026 13:16:36 +0800
Subject: [PATCH] fix(sales): 修正销售台账产品查询中的供应商名称筛选条件

---
 src/main/resources/mapper/sales/SalesLedgerProductMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/sales/SalesLedgerProductMapper.xml b/src/main/resources/mapper/sales/SalesLedgerProductMapper.xml
index 2596f58..2a9e211 100644
--- a/src/main/resources/mapper/sales/SalesLedgerProductMapper.xml
+++ b/src/main/resources/mapper/sales/SalesLedgerProductMapper.xml
@@ -91,7 +91,7 @@
                 AND sl.project_name like concat('%',#{req.projectName},'%')
             </if>
             <if test="req.supplierNameOrContractNo != null and req.supplierNameOrContractNo != '' ">
-                AND sl.customer_name like concat('%',#{req.supplierNameOrContractNo},'%')
+                AND sl.supplier_name like concat('%',#{req.supplierNameOrContractNo},'%')
             </if>
             <if test="req.productCategory != null and req.productCategory != '' ">
                 AND slp.product_category like concat('%',#{req.productCategory},'%')

--
Gitblit v1.9.3