升级依赖

This commit is contained in:
zlt2000
2021-01-28 21:03:37 +08:00
parent 8dfb6983c3
commit 17d4c192f3
9 changed files with 53 additions and 39 deletions
@@ -152,7 +152,7 @@ public class AggregationServiceImpl implements IAggregationService {
//时区相差8小时
.timeZone(ZoneId.of(CommonConstant.TIME_ZONE_GMT8))
.minDocCount(0L)
.extendedBounds(new ExtendedBounds(
.extendedBounds(new LongBounds(
curDateTime.minusDays(1).format(DateTimeFormatter.ofPattern(CommonConstant.DATETIME_FORMAT)),
curDateTime.format(DateTimeFormatter.ofPattern(CommonConstant.DATETIME_FORMAT))
))
@@ -178,7 +178,7 @@ public class AggregationServiceImpl implements IAggregationService {
//时区相差8小时
.timeZone(ZoneId.of(CommonConstant.TIME_ZONE_GMT8))
.minDocCount(0L)
.extendedBounds(new ExtendedBounds(
.extendedBounds(new LongBounds(
localDate.minusDays(6).format(DateTimeFormatter.ofPattern(CommonConstant.DATE_FORMAT)),
localDate.format(DateTimeFormatter.ofPattern(CommonConstant.DATE_FORMAT))
))