|
|
@@ -1112,9 +1112,9 @@ public class AdPlanConfServiceImpl extends ServiceImpl<AdPlanConfMapper, AdPlanC
|
|
|
.filter(plan -> plan.getAdgroupId() != null)
|
|
|
.collect(Collectors.toMap(AdPlan::getAdgroupId, plan -> plan, (left, right) -> left));
|
|
|
|
|
|
- // 3天前连续5天消费为0
|
|
|
- LocalDate endDate = LocalDate.now().minusDays(3);
|
|
|
- LocalDate startDate = endDate.minusDays(5);
|
|
|
+ // 连续5天消费为0
|
|
|
+ LocalDate startDate = conf.getCreateTime().toLocalDate();
|
|
|
+ LocalDate endDate = startDate.plusDays(5);
|
|
|
|
|
|
List<ReqDailyAdgroupReport> reports = reqDailyAdgroupReportService.lambdaQuery()
|
|
|
.in(ReqDailyAdgroupReport::getAdgroupId, planMap.keySet())
|