|
@@ -72,6 +72,7 @@ public class MusicGroupRegisterController extends BaseController {
|
|
|
return failed("乐团已截止报名");
|
|
|
}
|
|
|
|
|
|
+ studentRegistration.setOrganId(musicGroup.getOrganId());
|
|
|
if (studentRegistration.getId() != null) {
|
|
|
return succeed(studentRegistrationService.updateStudent(studentRegistration));
|
|
|
}
|
|
@@ -101,7 +102,6 @@ public class MusicGroupRegisterController extends BaseController {
|
|
|
studentRegistration.setUserId(sysUser.getId());
|
|
|
}
|
|
|
|
|
|
- studentRegistration.setOrganId(musicGroup.getOrganId());
|
|
|
return succeed(studentRegistrationService.addStudent(studentRegistration));
|
|
|
}
|
|
|
|