修改更新派工状态的执行顺序

master
Yangwl 1 year ago
parent ef3fd58eb6
commit dd08d3d4f2

@ -36,8 +36,8 @@ spring:
date-format: yyyy-MM-dd HH:mm:ss date-format: yyyy-MM-dd HH:mm:ss
profiles: profiles:
# active: prd # active: prd
# active: qas active: qas
active: local # active: local
# active: dev # active: dev
# 文件上传 # 文件上传
servlet: servlet:

@ -358,11 +358,13 @@ public class PodTemplateServiceImpl implements PodTemplateService {
} }
try { try {
sfcCrossService.startAction(site, currentRevisionRef.getHandle(), resrce, sfcServiceById.getHandle(), qty); sfcCrossService.startAction(site, currentRevisionRef.getHandle(), resrce, sfcServiceById.getHandle(), qty);
//更改派工单状态
sfcDispatchCommonService.updateSfcDispatchStatus(site, CommonMethods.getUser(), dispatchNo, DispatchStatusEnum.START.getCode(),null);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace();
ExceptionUtil.throwException(e); ExceptionUtil.throwException(e);
} }
//更改派工单状态
sfcDispatchCommonService.updateSfcDispatchStatus(site, CommonMethods.getUser(), dispatchNo, DispatchStatusEnum.START.getCode(),null);
}); });
} }

Loading…
Cancel
Save