From 8bf5905eadd83054354759e28383d99c258865bb Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期五, 11 七月 2025 14:46:23 +0800
Subject: [PATCH] 新增离职的人员选项使用下拉框

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

diff --git a/src/main/resources/mapper/purchase/ProductRecordMapper.xml b/src/main/resources/mapper/purchase/ProductRecordMapper.xml
index dd5aac6..e1646b8 100644
--- a/src/main/resources/mapper/purchase/ProductRecordMapper.xml
+++ b/src/main/resources/mapper/purchase/ProductRecordMapper.xml
@@ -27,7 +27,7 @@
             and sl.sales_contract_no = #{c.salesContractNo}
         </if>
         <if test="c.supplierName != null and c.supplierName != ''">
-            and sl.supplier_name = #{c.supplierName}
+            and pl.supplier_name = #{c.supplierName}
         </if>
         <if test="c.createdAtStart != null and c.createdAtStart != ''">
             and pr.created_at &gt;= date_format(#{c.createdAtStart},'%Y-%m-%d hh:mm:ss')

--
Gitblit v1.9.3