【修改】编程题判分标准查找

This commit is contained in:
YOHO\20373
2025-06-11 16:33:26 +08:00
parent 99c1453732
commit 974eae7ba8

View File

@@ -948,7 +948,8 @@ public class ExamQuestionServiceImpl implements IExamQuestionService
System.err.println("ID格式错误" + e.getMessage()); System.err.println("ID格式错误" + e.getMessage());
} }
if ("编程题".equals(examQuestion.getSubjectName())) { if ("编程题".equals(examQuestion.getSubjectName())) {
examQuestion = examQuestionService.selectExamQuestionByQuId(examQuestion.getQuId()); ExamQuestion examQuestionNew = examQuestionService.selectExamQuestionByQuId(examQuestion.getQuId());
BeanUtils.copyProperties(examQuestionNew, examQuestion);
} }
if ("程序设计".equals(examQuestion.getSubjectName())) { if ("程序设计".equals(examQuestion.getSubjectName())) {
List<ExamQuestionAnswer> answerList = examQuestionService.getPointById(examQuestion.getQuId()); List<ExamQuestionAnswer> answerList = examQuestionService.getPointById(examQuestion.getQuId());