| | |
| | | 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> { |
| | | |
| | |
| | | */ |
| | | 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); |
| | | |
| | | /** |
| | | * 查询回款记录不分页 |
| | | */ |
| | | List<ReceiptPaymentDto> receiptPaymentHistoryListNoPage( @Param("params") ReceiptPaymentDto receiptPaymentDto); |
| | | } |