Commit 9f5574b8 authored by 郭凡凡's avatar 郭凡凡

更新

parent d8ef5068
...@@ -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);
} }
......
...@@ -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;
......
...@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment