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