mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-12 21:02:08 +08:00
优化生产保存接口-获得生产单数据源接口逻辑修改-新增排单接口逻辑修改
This commit is contained in:
+3
-2
@@ -2,6 +2,7 @@ package com.cf.imes.module.manage.service.process;
|
||||
|
||||
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import com.cf.imes.framework.common.enums.ProcessProcessingTypeEnum;
|
||||
import com.cf.imes.framework.common.enums.ProcessingStatusEnum;
|
||||
import com.cf.imes.framework.common.exception.ServiceException;
|
||||
import com.cf.imes.framework.common.exception.util.ServiceExceptionUtil;
|
||||
@@ -127,7 +128,7 @@ public class ProductionProcessServiceImpl implements ProductionProcessService {
|
||||
}
|
||||
|
||||
// 判断生产单工序的状态是否为组件加工
|
||||
if(processStepStatuses.getType() == 7){
|
||||
if(processStepStatuses.getType().equals(ProcessProcessingTypeEnum.COMPONENTPROCESSING.getNumber())){
|
||||
|
||||
processStepItemMapper.updateStemStatus(reqVo.getProcessStepId(),reqVo.getName());
|
||||
|
||||
@@ -203,7 +204,7 @@ public class ProductionProcessServiceImpl implements ProductionProcessService {
|
||||
public List<OrderPlateReqVO> selectPlate(ProcessPlateReqVO reqVO) {
|
||||
|
||||
|
||||
if(reqVO.getProcessType() == 7){
|
||||
if(reqVO.getProcessType().equals(ProcessProcessingTypeEnum.COMPONENTPROCESSING.getNumber())){
|
||||
// 等于 7(组件加工) ,根据明细ID查询对应的柜体ID,再传入方法查询对应的板材信息
|
||||
List<OrderPlateReqVO> plateDetails = processStepItemMapper.selectBodyIds(reqVO.getProcessStepId(),reqVO.getName());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user