|
@@ -494,7 +494,12 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
|
|
|
courseListDtos.addAll(classGroupDao.queryStudentMusicGroupCourses(StringUtils.join(musicGroupIds, ",")));
|
|
|
courseListDtos.addAll(vipCourses);
|
|
|
//检测对应乐团是否已申请退费
|
|
|
- List<Map<String, Integer>> isApplyMaps = studentApplyRefundsDao.checkIsApplyRefund(musicGroupIds, userId);
|
|
|
+ List<Map<String, Integer>> isApplyMaps;
|
|
|
+ if(musicGroupIds != null && musicGroupIds.size() > 0){
|
|
|
+ isApplyMaps = studentApplyRefundsDao.checkIsApplyRefund(musicGroupIds, userId);
|
|
|
+ }else {
|
|
|
+ isApplyMaps = new ArrayList<>();
|
|
|
+ }
|
|
|
Map<String, Integer> isApplyMap = MapUtil.convertIntegerMap(isApplyMaps);
|
|
|
//获取所有教学点名称列表
|
|
|
Set<Integer> schoolIds = courseListDtos.stream().map(CourseListDto::getTeacherSchoolId).collect(Collectors.toSet());
|