Browse Source

项目查询去除分页

zhaoxian 2 years ago
parent
commit
bddf060d76

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

@@ -99,10 +99,10 @@ public class KuaishouLiveAccountReportServiceImpl implements IKuaishouLiveAccoun
 
 
         String type = map.get("type").toString();
         String type = map.get("type").toString();
         if ("hourly".equals(type)) {
         if ("hourly".equals(type)) {
-            PageUtils.startPage();
+//            PageUtils.startPage();
             return mapper.getProjectCostListByHourly(map);
             return mapper.getProjectCostListByHourly(map);
         } else {
         } else {
-            PageUtils.startPage();
+//            PageUtils.startPage();
             return mapper.getProjectCostListByDaily(map);
             return mapper.getProjectCostListByDaily(map);
         }
         }
     }
     }
@@ -337,25 +337,25 @@ public class KuaishouLiveAccountReportServiceImpl implements IKuaishouLiveAccoun
         BigDecimal ten = new BigDecimal("10");
         BigDecimal ten = new BigDecimal("10");
         // 花费、成本、GMV以及相关字段 除以 10
         // 花费、成本、GMV以及相关字段 除以 10
         list.forEach(data -> {
         list.forEach(data -> {
-            data.put("costTotal",data.getBigDecimal("costTotal").divide(ten));
-            data.put("adShow1kCost",data.getBigDecimal("adShow1kCost").divide(ten));
-            data.put("actionbarClickCost",data.getBigDecimal("actionbarClickCost").divide(ten));
-            data.put("conversionCostEsp",data.getBigDecimal("conversionCostEsp").divide(ten));
-            data.put("gmv",data.getBigDecimal("gmv").divide(ten));
-            data.put("t0Gmv",data.getBigDecimal("t0Gmv").divide(ten));
-            data.put("t1Gmv",data.getBigDecimal("t1Gmv").divide(ten));
-            data.put("t7Gmv",data.getBigDecimal("t7Gmv").divide(ten));
-            data.put("t15Gmv",data.getBigDecimal("t15Gmv").divide(ten));
-            data.put("t30Gmv",data.getBigDecimal("t30Gmv").divide(ten));
-            data.put("t0OrderCntCost",data.getBigDecimal("t0OrderCntCost").divide(ten));
-            data.put("reservationCost",data.getBigDecimal("reservationCost").divide(ten));
-            data.put("liveAudienceCost",data.getBigDecimal("liveAudienceCost").divide(ten));
-            data.put("fansT0Gmv",data.getBigDecimal("fansT0Gmv").divide(ten));
-            data.put("fansT1Gmv",data.getBigDecimal("fansT1Gmv").divide(ten));
-            data.put("fansT7Gmv",data.getBigDecimal("fansT7Gmv").divide(ten));
-            data.put("fansT15Gmv",data.getBigDecimal("fansT15Gmv").divide(ten));
-            data.put("fansT30Gmv",data.getBigDecimal("fansT30Gmv").divide(ten));
-            data.put("fansT1Gmv",data.getBigDecimal("fansT1Gmv").divide(ten));
+            data.put("costTotal", data.getBigDecimal("costTotal").divide(ten));
+            data.put("adShow1kCost", data.getBigDecimal("adShow1kCost").divide(ten));
+            data.put("actionbarClickCost", data.getBigDecimal("actionbarClickCost").divide(ten));
+            data.put("conversionCostEsp", data.getBigDecimal("conversionCostEsp").divide(ten));
+            data.put("gmv", data.getBigDecimal("gmv").divide(ten));
+            data.put("t0Gmv", data.getBigDecimal("t0Gmv").divide(ten));
+            data.put("t1Gmv", data.getBigDecimal("t1Gmv").divide(ten));
+            data.put("t7Gmv", data.getBigDecimal("t7Gmv").divide(ten));
+            data.put("t15Gmv", data.getBigDecimal("t15Gmv").divide(ten));
+            data.put("t30Gmv", data.getBigDecimal("t30Gmv").divide(ten));
+            data.put("t0OrderCntCost", data.getBigDecimal("t0OrderCntCost").divide(ten));
+            data.put("reservationCost", data.getBigDecimal("reservationCost").divide(ten));
+            data.put("liveAudienceCost", data.getBigDecimal("liveAudienceCost").divide(ten));
+            data.put("fansT0Gmv", data.getBigDecimal("fansT0Gmv").divide(ten));
+            data.put("fansT1Gmv", data.getBigDecimal("fansT1Gmv").divide(ten));
+            data.put("fansT7Gmv", data.getBigDecimal("fansT7Gmv").divide(ten));
+            data.put("fansT15Gmv", data.getBigDecimal("fansT15Gmv").divide(ten));
+            data.put("fansT30Gmv", data.getBigDecimal("fansT30Gmv").divide(ten));
+            data.put("fansT1Gmv", data.getBigDecimal("fansT1Gmv").divide(ten));
         });
         });
         return list;
         return list;
     }
     }