|
|
@ -167,7 +167,7 @@ public class PaCustomerServiceImpl extends BaseServiceImpl<PaCustomerDao, PaCust |
|
|
|
//1.根据手机号查询到用户信息,判断用户是否存
|
|
|
|
List<PaUserDTO> userList = paUserDao.selectUserByPhone(formDTO.getPhone()); |
|
|
|
if (null != userList && userList.size() > NumConstant.ZERO) { |
|
|
|
throw new RenException(PaConstant.PHONE_EXCEPTION); |
|
|
|
throw new RenException(EpmetErrorCode.MOBILE_USED.getCode()); |
|
|
|
} |
|
|
|
|
|
|
|
//2.根据token中的userId查询pa_user表数据,根据手机号是否为空判断后续是新增还是更新user数据
|
|
|
|