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
4d2a06cc
Commit
4d2a06cc
authored
Mar 31, 2022
by
郭凡凡
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
总部-服务库-服务列表-服务树bug修复
parent
d09d3ef1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
src/main/java/com/pms/ocp/service/impl/ApiBasicManagementServiceImpl.java
...m/pms/ocp/service/impl/ApiBasicManagementServiceImpl.java
+8
-2
No files found.
src/main/java/com/pms/ocp/service/impl/ApiBasicManagementServiceImpl.java
View file @
4d2a06cc
...
@@ -157,8 +157,14 @@ public class ApiBasicManagementServiceImpl extends ServiceImpl<ApiBasicManagemen
...
@@ -157,8 +157,14 @@ public class ApiBasicManagementServiceImpl extends ServiceImpl<ApiBasicManagemen
@Override
@Override
public
List
<
OcpGroupBaseDto
>
apiBaseTreeOther
(
String
apiGroupCompanyCode
,
String
apiGroupPcode
,
Integer
apiGroupPromotionType
,
String
apiCode
)
{
public
List
<
OcpGroupBaseDto
>
apiBaseTreeOther
(
String
apiGroupCompanyCode
,
String
apiGroupPcode
,
Integer
apiGroupPromotionType
,
String
apiCode
)
{
List
<
OcpGroupBaseDto
>
ocpApiGroups
=
ocpApiGroupMapper
.
apiTree
(
apiGroupCompanyCode
,
apiGroupPcode
,
apiGroupPromotionType
);
List
<
OcpGroupBaseDto
>
ocpApiGroups
=
ocpApiGroupMapper
.
apiTree
(
apiGroupCompanyCode
,
apiGroupPcode
,
apiGroupPromotionType
);
if
(
ocpApiGroups
.
size
()
!=
0
)
{
ArrayList
<
OcpGroupBaseDto
>
list
=
new
ArrayList
<>();
return
ocpApiGroups
;
for
(
OcpGroupBaseDto
ocpApiGroup
:
ocpApiGroups
)
{
if
(
StringUtils
.
isNotBlank
(
ocpApiGroup
.
getApiCode
())&&
StringUtils
.
isNotBlank
(
ocpApiGroup
.
getApiName
())){
list
.
add
(
ocpApiGroup
);
}
}
if
(
list
.
size
()
!=
0
)
{
return
list
;
}
else
{
}
else
{
if
(
StringUtils
.
isNotEmpty
(
apiCode
))
{
if
(
StringUtils
.
isNotEmpty
(
apiCode
))
{
return
Collections
.
EMPTY_LIST
;
return
Collections
.
EMPTY_LIST
;
...
...
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