Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-platform-auth
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
base_platform_enterprise
gic-platform-auth
Commits
d9b7e977
Commit
d9b7e977
authored
Jun 21, 2021
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导购角色引用调整
parent
2a9d4f43
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
UserApiServiceImpl.java
...a/com/gic/auth/service/outer/impl/UserApiServiceImpl.java
+5
-5
No files found.
gic-platform-auth-service/src/main/java/com/gic/auth/service/outer/impl/UserApiServiceImpl.java
View file @
d9b7e977
...
@@ -938,7 +938,7 @@ public class UserApiServiceImpl implements UserApiService {
...
@@ -938,7 +938,7 @@ public class UserApiServiceImpl implements UserApiService {
}
}
}
}
//业务类型配置在:gic-member-config4.0.tab_conf_reference_type
//业务类型配置在:gic-member-config4.0.tab_conf_reference_type
saveRefer
(
userId
,
"管理员权限集"
,
4
,
userRoleIdArr
);
saveRefer
(
userId
,
4
,
userRoleIdArr
);
//新增用户资源关联数据
//新增用户资源关联数据
UserResourceDTO
userResourceDTO
=
new
UserResourceDTO
();
UserResourceDTO
userResourceDTO
=
new
UserResourceDTO
();
...
@@ -957,7 +957,7 @@ public class UserApiServiceImpl implements UserApiService {
...
@@ -957,7 +957,7 @@ public class UserApiServiceImpl implements UserApiService {
}
}
}
}
saveRefer
(
userId
,
"管理员资源组"
,
5
,
userResourceIdArr
);
saveRefer
(
userId
,
5
,
userResourceIdArr
);
//账号分组用户关联数据维护
//账号分组用户关联数据维护
if
(
StringUtils
.
isNotBlank
(
accountGroupIds
))
{
if
(
StringUtils
.
isNotBlank
(
accountGroupIds
))
{
...
@@ -1001,14 +1001,14 @@ public class UserApiServiceImpl implements UserApiService {
...
@@ -1001,14 +1001,14 @@ public class UserApiServiceImpl implements UserApiService {
/**
/**
*
*
* @param businessId
* @param businessId
* @param businessName
* @param businessType 业务类型配置在:gic-member-config4.0.tab_conf_reference_type
* @param businessType 业务类型配置在:gic-member-config4.0.tab_conf_reference_type
* @param businessReferIdArr
* @param businessReferIdArr
*/
*/
private
void
saveRefer
(
Integer
businessId
,
String
businessName
,
Integer
businessType
,
String
[]
businessReferIdArr
)
{
private
void
saveRefer
(
Integer
businessId
,
Integer
businessType
,
String
[]
businessReferIdArr
)
{
PopupDTO
popupDTO
=
new
PopupDTO
();
PopupDTO
popupDTO
=
new
PopupDTO
();
popupDTO
.
setBusinessId
(
Long
.
valueOf
(
businessId
));
popupDTO
.
setBusinessId
(
Long
.
valueOf
(
businessId
));
popupDTO
.
setBusinessName
(
businessName
);
popupDTO
.
setBusinessName
(
"管理员"
);
popupDTO
.
setBusinessType
(
9
);
if
(
businessReferIdArr
!=
null
&&
businessReferIdArr
.
length
>
0
)
{
if
(
businessReferIdArr
!=
null
&&
businessReferIdArr
.
length
>
0
)
{
popupDTO
.
setRelationBusinessIdList
(
Arrays
.
stream
(
businessReferIdArr
).
filter
(
e
->
StringUtils
.
isNotBlank
(
e
))
popupDTO
.
setRelationBusinessIdList
(
Arrays
.
stream
(
businessReferIdArr
).
filter
(
e
->
StringUtils
.
isNotBlank
(
e
))
...
...
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