From 0b3cbc9c80c5544bfc0f9aeea8a89141dd5abe0d Mon Sep 17 00:00:00 2001
From: yaowanxin <3588231647@qq.com>
Date: 星期四, 08 一月 2026 18:49:27 +0800
Subject: [PATCH] 调整-查询采购台账列表接口,查询采购模板接口

---
 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