From 07858ca3296c851ccba94b7b817fb098fa35bab5 Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期六, 28 三月 2026 14:41:39 +0800
Subject: [PATCH] feat(basic): 新增企业信息管理功能

---
 src/main/resources/mapper/purchase/PurchaseLedgerMapper.xml |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/purchase/PurchaseLedgerMapper.xml b/src/main/resources/mapper/purchase/PurchaseLedgerMapper.xml
index 8eb9370..9640bdc 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>
@@ -78,4 +81,4 @@
         WHERE
             T4.id = #{id}
     </select>
-</mapper>
\ No newline at end of file
+</mapper>

--
Gitblit v1.9.3