|
|
@@ -351,7 +351,7 @@
|
|
|
|
|
|
<select id="getKuaishouOperateInfoHourly" resultType="com.alibaba.fastjson.JSONObject">
|
|
|
SELECT COUNT(DISTINCT t.account_id) 'accountNum',
|
|
|
- COUNT(DISTINCT t.project_id) 'projectNum',
|
|
|
+ COUNT(DISTINCT t.project_id) 'projectNums',
|
|
|
SUM(t.charge) 'totalCost',
|
|
|
t.user_id,
|
|
|
t2.realname as 'userName' ,
|
|
|
@@ -412,7 +412,7 @@
|
|
|
|
|
|
<select id="getKuaishouOperateInfo" resultType="com.alibaba.fastjson.JSONObject">
|
|
|
SELECT COUNT(DISTINCT t.account_id) 'accountNum',
|
|
|
- COUNT(DISTINCT t.project_id) 'projectNum',
|
|
|
+ COUNT(DISTINCT t.project_id) 'projectNums',
|
|
|
SUM(t.charge) 'totalCost',
|
|
|
t.user_id,
|
|
|
t2.realname as 'userName' ,
|
|
|
@@ -474,7 +474,7 @@
|
|
|
SELECT
|
|
|
IFNULL( count( t1.user_id ), 0 ) AS 'operationNum',
|
|
|
IFNULL( SUM( t1.accountNum ), 0 ) AS 'accountNum',
|
|
|
- IFNULL( SUM( t1.projectNum ), 0 ) AS 'projectNum',
|
|
|
+ IFNULL( SUM( t1.projectNum ), 0 ) AS 'projectNums',
|
|
|
IFNULL( SUM( t1.totalCost ), 0 ) AS 'totalCost',
|
|
|
t3.lastCost,
|
|
|
CONCAT( CAST( IFNULL( ROUND(( SUM( t1.totalCost ) - t3.lastCost )/ t3.lastCost * 100, 2 ), 0 ) AS CHAR ), '%' )
|
|
|
@@ -545,7 +545,7 @@
|
|
|
SELECT
|
|
|
IFNULL( count( t1.user_id ), 0 ) AS 'operationNum',
|
|
|
IFNULL( SUM( t1.accountNum ), 0 ) AS 'accountNum',
|
|
|
- IFNULL( SUM( t1.projectNum ), 0 ) AS 'projectNum',
|
|
|
+ IFNULL( SUM( t1.projectNum ), 0 ) AS 'projectNums',
|
|
|
IFNULL( SUM( t1.totalCost ), 0 ) AS 'totalCost',
|
|
|
t3.lastCost,
|
|
|
CONCAT( CAST( IFNULL( ROUND(( SUM( t1.totalCost ) - t3.lastCost )/ t3.lastCost * 100, 2 ), 0 ) AS CHAR ), '%' )
|