|
@@ -134,7 +134,9 @@ public class StudentManageServiceImpl implements StudentManageService {
|
|
|
}
|
|
|
pageInfo.setRows(dataList);
|
|
|
|
|
|
- List<StudentListCourseDto> studentListCourseDtoList = studentManageDao.queryStudentRemianCourse();
|
|
|
+ Set<Integer> userIds = dataList.stream().map(StudentManageListDto::getUserId).collect(Collectors.toSet());
|
|
|
+
|
|
|
+ List<StudentListCourseDto> studentListCourseDtoList = studentManageDao.queryStudentRemianCourse(userIds);
|
|
|
Map<Integer,StudentListCourseDto> StudentListCourseDtoMap = studentListCourseDtoList.stream().collect(Collectors.toMap(StudentListCourseDto::getUserId, studentListCourseDto -> studentListCourseDto));
|
|
|
|
|
|
StudentListCourseDto studentListCourseDto = null;
|
|
@@ -158,7 +160,6 @@ public class StudentManageServiceImpl implements StudentManageService {
|
|
|
if (count > 50000) {
|
|
|
throw new BizException("数据集太大,不能导出.最大数据集不能超过50000");
|
|
|
}
|
|
|
- Set<Integer> userIds = dataList.stream().map(StudentManageListDto::getUserId).collect(Collectors.toSet());
|
|
|
//获取所在乐团
|
|
|
Map<Integer, String> musicGroupNames = MapUtil.convertMybatisMap(musicGroupDao.queryUserMusicNames(userIds));
|
|
|
//获取所在vip
|