|
@@ -192,7 +192,7 @@ public class StudentRegistrationServiceImpl extends BaseServiceImpl<Long, Studen
|
|
|
|
|
|
@Override
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
- public StudentRegistration addStudent(StudentRegistration studentRegistration) throws IOException {
|
|
|
+ public StudentRegistration addStudent(StudentRegistration studentRegistration) throws Exception {
|
|
|
String key = "_student_registration";
|
|
|
long threadId = Thread.currentThread().getId();
|
|
|
if(!redisCache.getLocked(key, threadId, 10)){
|