소스 검색

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

zhaoxian 2 년 전
부모
커밋
f51952f6cd
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

@@ -309,7 +309,7 @@ public class KuaishouLiveAccountReportServiceImpl implements IKuaishouLiveAccoun
         String filedAll = JsonResourceUtil.joinAllFiled(AccountReportConstants.getKuaishouAccountReport());
         System.out.println(filedAll);
         map.put("filedAll", filedAll);
-        if ("hourly".equals(type)) {
+        if (startDate.equals(endDate)) {
             PageUtils.startPage();
             return mapper.getAccountDataReportByHourly(map);
         } else {