|
@@ -170,7 +170,6 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
|
|
|
classGroupStudentMapper.setCreateTime(date);
|
|
|
classGroupStudentMapper.setStatus(ClassGroupStudentStatusEnum.NORMAL);
|
|
|
classGroupStudentMapper.setGroupType(GroupType.MUSIC);
|
|
|
- classGroupStudentMapper.setGroupType(groupType);
|
|
|
classGroupStudentList.add(classGroupStudentMapper);
|
|
|
|
|
|
StudentRegistration studentRegistration = new StudentRegistration();
|
|
@@ -178,6 +177,7 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
|
|
|
studentRegistration.setUserId(Integer.parseInt(userId));
|
|
|
studentRegistration.setMusicGroupId(classGroup.getMusicGroupId());
|
|
|
studentRegistrationDao.updateByUserIdAndMusicGroupId(studentRegistration);
|
|
|
+
|
|
|
userIdList.add(Integer.parseInt(userId));
|
|
|
}
|
|
|
classGroupStudentMapperDao.classGroupStudentsInsert(classGroupStudentList);
|