|
@@ -313,6 +313,9 @@ public class StudentManageServiceImpl implements StudentManageService {
|
|
|
throw new BizException("参数校验失败");
|
|
|
}
|
|
|
SysUser sysUser1 = sysUserFeignService.queryUserByMobile(sysUser.getPhone());
|
|
|
+ if(sysUser1 == null){
|
|
|
+ throw new BizException("用户不存在");
|
|
|
+ }
|
|
|
if(!userId.equals(sysUser1.getId())){
|
|
|
throw new BizException("手机号已被占用");
|
|
|
}
|