IEROPurchaseContractService.java
1.7 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
package com.skua.modules.erp.service;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.skua.modules.erp.entity.ERPPurchaseContract;
import com.baomidou.mybatisplus.extension.service.IService;
import com.skua.modules.erp.entity.PurchaseMaterial;
import com.skua.modules.erp.entity.PurchasePlanItem;
import com.skua.modules.erp.vo.PurchaseContractVO;
import com.skua.modules.erp.vo.PurchasePlanSearchVO;
import java.util.List;
/**
* 采购合同
*/
public interface IEROPurchaseContractService extends IService<ERPPurchaseContract> {
/***
* 新增purchaseContractVO
* @param purchaseContractVO
*/
public void savePurchaseContract(PurchaseContractVO purchaseContractVO);
/**
* 修改purchaseContractVO
* @param purchaseContractVO
* @return
*/
public boolean updatePurchaseContract(PurchaseContractVO purchaseContractVO);
/***
* 删除purchaseContractVO
* @param id
*/
public void delById(String id);
/***
* 根据id查询purchaseContractVO
* @param id
* @return
*/
public PurchaseContractVO queryById(String id);
/**
* 根据编号获取采购清单集合
* @param contractId
* @return
*/
public List<PurchaseMaterial> queryListByContractId(String contractId);
/***
* 审批 采购合同
* @param purchaseContractVO
*/
public void auditPurchaseContract(PurchaseContractVO purchaseContractVO);
/***
* 同步入库操作
* @param purchaseContractVO
* @return
*/
public int syncEquipmentIn(PurchaseContractVO purchaseContractVO)throws Exception;
}