|
|
|
@ -984,7 +984,7 @@ public class CourseInfoService extends CoreBaseService<CourseInfo>{
|
|
|
|
|
|
|
|
|
|
Map<Long, List<CourseInfoQuestionCountGroup>> listMap = courseInfoQuestionCountGroup.stream().collect(groupingBy(CourseInfoQuestionCountGroup::getCourseInfoId));
|
|
|
|
|
|
|
|
|
|
// 复制课程对应的题目总数
|
|
|
|
|
// 设置课程对应的题目总数
|
|
|
|
|
list.forEach(item -> {
|
|
|
|
|
Long courseInfoId = item.getCourseInfoId();
|
|
|
|
|
CourseInfoQuestionCountGroup group = getFirst(listMap.get(courseInfoId));
|
|
|
|
|