From 530b456eded06e0692e1d8bd5891069439c8f8f8 Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期五, 17 四月 2026 15:10:56 +0800
Subject: [PATCH] fix: 1.已发货的销售台账对应的出入库记录做限制不能删除;2.销售台账入库操作后,点击删除,对应的销售入库记录未一并删除;3.销售台账入库状态新增部分入库

---
 src/main/java/com/ruoyi/sales/service/ReceiptPaymentService.java |   55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 54 insertions(+), 1 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..dbe8971 100644
--- a/src/main/java/com/ruoyi/sales/service/ReceiptPaymentService.java
+++ b/src/main/java/com/ruoyi/sales/service/ReceiptPaymentService.java
@@ -2,11 +2,15 @@
 
 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 javax.servlet.http.HttpServletResponse;
 import java.math.BigDecimal;
 import java.util.List;
+import java.util.Map;
 
 public interface ReceiptPaymentService {
 
@@ -15,7 +19,7 @@
      * @param receiptPayment
      * @return
      */
-    int receiptPaymentSaveOrUpdate(ReceiptPayment receiptPayment);
+    int receiptPaymentSaveOrUpdate(List<ReceiptPayment> receiptPayment);
 
     /**
      * 鍥炴鐧昏淇敼
@@ -47,4 +51,53 @@
     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);
 }

--
Gitblit v1.9.3