소스 검색

fix 卷列表

he2802 3 년 전
부모
커밋
2f1f6086f7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      zhongzheng-system/src/main/java/com/zhongzheng/modules/bank/service/impl/QuestionChapterServiceImpl.java

+ 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());