chenrui
6 天以前 698008c4a0f97efa3c583967e246b78777b150a7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
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);
}