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; + } }