From a3675924b25089a37f5921f2340824a28edb456f Mon Sep 17 00:00:00 2001 From: cheney <1251790704@qq.com> Date: Wed, 20 Dec 2023 18:52:37 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E4=BF=A1=E6=81=AF=EF=BC=8C?= =?UTF-8?q?=E8=B4=A6=E5=8F=B7=E9=9A=8F=E6=9C=BA=E8=A7=84=E5=88=99=E6=9B=B4?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/PlatformTeamAccountServiceImpl.java | 12 +++++++----- .../users/service/impl/HrUserAccountServiceImpl.java | 11 ++++++++--- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/nakadai/src/main/java/com/huoran/nakadai/service/impl/PlatformTeamAccountServiceImpl.java b/nakadai/src/main/java/com/huoran/nakadai/service/impl/PlatformTeamAccountServiceImpl.java index 0387d16..4edfbd3 100644 --- a/nakadai/src/main/java/com/huoran/nakadai/service/impl/PlatformTeamAccountServiceImpl.java +++ b/nakadai/src/main/java/com/huoran/nakadai/service/impl/PlatformTeamAccountServiceImpl.java @@ -159,7 +159,9 @@ public class PlatformTeamAccountServiceImpl extends ServiceImpl userAccountList = hrUserAccountMapper.selectList(new QueryWrapper() .eq("app_open_id", openId)); - //查询用户信息 - HrUserInfo hrUserInfo = hrUserInfoMapper.selectByUserId(userAccountList.get(0).getUserId()); - hrUserInfo.setPhone(userAccountList.get(0).getPhone()); + //查询个人端用户信息 + Integer userId = null; + for (HrUserAccount hrUserAccount : userAccountList) { + if (hrUserAccount.getPlatformId().equals("7")){ + userId = hrUserAccount.getUserId(); + } + } + HrUserInfo hrUserInfo = hrUserInfoMapper.selectByUserId(userId); hrUserInfo.setAuthentication("未认证"); UserAuthenticationInformation authenticationInformation = userAuthenticationInformationMapper.selectOne(