From bd7a90b45aa2461caf6db78ed29d4cc3401a65c8 Mon Sep 17 00:00:00 2001
From: chenrui <1187576398@qq.com>
Date: 星期四, 29 五月 2025 17:35:42 +0800
Subject: [PATCH] 来票台账bug修复
---
src/main/java/com/ruoyi/sales/mapper/ReceiptPaymentMapper.java | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/ruoyi/sales/mapper/ReceiptPaymentMapper.java b/src/main/java/com/ruoyi/sales/mapper/ReceiptPaymentMapper.java
index 9801d3d..2914230 100644
--- a/src/main/java/com/ruoyi/sales/mapper/ReceiptPaymentMapper.java
+++ b/src/main/java/com/ruoyi/sales/mapper/ReceiptPaymentMapper.java
@@ -8,6 +8,8 @@
import com.ruoyi.sales.pojo.ReceiptPayment;
import org.apache.ibatis.annotations.Param;
+import java.math.BigDecimal;
+
public interface ReceiptPaymentMapper extends BaseMapper<ReceiptPayment> {
IPage<ReceiptPaymentDto> receiptPaymentListPage(Page page, @Param("receiptPaymentDto") ReceiptPaymentDto receiptPaymentDto);
@@ -28,4 +30,13 @@
* @return
*/
InvoiceLedgerDto invoiceInfo(Integer id);
+
+ /**
+ * 璁$畻鍓嶅灏戞潯鏁版嵁鍥炴閲戦缁煎悎
+ * @param customerId
+ * @param total
+ * @return
+ */
+ BigDecimal getReceiptAmount(@Param("customerId") Integer customerId, @Param("total") long total);
+
}
--
Gitblit v1.9.3