xiaoyi
3 天以前 abf1c0a35d85d38239ff5d2ed746a4e4b797c9d1
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
package cn.iocoder.yudao.module.mes.service.pd.product;
 
import cn.iocoder.yudao.framework.common.pojo.PageResult;
import cn.iocoder.yudao.module.mes.controller.admin.pd.product.vo.MesPdProductPageReqVO;
import cn.iocoder.yudao.module.mes.controller.admin.pd.product.vo.MesPdProductRespVO;
import cn.iocoder.yudao.module.mes.controller.admin.pd.product.vo.MesPdProductSaveReqVO;
import cn.iocoder.yudao.module.mes.dal.dataobject.pd.product.MesPdProductDO;
 
/**
 * MES 产品档案 Service 接口
 *
 * @author 超级管理员
 */
public interface MesPdProductService {
 
    Long createProduct(MesPdProductSaveReqVO createReqVO);
 
    void updateProduct(MesPdProductSaveReqVO updateReqVO);
 
    void deleteProduct(Long id);
 
    MesPdProductRespVO getProduct(Long id);
 
    PageResult<MesPdProductRespVO> getProductPage(MesPdProductPageReqVO pageReqVO);
 
    /**
     * 提交审批(未提交/驳回 -> 审批中)
     */
    void submitProduct(Long id);
 
    /**
     * 审批(审批中 -> 通过/驳回)
     *
     * @param id 产品档案编号
     * @param pass 是否通过
     * @param auditRemark 审批意见
     */
    void auditProduct(Long id, Boolean pass, String auditRemark);
 
    MesPdProductDO validateProductExists(Long id);
 
}