|
@@ -692,64 +692,64 @@ public class TBSopInfoServiceImpl extends ServiceImpl<TBSopInfoMapper, TBSopInfo
|
|
|
if (tfCustomFlow.getType() == TFCustomTypeEnum.OFFICE_SOP_FLOW) {//教务处sop
|
|
|
if (tfFlowApprove.getSetup().intValue() == 2) {//项目关键信息
|
|
|
FlowTaskResult flowTaskResult = this.getFormProperties(tfCustomFlowEntity, 1);
|
|
|
- processLimitedTime = this.getProcessLimitedTime(flowTaskResult, SystemConstant.PROJECT_KEY_INFO_DATE);
|
|
|
- execField = SystemConstant.PROJECT_KEY_INFO_DATE;
|
|
|
+ processLimitedTime = this.getProcessLimitedTime(flowTaskResult, ProcessLimitedEnum.PROJECT_KEY_INFO_DATE.getKey());
|
|
|
+ execField = ProcessLimitedEnum.PROJECT_KEY_INFO_DATE.getKey();
|
|
|
} else if (tfFlowApprove.getSetup().intValue() == 3) {//内审
|
|
|
processLimitedTime = tfFlowApprove.getUpdateTime();
|
|
|
} else if (tfFlowApprove.getSetup().intValue() == 5) {//扫描准备
|
|
|
tbSopInfoService.sopDeviceInOutSave(map, 4);
|
|
|
FlowTaskResult flowTaskResult = this.getFormProperties(tfCustomFlowEntity, 2);
|
|
|
- processLimitedTime = this.getProcessLimitedTime(flowTaskResult, SystemConstant.SCAN_START_TIME);
|
|
|
- execField = SystemConstant.SCAN_START_TIME;
|
|
|
+ processLimitedTime = this.getProcessLimitedTime(flowTaskResult, ProcessLimitedEnum.SCAN_START_TIME.getKey());
|
|
|
+ execField = ProcessLimitedEnum.SCAN_START_TIME.getKey();
|
|
|
} else if (tfFlowApprove.getSetup().intValue() == 7) {//校验收尾
|
|
|
FlowTaskResult flowTaskResult = this.getFormProperties(tfCustomFlowEntity, 2);
|
|
|
- processLimitedTime = this.getProcessLimitedTime(flowTaskResult, SystemConstant.SCAN_END_TIME);
|
|
|
- execField = SystemConstant.SCAN_END_TIME;
|
|
|
+ processLimitedTime = this.getProcessLimitedTime(flowTaskResult, ProcessLimitedEnum.SCAN_END_TIME.getKey());
|
|
|
+ execField = ProcessLimitedEnum.SCAN_END_TIME.getKey();
|
|
|
} else if (tfFlowApprove.getSetup().intValue() == 8) {//评卷准备
|
|
|
FlowTaskResult flowTaskResult = this.getFormProperties(tfCustomFlowEntity, 2);
|
|
|
- processLimitedTime = this.getProcessLimitedTime(flowTaskResult, SystemConstant.MARK_START_TIME);
|
|
|
- execField = SystemConstant.MARK_START_TIME;
|
|
|
+ processLimitedTime = this.getProcessLimitedTime(flowTaskResult, ProcessLimitedEnum.MARK_START_TIME.getKey());
|
|
|
+ execField = ProcessLimitedEnum.MARK_START_TIME.getKey();
|
|
|
} else if (tfFlowApprove.getSetup().intValue() == 9) {//评卷收尾
|
|
|
FlowTaskResult flowTaskResult = this.getFormProperties(tfCustomFlowEntity, 2);
|
|
|
- processLimitedTime = this.getProcessLimitedTime(flowTaskResult, SystemConstant.MARK_END_TIME);
|
|
|
- execField = SystemConstant.MARK_END_TIME;
|
|
|
+ processLimitedTime = this.getProcessLimitedTime(flowTaskResult, ProcessLimitedEnum.MARK_END_TIME.getKey());
|
|
|
+ execField = ProcessLimitedEnum.MARK_END_TIME.getKey();
|
|
|
} else if (tfFlowApprove.getSetup().intValue() == 10) {//设备入库登记
|
|
|
FlowTaskResult flowTaskResult = this.getFormProperties(tfCustomFlowEntity, 1);
|
|
|
- processLimitedTime = this.getProcessLimitedTime(flowTaskResult, SystemConstant.SERVICE_FINISH_PLAN_DATE);
|
|
|
- execField = SystemConstant.SERVICE_FINISH_PLAN_DATE;
|
|
|
+ processLimitedTime = this.getProcessLimitedTime(flowTaskResult, ProcessLimitedEnum.SERVICE_FINISH_PLAN_DATE.getKey());
|
|
|
+ execField = ProcessLimitedEnum.SERVICE_FINISH_PLAN_DATE.getKey();
|
|
|
}
|
|
|
} else if (tfCustomFlow.getType() == TFCustomTypeEnum.CLOUD_MARK_SOP_FLOW) {//研究生sop
|
|
|
if (tfFlowApprove.getSetup().intValue() == 2) {//项目关键信息
|
|
|
FlowTaskResult flowTaskResult = this.getFormProperties(tfCustomFlowEntity, 1);
|
|
|
- processLimitedTime = this.getProcessLimitedTime(flowTaskResult, SystemConstant.PROJECT_KEY_INFO_DATE);
|
|
|
- execField = SystemConstant.PROJECT_KEY_INFO_DATE;
|
|
|
+ processLimitedTime = this.getProcessLimitedTime(flowTaskResult, ProcessLimitedEnum.PROJECT_KEY_INFO_DATE.getKey());
|
|
|
+ execField = ProcessLimitedEnum.PROJECT_KEY_INFO_DATE.getKey();
|
|
|
} else if (tfFlowApprove.getSetup().intValue() == 3) {//内审
|
|
|
processLimitedTime = tfFlowApprove.getUpdateTime();
|
|
|
} else if (tfFlowApprove.getSetup().intValue() == 4) {//环境部署时间
|
|
|
FlowTaskResult flowTaskResult = this.getFormProperties(tfCustomFlowEntity, 2);
|
|
|
- processLimitedTime = this.getProcessLimitedTime(flowTaskResult, SystemConstant.ENV_DEPLOYMENT_TIME);
|
|
|
- execField = SystemConstant.ENV_DEPLOYMENT_TIME;
|
|
|
+ processLimitedTime = this.getProcessLimitedTime(flowTaskResult, ProcessLimitedEnum.ENV_DEPLOYMENT_TIME.getKey());
|
|
|
+ execField = ProcessLimitedEnum.ENV_DEPLOYMENT_TIME.getKey();
|
|
|
} else if (tfFlowApprove.getSetup().intValue() == 6) {//扫描准备
|
|
|
tbSopInfoService.sopDeviceInOutSave(map, 5);
|
|
|
FlowTaskResult flowTaskResult = this.getFormProperties(tfCustomFlowEntity, 2);
|
|
|
- processLimitedTime = this.getProcessLimitedTime(flowTaskResult, SystemConstant.SCAN_START_TIME);
|
|
|
- execField = SystemConstant.SCAN_START_TIME;
|
|
|
+ processLimitedTime = this.getProcessLimitedTime(flowTaskResult, ProcessLimitedEnum.SCAN_START_TIME.getKey());
|
|
|
+ execField = ProcessLimitedEnum.SCAN_START_TIME.getKey();
|
|
|
} else if (tfFlowApprove.getSetup().intValue() == 7) {//校验收尾
|
|
|
FlowTaskResult flowTaskResult = this.getFormProperties(tfCustomFlowEntity, 2);
|
|
|
- processLimitedTime = this.getProcessLimitedTime(flowTaskResult, SystemConstant.SCAN_END_TIME);
|
|
|
- execField = SystemConstant.SCAN_END_TIME;
|
|
|
+ processLimitedTime = this.getProcessLimitedTime(flowTaskResult, ProcessLimitedEnum.SCAN_END_TIME.getKey());
|
|
|
+ execField = ProcessLimitedEnum.SCAN_END_TIME.getKey();
|
|
|
} else if (tfFlowApprove.getSetup().intValue() == 8) {//评卷准备
|
|
|
FlowTaskResult flowTaskResult = this.getFormProperties(tfCustomFlowEntity, 2);
|
|
|
- processLimitedTime = this.getProcessLimitedTime(flowTaskResult, SystemConstant.MARK_START_TIME);
|
|
|
- execField = SystemConstant.MARK_START_TIME;
|
|
|
+ processLimitedTime = this.getProcessLimitedTime(flowTaskResult, ProcessLimitedEnum.MARK_START_TIME.getKey());
|
|
|
+ execField = ProcessLimitedEnum.MARK_START_TIME.getKey();
|
|
|
} else if (tfFlowApprove.getSetup().intValue() == 9) {//成绩复核
|
|
|
FlowTaskResult flowTaskResult = this.getFormProperties(tfCustomFlowEntity, 2);
|
|
|
- processLimitedTime = this.getProcessLimitedTime(flowTaskResult, SystemConstant.MARK_END_TIME);
|
|
|
- execField = SystemConstant.MARK_END_TIME;
|
|
|
+ processLimitedTime = this.getProcessLimitedTime(flowTaskResult, ProcessLimitedEnum.MARK_END_TIME.getKey());
|
|
|
+ execField = ProcessLimitedEnum.MARK_END_TIME.getKey();
|
|
|
} else if (tfFlowApprove.getSetup().intValue() == 11) {//设备入库登记
|
|
|
FlowTaskResult flowTaskResult = this.getFormProperties(tfCustomFlowEntity, 1);
|
|
|
- processLimitedTime = this.getProcessLimitedTime(flowTaskResult, SystemConstant.SERVICE_FINISH_PLAN_DATE);
|
|
|
- execField = SystemConstant.SERVICE_FINISH_PLAN_DATE;
|
|
|
+ processLimitedTime = this.getProcessLimitedTime(flowTaskResult, ProcessLimitedEnum.SERVICE_FINISH_PLAN_DATE.getKey());
|
|
|
+ execField = ProcessLimitedEnum.SERVICE_FINISH_PLAN_DATE.getKey();
|
|
|
}
|
|
|
}
|
|
|
if (Objects.nonNull(execField)) {
|