IPurchasePlanService.java
1.8 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
72
73
74
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.PurchasePlan;
import com.baomidou.mybatisplus.extension.service.IService;
import com.skua.modules.erp.entity.PurchasePlanItem;
import com.skua.modules.erp.vo.PurchasePlanSearchVO;
import com.skua.modules.erp.vo.PurchasePlanVO;
import java.util.List;
/**
* erp采购计划表
*/
public interface IPurchasePlanService extends IService<PurchasePlan> {
/***
* 新增
* @param purchasePlanVO
* @return
*/
public int savePurchasePlan(PurchasePlanVO purchasePlanVO);
/***
* 修改
* @param purchasePlanVO
* @return
*/
public boolean updatePurchasePlan(PurchasePlanVO purchasePlanVO);
/***
* 删除
* @param planId
* @return
*/
public int delPurchasePlan(String planId);
/***
* 根据编号获取采购计划
* @param planId
* @return
*/
public PurchasePlanVO queryById(String planId);
/**
* 根据编号获取采购清单集合
* @param planId
* @return
*/
public List<PurchasePlanItem> queryItemListByPlanId(String planId);
/***
* 审批 采购计划
* @param purchasePlanVO
*/
public void auditPurchasePlan(PurchasePlanVO purchasePlanVO);
/***
* 统计分页:按照物料分组
* @param page
* @param purchasePlanSearchVO
* @return
*/
IPage<PurchasePlanItem> statisticsPage(Page<PurchasePlanItem> page, PurchasePlanSearchVO purchasePlanSearchVO);
/***
* 查询某一物料的的采购计划物料清单
* @param page
* @return
*/
IPage<PurchasePlanItem> statisticsPageBySparepartId(Page<PurchasePlanItem> page, PurchasePlanSearchVO purchasePlanSearchVO);
}