From 84344f16a7f783cd32731764010a75a0af268384 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期三, 08 四月 2026 11:32:37 +0800
Subject: [PATCH] feat:同步烜曌工贸(gongchunyi-26/4/3)

---
 src/main/java/com/ruoyi/sales/service/ReceiptPaymentService.java |   37 +++++++++++++++++++++++++++++++------
 1 files changed, 31 insertions(+), 6 deletions(-)

diff --git a/src/main/java/com/ruoyi/sales/service/ReceiptPaymentService.java b/src/main/java/com/ruoyi/sales/service/ReceiptPaymentService.java
index c622368..8ad9711 100644
--- a/src/main/java/com/ruoyi/sales/service/ReceiptPaymentService.java
+++ b/src/main/java/com/ruoyi/sales/service/ReceiptPaymentService.java
@@ -2,12 +2,11 @@
 
 import com.baomidou.mybatisplus.core.metadata.IPage;
 import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
-import com.ruoyi.sales.dto.CustomerInteractionDto;
 import com.ruoyi.sales.dto.InvoiceLedgerDto;
 import com.ruoyi.sales.dto.ReceiptPaymentDto;
 import com.ruoyi.sales.pojo.ReceiptPayment;
-import org.apache.ibatis.annotations.Param;
 
+import javax.servlet.http.HttpServletResponse;
 import java.math.BigDecimal;
 import java.util.List;
 import java.util.Map;
@@ -16,13 +15,15 @@
 
     /**
      * 鍥炴鐧昏鏂板
+     *
      * @param receiptPayment
      * @return
      */
-    int receiptPaymentSaveOrUpdate(ReceiptPayment receiptPayment);
+    int receiptPaymentSaveOrUpdate(List<ReceiptPayment> receiptPayment);
 
     /**
      * 鍥炴鐧昏淇敼
+     *
      * @param receiptPayment
      * @return
      */
@@ -30,6 +31,7 @@
 
     /**
      * 鍥炴鐧昏鍒犻櫎
+     *
      * @param ids
      * @return
      */
@@ -37,14 +39,16 @@
 
     /**
      * 鍥炴鐧昏鍒嗛〉鏌ヨ
+     *
      * @param page
      * @param receiptPaymentDto
      * @return
      */
-    IPage<ReceiptPaymentDto> receiptPaymentListPage (Page page, ReceiptPaymentDto receiptPaymentDto);
+    IPage<ReceiptPaymentDto> receiptPaymentListPage(Page page, ReceiptPaymentDto receiptPaymentDto);
 
     /**
      * 鍥炴鐧昏璇︽儏
+     *
      * @param id
      * @return
      */
@@ -54,6 +58,7 @@
 
     /**
      * 鏌ヨ宸茬粡缁戝畾鍙戠エ鐨勫紑绁ㄥ彴璐�
+     *
      * @param page
      * @param receiptPaymentDto
      * @return
@@ -62,12 +67,13 @@
 
     /**
      * 寮�绁ㄥ彴璐﹁鎯�
+     *
      * @param id
      * @return
      */
     InvoiceLedgerDto invoiceInfo(Integer id);
 
-    Map<String,BigDecimal> getAmountMouth();
+    Map<String, BigDecimal> getAmountMouth();
 
     /**
      * 鏌ヨ鍥炴璁板綍
@@ -81,13 +87,32 @@
 
     /**
      * 瀹㈡埛寰�鏉ヨ褰曟煡璇�
+     *
      * @param receiptPaymentDto
      * @return
      */
-    List<CustomerInteractionDto> customerInteractions (ReceiptPaymentDto receiptPaymentDto);
+    List<InvoiceLedgerDto> customerInteractions(InvoiceLedgerDto receiptPaymentDto);
 
     /**
      * 鏌ヨ鍥炴璁板綍鍒嗛〉
      */
     List<ReceiptPaymentDto> receiptPaymentHistoryListNoPage(ReceiptPaymentDto receiptPaymentDto);
+
+    /**
+     * 鍏ㄥ鍑哄洖娆惧垪琛�
+     */
+    void exportPaymentList(HttpServletResponse response);
+
+    /**
+     * 閮ㄥ垎瀵煎嚭鍥炴鍒楄〃
+     */
+    void exportPaymentList(HttpServletResponse response, List<Long> ids);
+
+    /**
+     * 瀹㈡埛閿�鍞褰曟煡璇�
+     *
+     * @param receiptPaymentDto
+     * @return
+     */
+    List<InvoiceLedgerDto> customerSalesInteractions(InvoiceLedgerDto receiptPaymentDto);
 }

--
Gitblit v1.9.3