|
@@ -371,6 +371,9 @@ public class StudentServeServiceImpl implements StudentServeService {
|
|
|
|
|
|
if(typeCourseMap.containsKey(CourseSchedule.CourseScheduleType.SINGLE)){
|
|
|
Set<String> musicGroupIds = noCourseStudentMusicIdsMap.get(studentCourseMapEntry.getKey());
|
|
|
+ if(CollectionUtils.isEmpty(musicGroupIds)){
|
|
|
+ continue;
|
|
|
+ }
|
|
|
Map<Integer, Integer> teacherNumMap = new HashMap<>();
|
|
|
for (String groupId : musicGroupIds) {
|
|
|
Integer teacherId = null;
|
|
@@ -433,6 +436,9 @@ public class StudentServeServiceImpl implements StudentServeService {
|
|
|
}
|
|
|
}else if(typeCourseMap.containsKey(CourseSchedule.CourseScheduleType.MIX)){
|
|
|
Set<String> musicGroupIds = noCourseStudentMusicIdsMap.get(studentCourseMapEntry.getKey());
|
|
|
+ if(CollectionUtils.isEmpty(musicGroupIds)){
|
|
|
+ continue;
|
|
|
+ }
|
|
|
Map<Integer, Integer> teacherNumMap = new HashMap<>();
|
|
|
for (String groupId : musicGroupIds) {
|
|
|
Integer teacherId = null;
|
|
@@ -498,6 +504,9 @@ public class StudentServeServiceImpl implements StudentServeService {
|
|
|
|
|
|
for (Integer noCourseServeStudentId : noCourseServeStudentIds) {
|
|
|
Set<String> musicGroupIds = noCourseStudentMusicIdsMap.get(noCourseServeStudentId);
|
|
|
+ if(CollectionUtils.isEmpty(musicGroupIds)){
|
|
|
+ continue;
|
|
|
+ }
|
|
|
Map<Integer, Integer> teacherNumMap = new HashMap<>();
|
|
|
for (String groupId : musicGroupIds) {
|
|
|
Integer teacherId = null;
|