Преглед на файлове

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

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 {