|
@@ -51,7 +51,7 @@ public class UserController extends BaseController {
|
|
|
return failed(Constants.PARAM_VERIFY_ERROR_MSG);
|
|
|
}
|
|
|
ApplyInfo userByPhone = applyInfoService.findUserByPhone(phone, null);
|
|
|
- if(userByPhone != null && userByPhone.getClassId()!=clazzId){//如果改用户存在其他团中
|
|
|
+ if(userByPhone != null && !userByPhone.getClassId().equals(clazzId)){//如果改用户存在其他团中
|
|
|
return failed(Constants.PARAM_EXIST_ERROR_MSG);
|
|
|
}
|
|
|
School school = schoolService.get(clazzId);
|