|
@@ -1554,7 +1554,11 @@ public class StudentRegistrationServiceImpl extends BaseServiceImpl<Long, Studen
|
|
|
|
|
|
@Override
|
|
|
public StudentRegistration queryUserByPhone(String mobile) {
|
|
|
- return studentRegistrationDao.queryUserByPhone(mobile);
|
|
|
+ StudentRegistration studentRegistration = studentRegistrationDao.queryUserByPhone(mobile);
|
|
|
+ if (studentRegistration != null) {
|
|
|
+ studentRegistration.setCurrentGrade(FivePlusGradeEnum.getByGradeNum(studentRegistration.getCurrentGradeNum()).getDesc());
|
|
|
+ }
|
|
|
+ return studentRegistration;
|
|
|
}
|
|
|
|
|
|
@Override
|