|
@@ -145,7 +145,7 @@ public class ClassGroupServiceImpl extends BaseServiceImpl<Integer, ClassGroup>
|
|
|
|
|
|
StudentRegistration studentRegistration = new StudentRegistration();
|
|
|
studentRegistration.setClassGroupId(classGroup.getId());
|
|
|
- studentRegistration.setUserId(Integer.getInteger(userId));
|
|
|
+ studentRegistration.setUserId(Integer.parseInt(userId));
|
|
|
studentRegistration.setMusicGroupId(classGroup.getMusicGroupId());
|
|
|
studentRegistrationDao.updateByUserIdAndMusicGroupId(studentRegistration);
|
|
|
}
|