|
|
@ -551,10 +551,7 @@ public class UserBaseInfoServiceImpl extends BaseServiceImpl<UserBaseInfoDao, Us |
|
|
|
result.setGridName(StrConstant.EPMETY_STR); |
|
|
|
result.setAgencyId(StrConstant.EPMETY_STR); |
|
|
|
//根据手机号从baseinfo查对应的信息,如果有则返回,没有则注册
|
|
|
|
LambdaQueryWrapper<UserBaseInfoEntity> wrapper = new LambdaQueryWrapper<>(); |
|
|
|
wrapper.eq(UserBaseInfoEntity::getCustomerId, formDTO.getCustomerId()); |
|
|
|
wrapper.eq(UserBaseInfoEntity::getMobile, formDTO.getMobile()); |
|
|
|
UserBaseInfoEntity baseInfo = baseDao.selectOne(wrapper); |
|
|
|
UserBaseInfoEntity baseInfo = baseDao.selectUserByMobile(formDTO.getCustomerId(),formDTO.getMobile()); |
|
|
|
if (null == baseInfo) { |
|
|
|
//注册
|
|
|
|
UserEntity userEntity = new UserEntity(); |
|
|
|