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
9f5574b8
Commit
9f5574b8
authored
Mar 29, 2022
by
郭凡凡
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新
parent
d8ef5068
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
7 deletions
+15
-7
src/main/java/com/pms/ocp/controller/ApiBasicManagementController.java
.../com/pms/ocp/controller/ApiBasicManagementController.java
+2
-7
src/main/java/com/pms/ocp/model/dto/ApiBaseDto.java
src/main/java/com/pms/ocp/model/dto/ApiBaseDto.java
+10
-0
src/main/resources/mapper/OcpApiGroupMapper.xml
src/main/resources/mapper/OcpApiGroupMapper.xml
+3
-0
No files found.
src/main/java/com/pms/ocp/controller/ApiBasicManagementController.java
View file @
9f5574b8
...
@@ -209,13 +209,8 @@ public class ApiBasicManagementController {
...
@@ -209,13 +209,8 @@ public class ApiBasicManagementController {
@ApiOperation
(
"省侧-应用接入申请-的模糊查询"
)
@ApiOperation
(
"省侧-应用接入申请-的模糊查询"
)
@GetMapping
(
"/selectByCondition"
)
@GetMapping
(
"/selectByCondition"
)
public
ResponseVO
<
PageInfo
<
OcpApiBase
>>
selectByCondition
(
@RequestParam
(
required
=
false
)
String
apiCode
,
public
ResponseVO
<
PageInfo
<
OcpApiBaseVo
>>
selectByCondition
(
ApiBaseDto
ApiBaseReq
)
{
@RequestParam
(
required
=
false
)
String
apiName
,
return
apiBasicManagementService
.
getBaseByGroupCode
(
ApiBaseReq
);
@RequestParam
(
required
=
false
)
String
apiCenterCode
,
@RequestParam
(
required
=
false
)
Integer
currentPage
,
@RequestParam
(
required
=
false
)
Integer
pageSize
,
@RequestParam
(
required
=
false
)
String
apiGroupCode
)
{
return
apiBasicManagementService
.
selectByCondition
(
apiCode
,
apiName
,
apiCenterCode
,
currentPage
,
pageSize
,
apiGroupCode
);
}
}
...
...
src/main/java/com/pms/ocp/model/dto/ApiBaseDto.java
View file @
9f5574b8
...
@@ -21,6 +21,9 @@ public class ApiBaseDto implements Serializable {
...
@@ -21,6 +21,9 @@ public class ApiBaseDto implements Serializable {
@ApiModelProperty
(
"服务编码"
)
@ApiModelProperty
(
"服务编码"
)
private
String
apiCode
;
private
String
apiCode
;
@ApiModelProperty
(
"服务名称"
)
private
String
apiName
;
@ApiModelProperty
(
"服务分类编码"
)
@ApiModelProperty
(
"服务分类编码"
)
private
String
apiGroupCode
;
private
String
apiGroupCode
;
...
@@ -58,6 +61,13 @@ public class ApiBaseDto implements Serializable {
...
@@ -58,6 +61,13 @@ public class ApiBaseDto implements Serializable {
@ApiModelProperty
(
"每页条数"
)
@ApiModelProperty
(
"每页条数"
)
private
Integer
pageSize
;
private
Integer
pageSize
;
public
String
getApiName
()
{
return
apiName
;
}
public
void
setApiName
(
String
apiName
)
{
this
.
apiName
=
apiName
;
}
private
List
<
String
>
apiGroupCodeList
;
private
List
<
String
>
apiGroupCodeList
;
...
...
src/main/resources/mapper/OcpApiGroupMapper.xml
View file @
9f5574b8
...
@@ -86,6 +86,9 @@
...
@@ -86,6 +86,9 @@
<if
test=
"apiUnit !=null and apiUnit!=''"
>
<if
test=
"apiUnit !=null and apiUnit!=''"
>
and oab.api_unit = #{apiUnit}
and oab.api_unit = #{apiUnit}
</if>
</if>
<if
test=
"apiName !=null and apiName!=''"
>
and oab.api_name = #{apiName}
</if>
<if
test=
"apiPromotion !=null and apiPromotion!=''"
>
<if
test=
"apiPromotion !=null and apiPromotion!=''"
>
and oab.api_promotion = #{apiPromotion}
and oab.api_promotion = #{apiPromotion}
</if>
</if>
...
...
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