适配query参数

This commit is contained in:
zhou-hao 2020-09-29 09:49:55 +08:00
parent 72fcc7eace
commit e322c28fa9
1 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,6 @@
package org.jetlinks.community.device.service.data;
import io.swagger.v3.oas.annotations.Hidden;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import org.hswebframework.web.api.crud.entity.PagerResult;
@ -277,5 +278,10 @@ public interface DeviceDataService {
public AggregationRequest copy() {
return new AggregationRequest(interval, format, from, to, limit, filter.clone());
}
@Hidden
public void setQuery(QueryParamEntity filter) {
setFilter(filter);
}
}
}