From dd08d3d4f298eea302b2eb80a6700bbfebbf6c33 Mon Sep 17 00:00:00 2001 From: Yangwl <1726150332@qq.com> Date: Thu, 6 Jul 2023 17:48:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9B=B4=E6=96=B0=E6=B4=BE?= =?UTF-8?q?=E5=B7=A5=E7=8A=B6=E6=80=81=E7=9A=84=E6=89=A7=E8=A1=8C=E9=A1=BA?= =?UTF-8?q?=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- console/src/main/resources/application.yml | 4 ++-- .../production/service/impl/PodTemplateServiceImpl.java | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) 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); + }); }