|
@@ -928,6 +928,10 @@ public class StudentServeServiceImpl implements StudentServeService {
|
|
|
MusicGroup musicGroup = musicGroupDao.get(courseSchedule.getMusicGroupId());
|
|
|
if(musicGroup != null){
|
|
|
result.put("courseViewType", CourseViewTypeEnum.MEMBER_FEE);
|
|
|
+ }else {
|
|
|
+ List<BasicUserDto> students = courseScheduleStudentPaymentDao.findStudents(courseScheduleId);
|
|
|
+ Set<Integer> collect = students.stream().map(e -> e.getUserId()).collect(Collectors.toSet());
|
|
|
+ result.put("memberNum", studentDao.getMemberNum(StringUtils.join(collect,",")));
|
|
|
}
|
|
|
localDate=LocalDateTime.ofInstant(courseSchedule.getClassDate().toInstant(), DateUtil.zoneId).toLocalDate();
|
|
|
List<CourseScheduleStudentPayment> courseScheduleStudentPayments = courseScheduleStudentPaymentDao.findByCourseSchedule(courseScheduleId);
|