|
@@ -1635,7 +1635,7 @@ public class ExamTaskServiceImpl extends ServiceImpl<ExamTaskMapper, ExamTask> i
|
|
TFCustomFlow tfCustomFlow = tfCustomFlowService.getById(customFlowId);
|
|
TFCustomFlow tfCustomFlow = tfCustomFlowService.getById(customFlowId);
|
|
Optional.ofNullable(tfCustomFlow).orElseThrow(() -> ExceptionResultEnum.ERROR.exception("未找到自定义流程数据"));
|
|
Optional.ofNullable(tfCustomFlow).orElseThrow(() -> ExceptionResultEnum.ERROR.exception("未找到自定义流程数据"));
|
|
|
|
|
|
- if (tfCustomFlow.getVersion().intValue() > version.intValue()) {
|
|
|
|
|
|
+ if (tfCustomFlow.getVersion().intValue() != version.intValue()) {
|
|
Optional.ofNullable(tfCustomFlow).orElseThrow(() -> ExceptionResultEnum.ERROR.exception("自定义流程数据已发生改变,请刷新重试"));
|
|
Optional.ofNullable(tfCustomFlow).orElseThrow(() -> ExceptionResultEnum.ERROR.exception("自定义流程数据已发生改变,请刷新重试"));
|
|
}
|
|
}
|
|
|
|
|