Commit 60bed0ab authored by diaoruifeng's avatar diaoruifeng

服务列表功能增加统推查询

parent 2ba572c3
......@@ -26,6 +26,8 @@ public class ApiBaseDto implements Serializable {
@ApiModelProperty("服务分类公司(建设单位)")
private String apiGroupCompanyCode;
@ApiModelProperty("推广类型0:统建;1:自建")
private String apiPromotion;
@ApiModelProperty("注册时段-开始")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
......@@ -52,6 +54,14 @@ public class ApiBaseDto implements Serializable {
@ApiModelProperty("每页条数")
private Integer pageSize;
public String getApiPromotion() {
return apiPromotion;
}
public void setApiPromotion(String apiPromotion) {
this.apiPromotion = apiPromotion;
}
public String getApiCode() {
return apiCode;
}
......
......@@ -205,6 +205,9 @@ public class ApiBasicManagementServiceImpl extends ServiceImpl<ApiBasicManagemen
if (!StringUtils.isEmpty(apiBaseReq.getApiGroupCompanyCode())) {
qw.eq("api_unit", apiBaseReq.getApiGroupCompanyCode());
}
if (!StringUtils.isEmpty(apiBaseReq.getApiPromotion())) {
qw.eq("api_promotion", apiBaseReq.getApiPromotion());
}
if (!StringUtils.isEmpty(apiBaseReq.getStartCTime())) {
qw.ge("api_ctime", apiBaseReq.getApiGroupCompanyCode());
}
......
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