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);
|
|
}
|