CAPP返修工艺路线接口修改

master
Leon 3 years ago
parent 05a02ed17c
commit 41a0445a0c

@ -302,12 +302,17 @@ public class InterfaceServiceImpl implements InterfaceService {
String resource = routerStepDto.getRESRCE();
String operation = routerStepDto.getOPERATION();
/*String operation = routerStepDto.getOPERATION();
String _revision = routerStepDto.getREVISION();
_revision = StringUtil.notBlank(_revision) ? _revision : "1.0";
String description = routerStepDto.getOPERATION_DESCRIPTION();
//工序创建
Operation operationModel = this.createResourceOfOperation(site, resource, operation, description, _revision);
String operationBo = operationModel.getHandle();*/
Operation operationModel = operationService.queryOperationByErpWorkCenter(site, resource);
if (operationModel == null) {
throw BusinessException.build("步骤标识【" + stepId + "】下【" + resource + "】对应的MES工序未维护");
}
String operation = operationModel.getOperation();
String operationBo = operationModel.getHandle();
//工艺路线步骤

Loading…
Cancel
Save