From 0654e5b02df021714f32ba042ceaf4cbebe9c383 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期三, 13 八月 2025 16:19:00 +0800
Subject: [PATCH] 浪潮对接单点登录:开通接口报错问题修复
---
src/main/resources/mapper/sales/ReceiptPaymentMapper.xml | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/sales/ReceiptPaymentMapper.xml b/src/main/resources/mapper/sales/ReceiptPaymentMapper.xml
index 26ef5f8..df06df6 100644
--- a/src/main/resources/mapper/sales/ReceiptPaymentMapper.xml
+++ b/src/main/resources/mapper/sales/ReceiptPaymentMapper.xml
@@ -98,6 +98,9 @@
<if test="c.customerName != null and c.customerName !=''">
AND T3.customer_name LIKE CONCAT('%',#{c.customerName},'%')
</if>
+ <if test="c.invoiceLedgerId != null">
+ AND T1.id = #{c.invoiceLedgerId}
+ </if>
<if test="c.customerContractNo != null and c.customerContractNo !=''">
AND T3.customer_contract_no LIKE CONCAT('%',#{c.customerContractNo},'%')
</if>
--
Gitblit v1.9.3