liding
13 小时以前 56424206be7af38a02be17f215654f3ca813ebcb
src/main/java/com/ruoyi/sales/service/ReceiptPaymentService.java
@@ -6,20 +6,24 @@
import com.ruoyi.sales.dto.ReceiptPaymentDto;
import com.ruoyi.sales.pojo.ReceiptPayment;
import javax.servlet.http.HttpServletResponse;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;
public interface ReceiptPaymentService {
    /**
     * 回款登记新增
     *
     * @param receiptPayment
     * @return
     */
    int receiptPaymentSaveOrUpdate(ReceiptPayment receiptPayment);
    int receiptPaymentSaveOrUpdate(List<ReceiptPayment> receiptPayment);
    /**
     * 回款登记修改
     *
     * @param receiptPayment
     * @return
     */
@@ -27,6 +31,7 @@
    /**
     * 回款登记删除
     *
     * @param ids
     * @return
     */
@@ -34,14 +39,16 @@
    /**
     * 回款登记分页查询
     *
     * @param page
     * @param receiptPaymentDto
     * @return
     */
    IPage<ReceiptPaymentDto> receiptPaymentListPage (Page page, ReceiptPaymentDto receiptPaymentDto);
    IPage<ReceiptPaymentDto> receiptPaymentListPage(Page page, ReceiptPaymentDto receiptPaymentDto);
    /**
     * 回款登记详情
     *
     * @param id
     * @return
     */
@@ -51,6 +58,7 @@
    /**
     * 查询已经绑定发票的开票台账
     *
     * @param page
     * @param receiptPaymentDto
     * @return
@@ -59,8 +67,52 @@
    /**
     * 开票台账详情
     *
     * @param id
     * @return
     */
    InvoiceLedgerDto invoiceInfo(Integer id);
    Map<String, BigDecimal> getAmountMouth();
    /**
     * 查询回款记录
     */
    List<ReceiptPaymentDto> receiptPaymentHistoryList(ReceiptPaymentDto receiptPaymentDto);
    /**
     * 查询回款记录分页
     */
    IPage<ReceiptPaymentDto> receiptPaymentHistoryListPage(Page page, ReceiptPaymentDto receiptPaymentDto);
    /**
     * 客户往来记录查询
     *
     * @param receiptPaymentDto
     * @return
     */
    List<InvoiceLedgerDto> customerInteractions(InvoiceLedgerDto receiptPaymentDto);
    /**
     * 查询回款记录分页
     */
    List<ReceiptPaymentDto> receiptPaymentHistoryListNoPage(ReceiptPaymentDto receiptPaymentDto);
    /**
     * 全导出回款列表
     */
    void exportPaymentList(HttpServletResponse response);
    /**
     * 部分导出回款列表
     */
    void exportPaymentList(HttpServletResponse response, List<Long> ids);
    /**
     * 客户销售记录查询
     *
     * @param receiptPaymentDto
     * @return
     */
    List<InvoiceLedgerDto> customerSalesInteractions(InvoiceLedgerDto receiptPaymentDto);
}