Browse Source

达人ID lei xing

zhaoxian 2 years ago
parent
commit
089fc49a2a

+ 4 - 4
ruixuan-live/src/main/resources/mapper/report/KuaishouLiveAccountReportMapper.xml

@@ -531,8 +531,8 @@
         (
         (
         SELECT
         SELECT
         IFNULL(SUM(cost_total),0)AS'costTotal',
         IFNULL(SUM(cost_total),0)AS'costTotal',
-        IFNULL(SUM(gmv),0)AS't0Gmv',
-        IFNULL(SUM(gmv)/SUM(cost_total),0)AS't0Roi',
+        IFNULL(SUM(t0_gmv),0)AS't0Gmv',
+        IFNULL(SUM(t0_gmv)/SUM(cost_total),0)AS't0Roi',
         IFNULL(SUM(cost_total)/SUM(standard_live_played_started),0)AS'viewCost',
         IFNULL(SUM(cost_total)/SUM(standard_live_played_started),0)AS'viewCost',
         IFNULL(SUM(merchant_reco_fans),0)AS'upFans',
         IFNULL(SUM(merchant_reco_fans),0)AS'upFans',
         IFNULL(SUM(cost_total)/SUM(t0_order_cnt),0)AS'orderCost'
         IFNULL(SUM(cost_total)/SUM(t0_order_cnt),0)AS'orderCost'
@@ -552,8 +552,8 @@
         (
         (
         SELECT
         SELECT
         IFNULL(SUM(cost_total),0)AS'costTotal',
         IFNULL(SUM(cost_total),0)AS'costTotal',
-        IFNULL(SUM(gmv),0)AS't0Gmv',
-        IFNULL(SUM(gmv)/SUM(cost_total),0)AS't0Roi',
+        IFNULL(SUM(t0_gmv),0)AS't0Gmv',
+        IFNULL(SUM(t0_gmv)/SUM(cost_total),0)AS't0Roi',
         IFNULL(SUM(cost_total)/SUM(standard_live_played_started),0)AS'viewCost',
         IFNULL(SUM(cost_total)/SUM(standard_live_played_started),0)AS'viewCost',
         IFNULL(SUM(merchant_reco_fans),0)AS'upFans',
         IFNULL(SUM(merchant_reco_fans),0)AS'upFans',
         IFNULL(SUM(cost_total)/SUM(t0_order_cnt),0)AS'orderCost'
         IFNULL(SUM(cost_total)/SUM(t0_order_cnt),0)AS'orderCost'