|
@@ -71,14 +71,14 @@ public class EPaperQtypeService {
|
71
|
71
|
}
|
72
|
72
|
|
73
|
73
|
List<EPaperQtype> qtypelist = paper.getQtypelist();
|
74
|
|
- if (paper.getPtype() == 2) {
|
|
74
|
+ /*if (paper.getPtype() == 2) {
|
75
|
75
|
List<EPaperQtypeQuestion> questions = new ArrayList<>();
|
76
|
76
|
qtypelist.forEach(t -> {
|
77
|
77
|
questions.addAll(t.getQuestions());
|
78
|
78
|
});
|
79
|
79
|
long count = questions.stream().map(q -> q.getQn()).distinct().count();
|
80
|
80
|
if (count < questions.size()) return new ResultVo(1, "题号不能重复");
|
81
|
|
- }
|
|
81
|
+ }*/
|
82
|
82
|
|
83
|
83
|
//说明已经有改考试对应的试卷,删除试卷中试题,试卷分析
|
84
|
84
|
ePaperQtypeMapper.deleteByEpid(espVo.getEpid());
|