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