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
9b405d77
Commit
9b405d77
authored
Mar 31, 2022
by
郭凡凡
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
368d903a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/main/java/com/pms/ocp/service/impl/ApiBasicManagementServiceImpl.java
...m/pms/ocp/service/impl/ApiBasicManagementServiceImpl.java
+2
-2
src/main/resources/mapper/OcpApiGroupMapper.xml
src/main/resources/mapper/OcpApiGroupMapper.xml
+1
-1
No files found.
src/main/java/com/pms/ocp/service/impl/ApiBasicManagementServiceImpl.java
View file @
9b405d77
...
@@ -179,12 +179,12 @@ public class ApiBasicManagementServiceImpl extends ServiceImpl<ApiBasicManagemen
...
@@ -179,12 +179,12 @@ public class ApiBasicManagementServiceImpl extends ServiceImpl<ApiBasicManagemen
@Override
@Override
public
ResponseVO
<
PageInfo
<
OcpApiBaseVo
>>
getBaseByGroupCode
(
ApiBaseDto
apiBaseReq
)
{
public
ResponseVO
<
PageInfo
<
OcpApiBaseVo
>>
getBaseByGroupCode
(
ApiBaseDto
apiBaseReq
)
{
if
(
apiBaseReq
.
get
PageNum
()
==
null
||
apiBaseReq
.
getPageSize
()
==
null
)
{
if
(
apiBaseReq
.
get
CurrentPage
()
==
null
||
apiBaseReq
.
getPageSize
()
==
null
)
{
return
ResponseVO
.
error
(
"分页参数不能为空"
);
return
ResponseVO
.
error
(
"分页参数不能为空"
);
}
}
apiGroupCode
.
add
(
apiBaseReq
.
getApiGroupCode
());
apiGroupCode
.
add
(
apiBaseReq
.
getApiGroupCode
());
setGroupIdValue
(
apiBaseReq
.
getApiGroupCompanyCode
(),
apiBaseReq
.
getApiGroupCode
(),
apiBaseReq
.
getApiPromotion
());
setGroupIdValue
(
apiBaseReq
.
getApiGroupCompanyCode
(),
apiBaseReq
.
getApiGroupCode
(),
apiBaseReq
.
getApiPromotion
());
PageHelper
.
startPage
(
apiBaseReq
.
get
PageNum
(),
apiBaseReq
.
getPageSize
());
PageHelper
.
startPage
(
apiBaseReq
.
get
CurrentPage
(),
apiBaseReq
.
getPageSize
());
apiBaseReq
.
setApiGroupCodeList
(
apiGroupCode
);
apiBaseReq
.
setApiGroupCodeList
(
apiGroupCode
);
List
<
OcpApiBaseVo
>
ocpApiBaseVos
=
ocpApiGroupMapper
.
selectPageLists
(
apiBaseReq
);
List
<
OcpApiBaseVo
>
ocpApiBaseVos
=
ocpApiGroupMapper
.
selectPageLists
(
apiBaseReq
);
apiGroupCode
.
clear
();
apiGroupCode
.
clear
();
...
...
src/main/resources/mapper/OcpApiGroupMapper.xml
View file @
9b405d77
...
@@ -97,7 +97,7 @@
...
@@ -97,7 +97,7 @@
and oab.api_user_name like CONCAT('%', #{apiUserName}::text,'%')
and oab.api_user_name like CONCAT('%', #{apiUserName}::text,'%')
</if>
</if>
<if
test=
"apiPromotion !=null
and apiPromotion!=''
"
>
<if
test=
"apiPromotion !=null "
>
and oab.api_promotion = #{apiPromotion}
and oab.api_promotion = #{apiPromotion}
</if>
</if>
<if
test=
"startCTime !=null and startCTime!= ''"
>
<if
test=
"startCTime !=null and startCTime!= ''"
>
...
...
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