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
8bf9a629
Commit
8bf9a629
authored
Mar 23, 2022
by
zhaochengming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
服务--查询
parent
422a3e84
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
src/main/java/com/pms/ocp/service/impl/OcpApiTreeServiceImpl.java
.../java/com/pms/ocp/service/impl/OcpApiTreeServiceImpl.java
+2
-3
No files found.
src/main/java/com/pms/ocp/service/impl/OcpApiTreeServiceImpl.java
View file @
8bf9a629
...
@@ -157,12 +157,11 @@ public class OcpApiTreeServiceImpl extends ServiceImpl<OcpApiTreeMapper, OcpApiG
...
@@ -157,12 +157,11 @@ public class OcpApiTreeServiceImpl extends ServiceImpl<OcpApiTreeMapper, OcpApiG
Page
pageInfo
=
new
Page
(
pageGroupDto
.
getPageNum
(),
pageGroupDto
.
getPageSize
());
Page
pageInfo
=
new
Page
(
pageGroupDto
.
getPageNum
(),
pageGroupDto
.
getPageSize
());
LambdaQueryWrapper
<
OcpApiGroup
>
qw
=
new
LambdaQueryWrapper
<>();
LambdaQueryWrapper
<
OcpApiGroup
>
qw
=
new
LambdaQueryWrapper
<>();
if
(
StringUtils
.
isBlank
(
pageGroupDto
.
getKeyword
()))
{
if
(
StringUtils
.
isBlank
(
pageGroupDto
.
getKeyword
()))
{
if
(
StringUtils
.
isNotBlank
(
pageGroupDto
.
getApiGroupPcode
()))
{
if
(
StringUtils
.
isBlank
(
pageGroupDto
.
getApiGroupCode
())){
qw
.
eq
(
OcpApiGroup:
:
getApiGroupPromotionType
,
pageGroupDto
.
getApiGroupPromotionType
());
qw
.
eq
(
OcpApiGroup:
:
getApiGroupPromotionType
,
pageGroupDto
.
getApiGroupPromotionType
());
mapper
.
selectPage
(
pageInfo
,
qw
);
mapper
.
selectPage
(
pageInfo
,
qw
);
}
else
{
}
else
if
(!(
StringUtils
.
isNotBlank
(
pageGroupDto
.
getApiGroupPcode
())))
{
List
<
OcpApiGroup
>
ocpApiGroups
=
mapper
.
selectLists
(
pageGroupDto
.
getApiGroupPromotionType
(),
pageGroupDto
.
getApiGroupCode
());
List
<
OcpApiGroup
>
ocpApiGroups
=
mapper
.
selectLists
(
pageGroupDto
.
getApiGroupPromotionType
(),
pageGroupDto
.
getApiGroupCode
());
pageInfo
.
setRecords
(
ocpApiGroups
);
pageInfo
.
setRecords
(
ocpApiGroups
);
pageInfo
.
setTotal
(
ocpApiGroups
.
size
());
pageInfo
.
setTotal
(
ocpApiGroups
.
size
());
...
...
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