|
@@ -199,7 +199,7 @@ public class TSyncExamStudentScoreController {
|
|
Optional.ofNullable(tSyncExamStudentScore).orElseThrow(() -> ExceptionResultEnum.ERROR.exception("未找到此考生信息"));
|
|
Optional.ofNullable(tSyncExamStudentScore).orElseThrow(() -> ExceptionResultEnum.ERROR.exception("未找到此考生信息"));
|
|
boolean update = Objects.isNull(tSyncExamStudentScore.getTrajectoryUrls()) ? true : false;
|
|
boolean update = Objects.isNull(tSyncExamStudentScore.getTrajectoryUrls()) ? true : false;
|
|
tSyncExamStudentScore = tSyncExamStudentScoreService.createImageTrajectory(tSyncExamStudentScore, imageTrajectoryEnum);
|
|
tSyncExamStudentScore = tSyncExamStudentScoreService.createImageTrajectory(tSyncExamStudentScore, imageTrajectoryEnum);
|
|
- Optional.ofNullable(tSyncExamStudentScore.getTrajectoryUrls()).orElseThrow(() -> ExceptionResultEnum.ERROR.exception("资源未获取到,请稍候再试"));
|
|
|
|
|
|
+ Optional.ofNullable(tSyncExamStudentScore.getTrajectoryUrls()).orElseThrow(() -> ExceptionResultEnum.ERROR.exception("阅卷方式未使用轨迹阅卷,无轨迹图"));
|
|
if (update || Objects.isNull(tSyncExamStudentScore.getTrajectoryUrls())) {
|
|
if (update || Objects.isNull(tSyncExamStudentScore.getTrajectoryUrls())) {
|
|
tSyncExamStudentScoreService.updateById(tSyncExamStudentScore);
|
|
tSyncExamStudentScoreService.updateById(tSyncExamStudentScore);
|
|
}
|
|
}
|