|
@@ -149,7 +149,7 @@ public class StudentServiceImpl extends BaseServiceImpl<Integer, Student> implem
|
|
|
throw new BizException("您已注册,请直接下载APP!");
|
|
|
}
|
|
|
userId = user.getId();
|
|
|
-
|
|
|
+ user.setOrganId(studentPreRegistration.getOrganId());
|
|
|
user.setUpdateTime(date);
|
|
|
teacherDao.updateUser(user);
|
|
|
}else{
|
|
@@ -498,7 +498,7 @@ public class StudentServiceImpl extends BaseServiceImpl<Integer, Student> implem
|
|
|
student.setMembershipStartTime(nowDate);
|
|
|
}
|
|
|
|
|
|
- if(student.getMembershipEndTime().after(nowDate)){
|
|
|
+ if(student.getMembershipEndTime() != null && student.getMembershipEndTime().after(nowDate)){
|
|
|
nowDate = student.getMembershipEndTime();
|
|
|
}
|
|
|
|