From 3e03f3d957c44ff2e4909b9fb4fff8621d466d10 Mon Sep 17 00:00:00 2001 From: chenrui <1187576398@qq.com> Date: 星期五, 06 六月 2025 17:05:23 +0800 Subject: [PATCH] 分页修改 --- src/main/java/com/ruoyi/sales/mapper/ReceiptPaymentMapper.java | 22 ++++++++++++++++++++++ 1 files changed, 22 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..65a23ee 100644 --- a/src/main/java/com/ruoyi/sales/mapper/ReceiptPaymentMapper.java +++ b/src/main/java/com/ruoyi/sales/mapper/ReceiptPaymentMapper.java @@ -8,6 +8,9 @@ import com.ruoyi.sales.pojo.ReceiptPayment; import org.apache.ibatis.annotations.Param; +import java.math.BigDecimal; +import java.util.List; + public interface ReceiptPaymentMapper extends BaseMapper<ReceiptPayment> { IPage<ReceiptPaymentDto> receiptPaymentListPage(Page page, @Param("receiptPaymentDto") ReceiptPaymentDto receiptPaymentDto); @@ -28,4 +31,23 @@ * @return */ InvoiceLedgerDto invoiceInfo(Integer id); + + /** + * 璁$畻鍓嶅灏戞潯鏁版嵁鍥炴閲戦缁煎悎 + * @param customerId + * @param total + * @return + */ + BigDecimal getReceiptAmount(@Param("customerId") Integer customerId, @Param("total") long total); + + /** + * 鏌ヨ鍥炴璁板綍 + */ + List<ReceiptPaymentDto> receiptPaymentHistoryList(@Param("params") ReceiptPaymentDto receiptPaymentDto); + + /** + * 鏌ヨ鍥炴璁板綍鍒嗛〉 + */ + IPage<ReceiptPaymentDto> receiptPaymentHistoryListPage(Page page,@Param("params") ReceiptPaymentDto receiptPaymentDto); + } -- Gitblit v1.9.3