From d8cb49cebb37ee537ea7432986bdc2d21130520f Mon Sep 17 00:00:00 2001 From: lidongdong <1459917685@qq.com> Date: 星期二, 30 七月 2024 14:28:20 +0800 Subject: [PATCH] 花城 修改小程序微信用户管理报错5 --- springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/impl/SysUserInputServiceImpl.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/impl/SysUserInputServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/impl/SysUserInputServiceImpl.java index 27eb545..4bbd92b 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/impl/SysUserInputServiceImpl.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/impl/SysUserInputServiceImpl.java @@ -147,10 +147,11 @@ */ @Override public CommunityUserInfoVO detailUserComunity(Long userId) { - CommunityUserInfoVO communityUserInfoVO = new CommunityUserInfoVO(); + CommunityUserInfoVO communityUserInfoVO=null; // userId = userId - 100000000l; SysUserInputDO sysUserInputDO = sysUserInputDAO.selectById(userId); if (!org.springframework.util.ObjectUtils.isEmpty(sysUserInputDO)) { + communityUserInfoVO = new CommunityUserInfoVO(); BeanUtils.copyProperties(sysUserInputDO, communityUserInfoVO); String idCard = sysUserInputDO.getIdCard(); if (!org.springframework.util.ObjectUtils.isEmpty(idCard)) { -- Gitblit v1.7.1