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

master
Yangwl 1 year ago
parent ef3fd58eb6
commit dd08d3d4f2

@ -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:

@ -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);
});
}

Loading…
Cancel
Save