From cce61ef716de4bb02c5164eedb8fe43197dee7ee Mon Sep 17 00:00:00 2001
From: buhuazhen <hua100783@gmail.com>
Date: 星期六, 28 三月 2026 15:26:10 +0800
Subject: [PATCH] feat(procurement): 新增采购价格管理模块及自动价格变更处理

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

diff --git a/src/main/resources/mapper/purchase/PurchaseLedgerMapper.xml b/src/main/resources/mapper/purchase/PurchaseLedgerMapper.xml
index 2dba9c8..1dc4b06 100644
--- a/src/main/resources/mapper/purchase/PurchaseLedgerMapper.xml
+++ b/src/main/resources/mapper/purchase/PurchaseLedgerMapper.xml
@@ -39,8 +39,8 @@
             <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 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},'%')
@@ -58,7 +58,8 @@
         group by pl.id, pl.purchase_contract_number, pl.sales_contract_no, pl.supplier_name,
         pl.project_name,pl.entry_date,
         pl.recorder_name,
-        pl.contract_amount
+        pl.contract_amount,
+        pl.approval_status
         order by pl.entry_date desc
 
     </select>

--
Gitblit v1.9.3