Procházet zdrojové kódy

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

zhaoxian před 2 roky
rodič
revize
f51952f6cd

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