Browse Source

UserInfoHelper getUserFullInfo

master
liuxinxin 1 year ago
parent
commit
b5a462138f
2 changed files with 9 additions and 0 deletions
  1. +3
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/common/helper/UserInfoHelper.java
  2. +6
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/common/helper/impl/UserInfoHelperImpl.java

+ 3
- 0
pmapi/src/main/java/com/ningdatech/pmapi/common/helper/UserInfoHelper.java View File

@@ -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);

}

+ 6
- 0
pmapi/src/main/java/com/ningdatech/pmapi/common/helper/impl/UserInfoHelperImpl.java View File

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

Loading…
Cancel
Save