@@ -148,7 +148,10 @@ public class QuestionChapterServiceImpl extends ServiceImpl<QuestionChapterMappe
addItem.setChapterExamId(update.getChapterExamId());
coll.add(addItem);
}
- iQuestionChapterExamService.saveBatch(coll);
+ if(coll.size()>0){
+ iQuestionChapterExamService.saveBatch(coll);
+ }
+
return this.updateById(update);