Browse Source

返回数据加入时间

yumeng 5 năm trước cách đây
mục cha
commit
e477b8b815

+ 1 - 1
module-report/src/main/java/cn/com/ctop/bytedance/service/impl/BytedanceReportServiceImpl.java

@@ -213,7 +213,7 @@ public class BytedanceReportServiceImpl implements IBytedanceReportService {
                 }
                 String maxHourStr = String.valueOf(maxHour - 1);
                 accountJson = reportMapper.selectSumDayHourlyByHourAndDate(nowDate, maxHourStr);
-                accountJson.put("maxHour", maxHourStr);
+                accountJson.put("maxHour", maxHour);
                 if (!Check.isNull(accountJson)) {
                     JSONObject yesterdayJson = reportMapper.selectSumDayHourlyByHourAndDate(anotherDay, maxHourStr);
                     if (!Check.isNull(yesterdayJson)) {