From febd17b52e2b1cca562fb080424e84e47830cd89 Mon Sep 17 00:00:00 2001
From: chenhj <1263187585@qq.com>
Date: 星期六, 28 三月 2026 10:11:45 +0800
Subject: [PATCH] feat(supplier): 优化供应商管理接口查询逻辑
---
src/main/resources/mapper/purchase/PurchaseLedgerMapper.xml | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/purchase/PurchaseLedgerMapper.xml b/src/main/resources/mapper/purchase/PurchaseLedgerMapper.xml
index 8eb9370..2dba9c8 100644
--- a/src/main/resources/mapper/purchase/PurchaseLedgerMapper.xml
+++ b/src/main/resources/mapper/purchase/PurchaseLedgerMapper.xml
@@ -39,6 +39,9 @@
<if test="c.supplierName != null and c.supplierName != ''">
and pl.supplier_name like concat('%',#{c.supplierName},'%')
</if>
+ <if test="c.ApprovalStatus != null and c.ApprovalStatus != ''">
+ and pl.approval_status = #{c.ApprovalStatus}
+ </if>
<if test="c.salesContractNo != null and c.salesContractNo != ''">
and pl.sales_contract_no like concat('%',#{c.salesContractNo},'%')
</if>
--
Gitblit v1.9.3