Skip to content

Commit

Permalink
fix: 编译加速资源上报统计数据异常 #269
Browse files Browse the repository at this point in the history
  • Loading branch information
eazence committed Jul 17, 2024
1 parent e369da3 commit f9da7b4
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ class TbsDaySummaryDao @Autowired constructor(

val criteria = Criteria.where("day").gte(startDate).lte(endDate)
.and("user").`is`(null)
.and("total_time_with_cpu").gt(0)
.and("engine_code").ne("disttask-ue4")
.apply { if (filterPlanIdNin.isNotEmpty()) and("plan_id").nin(filterPlanIdNin) }
.apply { if (filterProjectIdNin.isNotEmpty()) and("project_id").nin(filterProjectIdNin) }
Expand Down Expand Up @@ -112,6 +113,7 @@ class TbsDaySummaryDao @Autowired constructor(
logger.info("findByDayForUE startDate: $startDate, endDate: $endDate, filterPlanIdNin: $filterPlanIdNin")
val criteria = Criteria.where("day").gte(startDate).lte(endDate)
.and("user").ne(null)
.and("total_time_with_cpu").gt(0)
.and("engine_code").`is`("disttask-ue4")
.apply {
if (filterPlanIdNin.isNotEmpty()) and("plan_id").nin(filterPlanIdNin)
Expand Down

0 comments on commit f9da7b4

Please sign in to comment.