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
package com.by4cloud.platformx.business.service;
 
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.by4cloud.platformx.business.dto.*;
import com.by4cloud.platformx.business.entity.ContractInvoice;
import com.by4cloud.platformx.common.core.util.R;
 
public interface ContractInvoiceService {
    R getContractOutBound(Long contractId);
 
    R getContractAdvance(Long contractId);
 
    R genInvoiceInfo(GenInvoiceInfoDTO genInvoiceInfoDTO);
 
    R toInvoice(ToInvoiceDTO toInvoiceDTO);
 
    R getContractInvoiceList(Long contractId);
 
    R toRedInvoice(Long invoiceId);
 
    R queryBlueInvoice();
 
    R queryRedInvoice();
 
    void takeEffect(Long id);
 
    void refuseApproval(Long id);
 
    Page pageInvoice(Page page, ContractInvoiceQueryDTO queryDTO);
 
    Page pageScope(Page page, ContractQueryDTO queryDTO);
 
    R getContractHouseWater(Long contractId);
 
    R refresh(Long invoiceId);
 
    R bipPush(Long invoiceId);
 
    R queryInvoice(Page page, InvoiceQueryDTO queryDTO);
 
    R add(ContractInvoice contractInvoice);
 
    ContractInvoice getById(Long id);
 
    R bipPushPdf(Long invoiceId);
 
    R selectBipByKey(String dictKey);
 
    R saveAndPush(ContractInvoiceUpateDTO upateDTO);
 
    R getMergeContractOutBound(Long[] ids);
 
    R genMergeInvoiceInfo(GenMergeInvoiceDTO mergeInvoiceDTO);
 
    R toMergeInvoice(ToMergeInvoiceDTO toMergeInvoiceDTO);
}