diff --git a/console/src/main/resources/application.yml b/console/src/main/resources/application.yml index a158144a..7583abf1 100644 --- a/console/src/main/resources/application.yml +++ b/console/src/main/resources/application.yml @@ -36,8 +36,8 @@ spring: date-format: yyyy-MM-dd HH:mm:ss profiles: # active: prd -# active: qas - active: local + active: qas +# active: local # active: dev # 文件上传 servlet: diff --git a/production/src/main/java/com/foreverwin/mesnac/production/service/impl/PodTemplateServiceImpl.java b/production/src/main/java/com/foreverwin/mesnac/production/service/impl/PodTemplateServiceImpl.java index 7ffb01b4..3c658789 100644 --- a/production/src/main/java/com/foreverwin/mesnac/production/service/impl/PodTemplateServiceImpl.java +++ b/production/src/main/java/com/foreverwin/mesnac/production/service/impl/PodTemplateServiceImpl.java @@ -358,11 +358,13 @@ public class PodTemplateServiceImpl implements PodTemplateService { } try { sfcCrossService.startAction(site, currentRevisionRef.getHandle(), resrce, sfcServiceById.getHandle(), qty); + //更改派工单状态 + sfcDispatchCommonService.updateSfcDispatchStatus(site, CommonMethods.getUser(), dispatchNo, DispatchStatusEnum.START.getCode(),null); } catch (Exception e) { + e.printStackTrace(); ExceptionUtil.throwException(e); } - //更改派工单状态 - sfcDispatchCommonService.updateSfcDispatchStatus(site, CommonMethods.getUser(), dispatchNo, DispatchStatusEnum.START.getCode(),null); + }); }