From 3512270362c77fe45bc68ab7b6f28bd1bd2f8bfb Mon Sep 17 00:00:00 2001 From: chenrui <1187576398@qq.com> Date: 星期一, 09 六月 2025 11:58:56 +0800 Subject: [PATCH] 分页修改 --- src/main/java/com/ruoyi/sales/mapper/ReceiptPaymentMapper.java | 29 +++++++++++++++++++++++++++++ 1 files changed, 29 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..2adc300 100644 --- a/src/main/java/com/ruoyi/sales/mapper/ReceiptPaymentMapper.java +++ b/src/main/java/com/ruoyi/sales/mapper/ReceiptPaymentMapper.java @@ -3,10 +3,14 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper; 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 org.apache.ibatis.annotations.Param; + +import java.math.BigDecimal; +import java.util.List; public interface ReceiptPaymentMapper extends BaseMapper<ReceiptPayment> { @@ -28,4 +32,29 @@ * @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); + + /** + * 瀹㈡埛寰�鏉ヨ褰曟煡璇� + * @param receiptPaymentDto + * @return + */ + List<CustomerInteractionDto> customerInteractions (ReceiptPaymentDto receiptPaymentDto); } -- Gitblit v1.9.3