IDistributContractService.java
1.9 KB
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
67
68
69
70
71
package com.skua.modules.erp.service;
import com.skua.modules.erp.entity.DistributContract;
import com.baomidou.mybatisplus.extension.service.IService;
import com.skua.modules.erp.entity.DistributMaterial;
import com.skua.modules.erp.entity.PurchaseMaterial;
import com.skua.modules.erp.entity.PurchasePlanItem;
import com.skua.modules.erp.vo.DistributContractVO;
import com.skua.modules.erp.vo.PurchaseContractVO;
import com.skua.modules.erp.vo.PurchasePlanVO;
import java.util.List;
/**
* erp分销合同
*/
public interface IDistributContractService extends IService<DistributContract> {
/***
* 校验数据
* @param distributContractVO
* @param checkCount
* @return
*/
String checkPurchaseContract(DistributContractVO distributContractVO, String oldContractCode, int checkCount );
/***
* 新增DistributContractVO
* @param distributContractVO
*/
public String saveDistributContractVO(DistributContractVO distributContractVO);
/**
* 修改DistributContractVOVO
* @param distributContractVO
* @return
*/
public String updateDistributContractVO(DistributContractVO distributContractVO);
/***
* 删除DistributContractVOVO
* @param id
*/
public void delById(String id);
/***
* 根据id查询DistributContractVOVO
* @param id
* @return
*/
DistributContractVO queryById(String id);
/**
* 根据编号获取分销清单集合
* @param contractId
* @return
*/
List<DistributMaterial> queryListByContractId(String contractId);
/***
* 审批 分销合同
* @param distributContractVO
*/
void auditDistributContract(DistributContractVO distributContractVO);
/**
* 变更合同
* @param distributContractVO
*/
String changePurchaseContract(DistributContractVO distributContractVO);
}