升级依赖
This commit is contained in:
@@ -60,6 +60,11 @@
|
||||
<groupId>io.micrometer</groupId>
|
||||
<artifactId>micrometer-registry-prometheus</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.hibernate</groupId>
|
||||
<artifactId>hibernate-validator</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
|
||||
+2
-2
@@ -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))
|
||||
))
|
||||
|
||||
@@ -76,6 +76,11 @@
|
||||
<groupId>org.springframework.social</groupId>
|
||||
<artifactId>spring-social-security</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.hibernate</groupId>
|
||||
<artifactId>hibernate-validator</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
|
||||
Reference in New Issue
Block a user