Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-smart
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
platform
hg-smart
Commits
40344c70
Commit
40344c70
authored
May 07, 2024
by
wuwenlong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
获取用户信息接口
parent
c3a442fd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
UserSessionUtils.java
...ava/com/baosight/hggp/core/security/UserSessionUtils.java
+5
-5
No files found.
src/main/java/com/baosight/hggp/core/security/UserSessionUtils.java
View file @
40344c70
...
...
@@ -117,10 +117,10 @@ public class UserSessionUtils extends UserSession {
* *获取指定公司的部门列表
* @return
*/
public
static
List
<
Map
<
String
,
String
>>
getDep
t
ByCompany
(
String
companyCode
){
public
static
List
<
Map
<
String
,
String
>>
getDepByCompany
(
String
companyCode
){
Map
<
String
,
String
>
map
=
new
HashMap
<
String
,
String
>(){{
put
(
"dep
t
Code"
,
"001"
);
put
(
"dep
t
Name"
,
"公司A"
);
put
(
"depCode"
,
"001"
);
put
(
"depName"
,
"公司A"
);
}};
return
new
ArrayList
<
Map
<
String
,
String
>>(){{
add
(
map
);}};
}
...
...
@@ -134,8 +134,8 @@ public class UserSessionUtils extends UserSession {
Map
<
String
,
String
>
map
=
new
HashMap
<
String
,
String
>(){{
put
(
"userCode"
,
""
);
//工号
put
(
"userName"
,
""
);
//用户名称
put
(
"dep
t
Code"
,
""
);
//所属部门编码
put
(
"dep
t
Name"
,
""
);
//所属部门名称
put
(
"depCode"
,
""
);
//所属部门编码
put
(
"depName"
,
""
);
//所属部门名称
}};
return
new
ArrayList
<
Map
<
String
,
String
>>(){{
add
(
map
);}};
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment