liding
13 小时以前 56424206be7af38a02be17f215654f3ca813ebcb
src/main/java/com/ruoyi/sales/service/ReceiptPaymentService.java
@@ -2,12 +2,11 @@
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 javax.servlet.http.HttpServletResponse;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;
@@ -16,13 +15,15 @@
    /**
     * 回款登记新增
     *
     * @param receiptPayment
     * @return
     */
    int receiptPaymentSaveOrUpdate(ReceiptPayment receiptPayment);
    int receiptPaymentSaveOrUpdate(List<ReceiptPayment> receiptPayment);
    /**
     * 回款登记修改
     *
     * @param receiptPayment
     * @return
     */
@@ -30,6 +31,7 @@
    /**
     * 回款登记删除
     *
     * @param ids
     * @return
     */
@@ -37,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
     */
@@ -54,6 +58,7 @@
    /**
     * 查询已经绑定发票的开票台账
     *
     * @param page
     * @param receiptPaymentDto
     * @return
@@ -62,12 +67,13 @@
    /**
     * 开票台账详情
     *
     * @param id
     * @return
     */
    InvoiceLedgerDto invoiceInfo(Integer id);
    Map<String,BigDecimal> getAmountMouth();
    Map<String, BigDecimal> getAmountMouth();
    /**
     * 查询回款记录
@@ -81,8 +87,32 @@
    /**
     * 客户往来记录查询
     *
     * @param receiptPaymentDto
     * @return
     */
    List<CustomerInteractionDto> customerInteractions (ReceiptPaymentDto receiptPaymentDto);
    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);
}