|
|
@@ -230,7 +230,7 @@ public class ExamService {
|
|
|
upExaminee.setWrongCount(wrongCount);
|
|
|
learnExamineeMapper.updateLearnExaminee(upExaminee);
|
|
|
if(PaperType.Simulated.getVal().equals(exitExaminee.getPaperType()) || PaperType.Test.getVal().equals(exitExaminee.getPaperType())) {
|
|
|
- List<JSONObject> paperStatList = learnExamineeMapper.selectExamRankingStats(upExaminee.getScore(), Lists.newArrayList(exitExaminee.getPaperId()));
|
|
|
+ List<JSONObject> paperStatList = learnExamineeMapper.selectExamRankingStats(exitExaminee.getPaperType(), upExaminee.getScore(), Lists.newArrayList(exitExaminee.getPaperId()));
|
|
|
JSONObject o = paperStatList.get(0);
|
|
|
Integer totalCount = o.getInteger("totalCount");
|
|
|
Integer maxScore = o.getInteger("maxScore");
|