Browse Source

fix 卷列表

he2802 3 năm trước cách đây
mục cha
commit
2f1f6086f7

+ 1 - 1
zhongzheng-system/src/main/java/com/zhongzheng/modules/bank/service/impl/QuestionChapterServiceImpl.java

@@ -142,7 +142,7 @@ public class QuestionChapterServiceImpl extends ServiceImpl<QuestionChapterMappe
         if(bo.getExamList()!=null){
             iQuestionChapterExamService.remove(new LambdaQueryWrapper<QuestionChapterExam>().eq(QuestionChapterExam::getChapterExamId, bo.getChapterExamId()));
             Collection<QuestionChapterExam> coll = new HashSet<>();
-            for(int i=0;i<bo.getBusinessList().size();i++){
+            for(int i=0;i<bo.getExamList().size();i++){
                 QuestionChapterExamEditBo item = bo.getExamList().get(i);
                 QuestionChapterExam addItem = BeanUtil.toBean(item,  QuestionChapterExam.class);
                 addItem.setChapterExamId(update.getChapterExamId());