瀏覽代碼

UserInfoHelper getUserFullInfo

tags/24080901
liuxinxin 1 年之前
父節點
當前提交
b5a462138f
共有 2 個文件被更改,包括 9 次插入0 次删除
  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 查看文件

@@ -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 查看文件

@@ -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…
取消
儲存