|
@@ -471,14 +471,14 @@ public class ByteDanceAdvertiserDataServiceImpl implements IByteDanceAdvertiserD
|
|
|
// 时报
|
|
|
BytedanceAgentReportHourly hourlyReport =
|
|
|
JSONObject.parseObject(data.toJSONString(), BytedanceAgentReportHourly.class);
|
|
|
- hourlyReport.setStatDatetime(hourlyReport.getRegisterTime().substring(0,10).replace("-", ""));
|
|
|
- hourlyReport.setHour(Integer.parseInt(hourlyReport.getRegisterTime().substring(11,13).trim()));
|
|
|
+ hourlyReport.setStatDatetime(nowDate);
|
|
|
+ hourlyReport.setHour(Integer.parseInt(hour));
|
|
|
hourlyList.add(hourlyReport);
|
|
|
} else {
|
|
|
// 日报
|
|
|
BytedanceAgentReportDaily dailyReport =
|
|
|
JSONObject.parseObject(data.toJSONString(), BytedanceAgentReportDaily.class);
|
|
|
- dailyReport.setStatDatetime(dailyReport.getRegisterTime().substring(0,10).replace("-", ""));
|
|
|
+ dailyReport.setStatDatetime(((String) conditions.get("start_date")).replace("-", ""));
|
|
|
dailyList.add(dailyReport);
|
|
|
}
|
|
|
}
|