|
|
@ -459,6 +459,7 @@ public class PaperManager {
|
|
|
|
}else {
|
|
|
|
}else {
|
|
|
|
if(objScore>=paper.getQualifyScore()){
|
|
|
|
if(objScore>=paper.getQualifyScore()){
|
|
|
|
// 同步保存考试成绩
|
|
|
|
// 同步保存考试成绩
|
|
|
|
|
|
|
|
userExamManager.joinResult(paper.getUserId(), paper.getExamId(), objScore, 1);
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|
userExamManager.joinResult(paper.getUserId(), paper.getExamId(), objScore, 0);
|
|
|
|
userExamManager.joinResult(paper.getUserId(), paper.getExamId(), objScore, 0);
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -481,7 +482,7 @@ public class PaperManager {
|
|
|
|
List<PaperQuDTO> list = Convert.toList(PaperQuDTO.class, paperQus);
|
|
|
|
List<PaperQuDTO> list = Convert.toList(PaperQuDTO.class, paperQus);
|
|
|
|
for(PaperQuDTO qu: list){
|
|
|
|
for(PaperQuDTO qu: list){
|
|
|
|
// 主观题和对的都不加入错题库
|
|
|
|
// 主观题和对的都不加入错题库
|
|
|
|
if(Boolean.TRUE.equals(qu.getIsRight())){
|
|
|
|
if(Objects.equals(1,qu.getIsRight())){
|
|
|
|
continue;
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//加入错题本
|
|
|
|
//加入错题本
|
|
|
|