mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-25 02:32:57 +08:00
fix:修改获取章节问题
This commit is contained in:
@@ -405,7 +405,7 @@ public class StudyServiceImpl implements IStudyService{
|
||||
if (!courseIds.isEmpty()) {
|
||||
List<StudyCourse> courses = studyCourseService.findByCourseIds(new ArrayList<>(courseIds));
|
||||
if (courses != null) {
|
||||
courseMap = courses.stream().collect(Collectors.toMap(StudyCourse::getId, Function.identity(), (e1, e2) -> e1));
|
||||
courseMap = courses.stream().collect(Collectors.toMap(StudyCourse::getCourseId, Function.identity(), (e1, e2) -> e1));
|
||||
}
|
||||
}
|
||||
// 4. 为每个 CourseContent 设置 displayName
|
||||
|
||||
Reference in New Issue
Block a user