소스 검색

返回数据加入时间

yumeng 5 년 전
부모
커밋
e477b8b815
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      module-report/src/main/java/cn/com/ctop/bytedance/service/impl/BytedanceReportServiceImpl.java

+ 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)) {