From 92112e68ee3707ed8437671d0164f036a2836c5d Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期六, 28 三月 2026 10:41:28 +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