|
@@ -27,6 +27,7 @@ import cn.com.qmth.stmms.biz.exam.model.MarkGroup;
|
|
|
import cn.com.qmth.stmms.biz.exam.model.MarkGroupStudent;
|
|
|
import cn.com.qmth.stmms.biz.exam.model.Marker;
|
|
|
import cn.com.qmth.stmms.biz.exam.model.SubjectiveScore;
|
|
|
+import cn.com.qmth.stmms.biz.exam.service.ExamQuestionService;
|
|
|
import cn.com.qmth.stmms.biz.exam.service.ExamService;
|
|
|
import cn.com.qmth.stmms.biz.exam.service.ExamStudentService;
|
|
|
import cn.com.qmth.stmms.biz.exam.service.ExamSubjectService;
|
|
@@ -123,6 +124,9 @@ public class MarkServiceImpl implements MarkService {
|
|
|
@Autowired
|
|
|
private ExamService examService;
|
|
|
|
|
|
+ @Autowired
|
|
|
+ private ExamQuestionService questionService;
|
|
|
+
|
|
|
private Map<Integer, Long> markerLastUpdateTime = new ConcurrentHashMap<>();
|
|
|
|
|
|
/**
|
|
@@ -1501,8 +1505,9 @@ public class MarkServiceImpl implements MarkService {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
subjectService.updateScore(examId, subjectCode, objective,
|
|
|
- questionDao.sumTotalScore(examId, subjectCode, objective));
|
|
|
+ questionService.sumTotalScore(examId, subjectCode, objective));
|
|
|
|
|
|
return true;
|
|
|
}
|