From 56424206be7af38a02be17f215654f3ca813ebcb Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期二, 07 四月 2026 17:54:24 +0800
Subject: [PATCH] feat:销售记录excel导入(查询,删除)

---
 src/main/java/com/ruoyi/sales/service/ReceiptPaymentService.java |   75 ++++++++++++++++++++++++++++++++++++-
 1 files changed, 73 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/ruoyi/sales/service/ReceiptPaymentService.java b/src/main/java/com/ruoyi/sales/service/ReceiptPaymentService.java
index 57ff4c8..8ad9711 100644
--- a/src/main/java/com/ruoyi/sales/service/ReceiptPaymentService.java
+++ b/src/main/java/com/ruoyi/sales/service/ReceiptPaymentService.java
@@ -2,22 +2,28 @@
 
 import com.baomidou.mybatisplus.core.metadata.IPage;
 import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.ruoyi.sales.dto.InvoiceLedgerDto;
 import com.ruoyi.sales.dto.ReceiptPaymentDto;
 import com.ruoyi.sales.pojo.ReceiptPayment;
 
+import javax.servlet.http.HttpServletResponse;
+import java.math.BigDecimal;
 import java.util.List;
+import java.util.Map;
 
 public interface ReceiptPaymentService {
 
     /**
      * 鍥炴鐧昏鏂板
+     *
      * @param receiptPayment
      * @return
      */
-    int receiptPaymentSaveOrUpdate(ReceiptPayment receiptPayment);
+    int receiptPaymentSaveOrUpdate(List<ReceiptPayment> receiptPayment);
 
     /**
      * 鍥炴鐧昏淇敼
+     *
      * @param receiptPayment
      * @return
      */
@@ -25,6 +31,7 @@
 
     /**
      * 鍥炴鐧昏鍒犻櫎
+     *
      * @param ids
      * @return
      */
@@ -32,16 +39,80 @@
 
     /**
      * 鍥炴鐧昏鍒嗛〉鏌ヨ
+     *
      * @param page
      * @param receiptPaymentDto
      * @return
      */
-    IPage<ReceiptPaymentDto> receiptPaymentListPage (Page page, ReceiptPaymentDto receiptPaymentDto);
+    IPage<ReceiptPaymentDto> receiptPaymentListPage(Page page, ReceiptPaymentDto receiptPaymentDto);
 
     /**
      * 鍥炴鐧昏璇︽儏
+     *
      * @param id
      * @return
      */
     ReceiptPaymentDto receiptPaymentInfo(Integer id);
+
+    BigDecimal getReceiptAmount();
+
+    /**
+     * 鏌ヨ宸茬粡缁戝畾鍙戠エ鐨勫紑绁ㄥ彴璐�
+     *
+     * @param page
+     * @param receiptPaymentDto
+     * @return
+     */
+    IPage<ReceiptPaymentDto> bindInvoiceNoRegPage(Page page, ReceiptPaymentDto receiptPaymentDto);
+
+    /**
+     * 寮�绁ㄥ彴璐﹁鎯�
+     *
+     * @param id
+     * @return
+     */
+    InvoiceLedgerDto invoiceInfo(Integer id);
+
+    Map<String, BigDecimal> getAmountMouth();
+
+    /**
+     * 鏌ヨ鍥炴璁板綍
+     */
+    List<ReceiptPaymentDto> receiptPaymentHistoryList(ReceiptPaymentDto receiptPaymentDto);
+
+    /**
+     * 鏌ヨ鍥炴璁板綍鍒嗛〉
+     */
+    IPage<ReceiptPaymentDto> receiptPaymentHistoryListPage(Page page, ReceiptPaymentDto receiptPaymentDto);
+
+    /**
+     * 瀹㈡埛寰�鏉ヨ褰曟煡璇�
+     *
+     * @param receiptPaymentDto
+     * @return
+     */
+    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