|
|
@ -172,6 +172,10 @@ public class PaCustomerServiceImpl extends BaseServiceImpl<PaCustomerDao, PaCust |
|
|
|
|
|
|
|
//2.根据token中的userId查询pa_user表数据,根据手机号是否为空判断后续是新增还是更新user数据
|
|
|
|
PaUserEntity paUserEntity = paUserDao.selectById(formDTO.getUserId()); |
|
|
|
if (null == paUserEntity) { |
|
|
|
logger.error("根据token中userId查询pa_user表信息失败,userId->"+formDTO.getUserId()); |
|
|
|
throw new RenException(PaConstant.SELECT_USER_EXCEPTION); |
|
|
|
} |
|
|
|
|
|
|
|
//3.手机号不为空说明是同一个微信用户用第二个手机号注册,手机为空说明当前微信用户用第一个手机号注册
|
|
|
|
if(StringUtils.isNotBlank(paUserEntity.getPhone())){ |
|
|
|