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 | 72 +++++++++++++++++++++++++++++++++++-
1 files changed, 70 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 0689fcf..8ad9711 100644
--- a/src/main/java/com/ruoyi/sales/service/ReceiptPaymentService.java
+++ b/src/main/java/com/ruoyi/sales/service/ReceiptPaymentService.java
@@ -2,23 +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
*/
@@ -26,6 +31,7 @@
/**
* 鍥炴鐧昏鍒犻櫎
+ *
* @param ids
* @return
*/
@@ -33,18 +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