|
|
@ -227,7 +227,8 @@ public class UserServiceImpl extends BaseServiceImpl<UserDao, UserEntity> implem |
|
|
|
// 已录入身份证号:true;未完善:false.
|
|
|
|
result.setCompleteIdNum(StringUtils.isNotBlank(myselfMsg.getIdNum())); |
|
|
|
result.setRegisterGridName(ModuleConstant.EMPTY_STR); |
|
|
|
if (StringUtils.isNotBlank(myselfMsg.getGridId())) { |
|
|
|
// TODO: 2023/10/9 暂时注释不校验网格ID
|
|
|
|
/*if (StringUtils.isNotBlank(myselfMsg.getGridId())) { |
|
|
|
//registerGridName 当前在哪个网格,显示哪个网格的名称
|
|
|
|
CustomerGridFormDTO gridId = new CustomerGridFormDTO(); |
|
|
|
gridId.setGridId(myResiUserInfoFormDTO.getGridId()); |
|
|
@ -239,7 +240,7 @@ public class UserServiceImpl extends BaseServiceImpl<UserDao, UserEntity> implem |
|
|
|
log.warn(gridResult.getMsg()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}*/ |
|
|
|
|
|
|
|
//拥有角色名称列表
|
|
|
|
UserRoleFormDTO userRoleFormDTO = new UserRoleFormDTO(); |
|
|
@ -310,13 +311,15 @@ public class UserServiceImpl extends BaseServiceImpl<UserDao, UserEntity> implem |
|
|
|
wechatDTO.setUserId(userDTO.getId()); |
|
|
|
wechatDTO.setUpdatedBy(userDTO.getId()); |
|
|
|
wechatDTO.setUpdatedTime(new Date()); |
|
|
|
if (userWechatDao.updateByUserId(wechatDTO) < NumConstant.ONE) { |
|
|
|
log.error("小程序登陆,居民端user_wechat表更新数据失败"); |
|
|
|
throw new RenException(UserConstant.UPDATE_USER_WECHAT); |
|
|
|
} |
|
|
|
// if (userWechatDao.updateByUserId(wechatDTO) < NumConstant.ONE) {
|
|
|
|
// log.error("小程序登陆,居民端user_wechat表更新数据失败");
|
|
|
|
// throw new RenException(UserConstant.UPDATE_USER_WECHAT);
|
|
|
|
// }
|
|
|
|
resultDTO.setId(userDTO.getId()); |
|
|
|
} |
|
|
|
|
|
|
|
resultDTO.setCustomerId(wechatDTO.getCustomerId()); |
|
|
|
|
|
|
|
return resultDTO; |
|
|
|
} |
|
|
|
|
|
|
|