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
123651c9
Commit
123651c9
authored
Mar 12, 2022
by
diaoruifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
服务列表树功能优化
parent
0820424b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
7 deletions
+2
-7
src/main/java/com/pms/ocp/controller/ApiBasicManagementController.java
.../com/pms/ocp/controller/ApiBasicManagementController.java
+1
-6
src/main/resources/mapper/OcpApiGroupMapper.xml
src/main/resources/mapper/OcpApiGroupMapper.xml
+1
-1
No files found.
src/main/java/com/pms/ocp/controller/ApiBasicManagementController.java
View file @
123651c9
...
...
@@ -206,10 +206,5 @@ public class ApiBasicManagementController {
List
<
OcpApiGroup
>
apiTreeGroupDtos
=
apiBasicManagementService
.
apiBaseTreeOther
(
apiGroupCompanyCode
,
apiGroupPcode
,
apiGroupPromotionType
);
return
ResponseVO
.
ok
(
apiTreeGroupDtos
);
}
@ApiOperation
(
"服务列表树最低级"
)
@GetMapping
(
"/apiBaseTreeApiList"
)
public
ResponseVO
<
List
<
OcpApiBase
>>
apiBaseTreeApiList
(
String
apiGroupCompanyCode
,
String
apiGroupPcode
)
{
List
<
OcpApiBase
>
apiTreeGroupDtos
=
apiBasicManagementService
.
apiBaseTreeApiList
(
apiGroupCompanyCode
,
apiGroupPcode
);
return
ResponseVO
.
ok
(
apiTreeGroupDtos
);
}
}
src/main/resources/mapper/OcpApiGroupMapper.xml
View file @
123651c9
...
...
@@ -33,7 +33,7 @@
</select>
<select
id=
"apiBaseTreeOther"
resultType=
"com.pms.ocp.model.entity.OcpApiGroup"
>
select api_group_code,api_group_name,api_group_pcode,api_group_level from ocp_api_group where
where
is_delete = 0
select api_group_code,api_group_name,api_group_pcode,api_group_level from ocp_api_group where is_delete = 0
<if
test=
"apiGroupPcode == null"
>
and api_group_pcode is null
...
...
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