From 41a2b7e4f71e476e8f468ef5e029f45388f77671 Mon Sep 17 00:00:00 2001 From: yjieliang Date: Tue, 25 Apr 2023 10:44:32 +0800 Subject: [PATCH] =?UTF-8?q?bug:=20=E7=A0=94=E5=8F=91=E5=95=86=E5=BA=97?= =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E5=8F=B0=E6=9F=A5=E8=AF=A2=E5=B0=9A=E6=97=A0?= =?UTF-8?q?=E7=BB=9F=E8=AE=A1=E6=95=B0=E6=8D=AE=E7=BB=84=E4=BB=B6=E6=97=B6?= =?UTF-8?q?=E5=87=BA=E7=8E=B0=E7=A9=BA=E6=8C=87=E9=92=88=E5=BC=82=E5=B8=B8?= =?UTF-8?q?=20#8743?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/tencent/devops/store/pojo/common/StoreStatistic.kt | 2 +- .../store/service/common/impl/StoreTotalStatisticServiceImpl.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/ci/core/store/api-store/src/main/kotlin/com/tencent/devops/store/pojo/common/StoreStatistic.kt b/src/backend/ci/core/store/api-store/src/main/kotlin/com/tencent/devops/store/pojo/common/StoreStatistic.kt index 163d9e40cdb..a074f6afb4f 100644 --- a/src/backend/ci/core/store/api-store/src/main/kotlin/com/tencent/devops/store/pojo/common/StoreStatistic.kt +++ b/src/backend/ci/core/store/api-store/src/main/kotlin/com/tencent/devops/store/pojo/common/StoreStatistic.kt @@ -45,6 +45,6 @@ data class StoreStatistic( @ApiModelProperty("成功率") val successRate: Double? = null, @ApiModelProperty("hotFlag") - val hotFlag: Boolean? = null + val hotFlag: Boolean? = false ) diff --git a/src/backend/ci/core/store/biz-store/src/main/kotlin/com/tencent/devops/store/service/common/impl/StoreTotalStatisticServiceImpl.kt b/src/backend/ci/core/store/biz-store/src/main/kotlin/com/tencent/devops/store/service/common/impl/StoreTotalStatisticServiceImpl.kt index d8272d9dd04..9c17f31ee0a 100644 --- a/src/backend/ci/core/store/biz-store/src/main/kotlin/com/tencent/devops/store/service/common/impl/StoreTotalStatisticServiceImpl.kt +++ b/src/backend/ci/core/store/biz-store/src/main/kotlin/com/tencent/devops/store/service/common/impl/StoreTotalStatisticServiceImpl.kt @@ -50,7 +50,7 @@ import com.tencent.devops.store.service.common.StoreDailyStatisticService import com.tencent.devops.store.service.common.StoreTotalStatisticService import java.math.BigDecimal import java.time.LocalDateTime -import java.util.* +import java.util.Calendar import java.util.concurrent.TimeUnit import org.jooq.DSLContext import org.jooq.Record4