IPurchasePlanService.java
1.1 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
package com.skua.modules.erp.service;
import com.skua.modules.erp.entity.PurchasePlan;
import com.baomidou.mybatisplus.extension.service.IService;
import com.skua.modules.erp.entity.PurchasePlanItem;
import java.util.List;
/**
* erp采购计划表
*/
public interface IPurchasePlanService extends IService<PurchasePlan> {
/***
* 新增
* @param purchasePlan
* @return
*/
public int savePurchasePlan(PurchasePlan purchasePlan);
/***
* 修改
* @param purchasePlan
* @return
*/
public boolean updatePurchasePlan(PurchasePlan purchasePlan);
/***
* 删除
* @param planId
* @return
*/
public int delPurchasePlan(String planId);
/***
* 根据编号获取采购计划
* @param planId
* @return
*/
public PurchasePlan queryById(String planId);
/**
* 根据编号获取采购清单集合
* @param planId
* @return
*/
public List<PurchasePlanItem> queryItemListByPlanId(String planId);
/***
* 审批 采购计划
* @param purchasePlan
*/
public void auditPurchasePlan(PurchasePlan purchasePlan);
}