wujianwei
6 天以前 849648e82e5dec96f9f30fcc9c9bd799268b1f4c
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
package com.ruoyi.cwgl.service;
 
import com.ruoyi.cwgl.domain.dto.PayableAuditLog;
import com.ruoyi.cwgl.domain.dto.ReceivableAuditLog;
 
/**
 * TMS审核日志推送服务接口
 */
public interface ITmsAuditLogPushService {
 
    /**
     * 推送应付账单审核日志到TMS
     * @param auditLog 应付账单审核日志
     * @return 推送是否成功
     */
    boolean pushPayableAuditLog(PayableAuditLog auditLog);
 
    /**
     * 推送应收账单审核日志到TMS
     * @param auditLog 应收账单审核日志
     * @return 推送是否成功
     */
    boolean pushReceivableAuditLog(ReceivableAuditLog auditLog);
 
    /**
     * 判断应付账单是否来自TMS系统
     * @param billNo 账单编号
     * @return 是否来自TMS系统
     */
    boolean isPayableBillFromTms(String billNo);
 
    /**
     * 判断应收账单是否来自TMS系统
     * @param billNo 账单编号
     * @return 是否来自TMS系统
     */
    boolean isReceivableBillFromTms(String billNo);
 
    /**
     * 获取应付账单的来源系统
     * @param billNo 账单编号
     * @return 来源系统
     */
    String getPayableBillSourceSystem(String billNo);
 
    /**
     * 获取应收账单的来源系统
     * @param billNo 账单编号
     * @return 来源系统
     */
    String getReceivableBillSourceSystem(String billNo);
}