package com.ruoyi.sales.service; 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; import java.util.Map; public interface ReceiptPaymentService { /** * 回款登记新增 * @param receiptPayment * @return */ int receiptPaymentSaveOrUpdate(ReceiptPayment receiptPayment); /** * 回款登记修改 * @param receiptPayment * @return */ int receiptPaymentUpdate(ReceiptPayment receiptPayment); /** * 回款登记删除 * @param ids * @return */ int receiptPaymentDel(List ids); /** * 回款登记分页查询 * @param page * @param receiptPaymentDto * @return */ IPage receiptPaymentListPage (Page page, ReceiptPaymentDto receiptPaymentDto); /** * 回款登记详情 * @param id * @return */ ReceiptPaymentDto receiptPaymentInfo(Integer id); BigDecimal getReceiptAmount(); /** * 查询已经绑定发票的开票台账 * @param page * @param receiptPaymentDto * @return */ IPage bindInvoiceNoRegPage(Page page, ReceiptPaymentDto receiptPaymentDto); /** * 开票台账详情 * @param id * @return */ InvoiceLedgerDto invoiceInfo(Integer id); Map getAmountMouth(); /** * 查询回款记录 */ List receiptPaymentHistoryList(ReceiptPaymentDto receiptPaymentDto); /** * 查询回款记录分页 */ IPage receiptPaymentHistoryListPage(Page page, ReceiptPaymentDto receiptPaymentDto); /** * 客户往来记录查询 * @param receiptPaymentDto * @return */ List customerInteractions (ReceiptPaymentDto receiptPaymentDto); /** * 查询回款记录分页 */ List receiptPaymentHistoryListNoPage(ReceiptPaymentDto receiptPaymentDto); }