Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-platform-enterprise
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-enterprise
Commits
540ab2ec
Commit
540ab2ec
authored
Mar 04, 2021
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
资源组变更通知调整
parent
77964d3b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
UnionEnterpriseAuthApiServiceImpl.java
...e/outer/impl/union/UnionEnterpriseAuthApiServiceImpl.java
+4
-1
No files found.
gic-platform-enterprise-service/src/main/java/com/gic/enterprise/service/outer/impl/union/UnionEnterpriseAuthApiServiceImpl.java
View file @
540ab2ec
...
...
@@ -121,8 +121,11 @@ public class UnionEnterpriseAuthApiServiceImpl implements UnionEnterpriseAuthApi
Integer
resourceGroupId
=
dto
.
getResourceGroupId
();
ResourceGroupDTO
resourceGroupDTO
=
getResourceGroup
(
resourceGroupId
);
ResourceGroupDTO
oldResourceGroupDTO
=
null
;
//1 : 初始化 2:资源组变更
Integer
resourceGroupChangeType
=
1
;
if
(
isEdit
)
{
oldResourceGroupDTO
=
getResourceGroup
(
old
.
getResourceGroupId
());
resourceGroupChangeType
=
2
;
}
//
...
...
@@ -133,7 +136,7 @@ public class UnionEnterpriseAuthApiServiceImpl implements UnionEnterpriseAuthApi
unionEnterpriseAuthResDetailService
.
initUnionEnterpriseAuthResDetail
(
old
.
getUnionEnterpriseAuthId
());
//授权通知(用户域)
resourceGroupApiService
.
syncResourceAuthChangeMQ
(
dto
.
getOwnEnterpriseId
(),
dto
.
getUnionEnterpriseId
(),
resourceGroupDTO
,
oldResourceGroupDTO
);
resourceGroupApiService
.
syncResourceAuthChangeMQ
(
dto
.
getOwnEnterpriseId
(),
dto
.
getUnionEnterpriseId
(),
resourceGroupDTO
,
oldResourceGroupDTO
,
resourceGroupChangeType
);
//门店通知
if
(
resourceGroupDTO
.
getStoreResource
()
!=
null
)
{
storeAuthorizationApiService
.
authStore
(
resourceGroupDTO
.
getStoreResource
().
intValue
(),
dto
.
getUnionEnterpriseId
(),
dto
.
getOwnEnterpriseId
());
...
...
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