From bc82778aa2b8c74fc0946ef6475857d2d9060a9f Mon Sep 17 00:00:00 2001 From: zss <zss@example.com> Date: 星期三, 13 八月 2025 15:35:11 +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