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
3f6461bc
Commit
3f6461bc
authored
Jun 22, 2021
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导购、资源组引用维护调整
parent
aa07fdd3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
UnionEnterpriseAuthApiServiceImpl.java
...e/outer/impl/union/UnionEnterpriseAuthApiServiceImpl.java
+5
-3
No files found.
gic-platform-enterprise-service/src/main/java/com/gic/enterprise/service/outer/impl/union/UnionEnterpriseAuthApiServiceImpl.java
View file @
3f6461bc
...
...
@@ -153,7 +153,9 @@ public class UnionEnterpriseAuthApiServiceImpl implements UnionEnterpriseAuthApi
//
checkResourceDealing
((
old
.
getUnionEnterpriseAuthId
()));
saveRefer
(
old
.
getUnionEnterpriseAuthId
(),
resourceGroupId
);
TabEnterprise
tabEnterprise
=
enterpriseService
.
getEnterpriseById
(
dto
.
getUnionEnterpriseId
());
saveRefer
(
old
.
getUnionEnterpriseAuthId
(),
tabEnterprise
.
getEnterpriseName
(),
resourceGroupId
);
unionEnterpriseAuthService
.
update
(
data
);
//初始化未授权资源数据
...
...
@@ -592,10 +594,10 @@ public class UnionEnterpriseAuthApiServiceImpl implements UnionEnterpriseAuthApi
return
(
int
)
((
endDateTime
-
startDateTime
)
/
(
1000
*
3600
*
24
));
}
private
void
saveRefer
(
Integer
businessId
,
Integer
resourceGroupId
)
{
private
void
saveRefer
(
Integer
businessId
,
String
businessName
,
Integer
resourceGroupId
)
{
PopupDTO
popupDTO
=
new
PopupDTO
();
popupDTO
.
setBusinessId
(
String
.
valueOf
(
businessId
));
popupDTO
.
setBusinessName
(
"联合商户"
);
popupDTO
.
setBusinessName
(
businessName
);
popupDTO
.
setBusinessType
(
REFER_UNION_ENTERPRISE
);
popupDTO
.
setRelationBusinessIdList
(
new
RelationBusinessInfoDTO
(
REFER_RESOURCE
,
String
.
valueOf
(
resourceGroupId
)));
...
...
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