From 9678de762666ad678cc30925b2f4f537ff37234d Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期一, 19 一月 2026 18:00:54 +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 bc6c38a..9abb583 100644
--- a/src/main/resources/mapper/purchase/PurchaseLedgerMapper.xml
+++ b/src/main/resources/mapper/purchase/PurchaseLedgerMapper.xml
@@ -44,6 +44,9 @@
             <if test="c.entryDateEnd != null and c.entryDateEnd != '' ">
                 AND  pl.entry_date &lt;= DATE_FORMAT(#{c.entryDateEnd},'%Y-%m-%d')
             </if>
+            <if test="c.recorderId != null and c.recorderId != '' ">
+                AND  pl.recorder_id = #{c.recorderId}
+            </if>
         </where>
         group by pl.id, pl.purchase_contract_number, pl.sales_contract_no, pl.supplier_name,
         pl.project_name,pl.entry_date,

--
Gitblit v1.9.3