From 55fb3f5a3d6efc4e5c91c5438c137aeabb1d2c37 Mon Sep 17 00:00:00 2001
From: liyong <18434998025@163.com>
Date: 星期一, 19 一月 2026 11:57:33 +0800
Subject: [PATCH] feat(production): 新增工艺路线和BOM管理功能

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