From b5a462138f2510bc145d715e890d2aba0ebc7d82 Mon Sep 17 00:00:00 2001 From: liuxinxin Date: Tue, 21 Feb 2023 09:42:04 +0800 Subject: [PATCH] UserInfoHelper getUserFullInfo --- .../java/com/ningdatech/pmapi/common/helper/UserInfoHelper.java | 3 +++ .../com/ningdatech/pmapi/common/helper/impl/UserInfoHelperImpl.java | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/common/helper/UserInfoHelper.java b/pmapi/src/main/java/com/ningdatech/pmapi/common/helper/UserInfoHelper.java index 10f9825..d421e51 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/common/helper/UserInfoHelper.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/common/helper/UserInfoHelper.java @@ -1,5 +1,6 @@ package com.ningdatech.pmapi.common.helper; +import com.ningdatech.pmapi.user.security.auth.model.UserFullInfoDTO; import org.springframework.stereotype.Component; /** @@ -19,4 +20,6 @@ public interface UserInfoHelper { */ String getOrganizationCode(Long userId); + UserFullInfoDTO getUserFullInfo(Long userId); + } diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/common/helper/impl/UserInfoHelperImpl.java b/pmapi/src/main/java/com/ningdatech/pmapi/common/helper/impl/UserInfoHelperImpl.java index 210478f..5dcac28 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/common/helper/impl/UserInfoHelperImpl.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/common/helper/impl/UserInfoHelperImpl.java @@ -24,4 +24,10 @@ public class UserInfoHelperImpl implements UserInfoHelper { return userFullInfo.getOrganizationCode(); } + + @Override + public UserFullInfoDTO getUserFullInfo(Long userId) { + UserFullInfoDTO userFullInfo = userAuthLoginManage.getUserFullInfo(userId); + return userFullInfo; + } }