Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
operation-control-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王锦盛
operation-control-platform
Commits
a0205c2c
Commit
a0205c2c
authored
Mar 31, 2022
by
xxxxxwwwww
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
7af6bde3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/main/java/com/pms/ocp/service/impl/ApiBasicManagementServiceImpl.java
...m/pms/ocp/service/impl/ApiBasicManagementServiceImpl.java
+1
-1
src/main/java/com/pms/ocp/service/impl/TenantBasicManagementServiceImpl.java
...ms/ocp/service/impl/TenantBasicManagementServiceImpl.java
+1
-1
No files found.
src/main/java/com/pms/ocp/service/impl/ApiBasicManagementServiceImpl.java
View file @
a0205c2c
...
...
@@ -159,7 +159,7 @@ public class ApiBasicManagementServiceImpl extends ServiceImpl<ApiBasicManagemen
List
<
OcpGroupBaseDto
>
ocpApiGroups
=
ocpApiGroupMapper
.
apiTree
(
apiGroupCompanyCode
,
apiGroupPcode
,
apiGroupPromotionType
);
ArrayList
<
OcpGroupBaseDto
>
list
=
new
ArrayList
<>();
for
(
OcpGroupBaseDto
ocpApiGroup
:
ocpApiGroups
)
{
if
(
StringUtils
.
isNotBlank
(
ocpApiGroup
.
getApi
Code
())&&
StringUtils
.
isNotBlank
(
ocpApiGroup
.
getApi
Name
())){
if
(
StringUtils
.
isNotBlank
(
ocpApiGroup
.
getApi
GroupCode
())&&
StringUtils
.
isNotBlank
(
ocpApiGroup
.
getApiGroup
Name
())){
list
.
add
(
ocpApiGroup
);
}
}
...
...
src/main/java/com/pms/ocp/service/impl/TenantBasicManagementServiceImpl.java
View file @
a0205c2c
...
...
@@ -264,7 +264,7 @@ public class TenantBasicManagementServiceImpl extends ServiceImpl<TenantBasicMan
List
<
GroupDto
>
ocpTenantGroups
=
ocpTenantGroupMapper
.
tenantBaseTreeOther
(
tenantGroupCode
,
tenantGroupCompanyCode
);
List
<
GroupDto
>
list
=
new
ArrayList
<>();
for
(
GroupDto
ocpTenantGroup
:
ocpTenantGroups
)
{
if
(
StringUtils
.
isNotBlank
(
ocpTenantGroup
.
getTenant
Code
())&&
StringUtils
.
isNotBlank
(
ocpTenantGroup
.
getTenant
Name
())){
if
(
StringUtils
.
isNotBlank
(
ocpTenantGroup
.
getTenant
GroupCode
())&&
StringUtils
.
isNotBlank
(
ocpTenantGroup
.
getTenantGroup
Name
())){
list
.
add
(
ocpTenantGroup
);
}
}
...
...
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