Skip to content

Commit

Permalink
Merge pull request #8744 from yjieliang/bug-8743
Browse files Browse the repository at this point in the history
bug: 研发商店工作台查询尚无统计数据组件时出现空指针异常 #8743
  • Loading branch information
bkci-bot authored Apr 25, 2023
2 parents 743fc68 + 41a2b7e commit 53633db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ data class StoreStatistic(
@ApiModelProperty("成功率")
val successRate: Double? = null,
@ApiModelProperty("hotFlag")
val hotFlag: Boolean? = null
val hotFlag: Boolean? = false

)
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ class StoreTotalStatisticServiceImpl @Autowired constructor(
pipelineCnt = record?.value4() ?: 0,
recentExecuteNum = record?.value5() ?: 0,
successRate = successRate,
hotFlag = record?.get(KEY_HOT_FLAG) as Boolean
hotFlag = record?.get(KEY_HOT_FLAG) as? Boolean ?: false
)
}

Expand Down

0 comments on commit 53633db

Please sign in to comment.