소스 검색

统计报表,同一天日期 数据报表显示时报

zhaoxian 2 년 전
부모
커밋
604ac96c31
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      ruixuan-live/src/main/java/com/ruixuan/report/service/impl/KuaishouLiveAccountReportServiceImpl.java

+ 1 - 1
ruixuan-live/src/main/java/com/ruixuan/report/service/impl/KuaishouLiveAccountReportServiceImpl.java

@@ -329,7 +329,7 @@ public class KuaishouLiveAccountReportServiceImpl implements IKuaishouLiveAccoun
         String filedAll = JsonResourceUtil.joinAllFiled(AccountReportConstants.getKuaishouAccountReport());
         map.put("filedAll", filedAll);
         List<JSONObject> list = null;
-        if ("hourly".equals(type)) {
+        if (startDate.equals(endDate)) {
             list = mapper.getAccountDataReportByHourly(map);
         } else {
             list = mapper.getAccountDataReportByDaily(map);