浏览代码

盯盘2.0功能开发 修改多余空格

zhaoxian 4 年之前
父节点
当前提交
a95e4bac44

+ 2 - 2
module-kuaishou/src/main/java/cn/com/ctop/kuaishou/modules/report/mapper/xml/EtlKuaishouReportAccountDailyMapper.xml

@@ -285,13 +285,13 @@
                      AND media_id =2
                      GROUP BY user_id) t) as 'totle'
                  FROM (
-                     SELECT sum (charge) as 'charge', t2.user_id 'userId' FROM ctop_etl_kuaishou_report_account_daily t1
+                     SELECT sum(charge) as 'charge', t2.user_id 'userId' FROM ctop_etl_kuaishou_report_account_daily t1
                      LEFT JOIN ctop_user_allocation t2 ON t1.account_id = t2.account_id
                      WHERE t1.stat_date >= #{mStartDate}
                      AND t1.stat_date <= #{today}
                      AND media_id =2
                      GROUP BY user_id
-                     ORDER BY SUM (charge) DESC
+                     ORDER BY SUM(charge) DESC
                      ) t, (select @rownum := 0) a
              ) tt
         WHERE tt.userId = #{userId}