From 3aa2ed2c8e95f902d50879a9c3ce4d32578decd0 Mon Sep 17 00:00:00 2001
From: liyong <18434998025@163.com>
Date: 星期一, 23 六月 2025 15:00:40 +0800
Subject: [PATCH] 2025-06-23 设备报修接口

---
 src/main/resources/mapper/sales/ReceiptPaymentMapper.xml |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main/resources/mapper/sales/ReceiptPaymentMapper.xml b/src/main/resources/mapper/sales/ReceiptPaymentMapper.xml
index 8c0fc74..0f2bc4c 100644
--- a/src/main/resources/mapper/sales/ReceiptPaymentMapper.xml
+++ b/src/main/resources/mapper/sales/ReceiptPaymentMapper.xml
@@ -99,7 +99,7 @@
                 AND T3.customer_name LIKE CONCAT('%',#{c.customerName},'%')
             </if>
             <if test="c.customerContractNo != null and c.customerContractNo !=''">
-                AND T1.customer_contract_no LIKE CONCAT('%',#{c.customerContractNo},'%')
+                AND T3.customer_contract_no LIKE CONCAT('%',#{c.customerContractNo},'%')
             </if>
             <if test="c.projectName != null and c.projectName !=''">
                 AND T3.project_name LIKE CONCAT('%',#{c.projectName},'%')
@@ -210,10 +210,10 @@
                 AND T4.project_name LIKE CONCAT('%',#{params.projectName},'%')
             </if>
             <if test="params.customerContractNo != null and params.customerContractNo != '' ">
-                AND T1.customer_contract_no LIKE CONCAT('%',#{params.customerContractNo},'%')
+                AND T4.customer_contract_no LIKE CONCAT('%',#{params.customerContractNo},'%')
             </if>
             <if test="params.salesContractNo != null and params.salesContractNo != '' ">
-                AND T1.sales_contract_no LIKE CONCAT('%',#{params.salesContractNo},'%')
+                AND T4.sales_contract_no LIKE CONCAT('%',#{params.salesContractNo},'%')
             </if>
         </where>
         ORDER BY T1.receipt_payment_date DESC
@@ -368,7 +368,7 @@
                 BY invoice_ledger_id
         ) T6 ON T1.id = T6.invoice_ledger_id
     </select>
-    <select id="bindInvoiceNoRegListByIds" resultType="com.ruoyi.sales.dto.ReceiptPaymentDto">
+    <select id="bindInvoiceNoRegListByIds" resultType="com.ruoyi.sales.dto.ReceiptPaymentExeclDto">
         SELECT
             T1.id ,
             T1.invoice_no ,

--
Gitblit v1.9.3