|
@@ -362,7 +362,7 @@ def get_channel_active(channel,pitcher,start,end,page,page_size,order_by,order):
|
|
|
|
|
|
from (
|
|
from (
|
|
|
|
|
|
-select dt,book,cost,pitcher,channel,
|
|
|
|
|
|
+select dt,book,cost,pitcher,channel,stage,
|
|
reg_order_amount reg_amount,
|
|
reg_order_amount reg_amount,
|
|
if(cost=0,0,reg_order_amount/cost) roi,
|
|
if(cost=0,0,reg_order_amount/cost) roi,
|
|
follow_user new_follow_user,
|
|
follow_user new_follow_user,
|
|
@@ -525,7 +525,7 @@ concat(toString(a120),',',toString(r120/cost),',', toString(a120/cost),',',toStr
|
|
concat(toString(a150),',',toString(r150/cost),',', toString(a150/cost),',',toString(b150))
|
|
concat(toString(a150),',',toString(r150/cost),',', toString(a150/cost),',',toString(b150))
|
|
from
|
|
from
|
|
(
|
|
(
|
|
-select pitcher,channel,dt,book,cost,reg_order_amount,
|
|
|
|
|
|
+select pitcher,channel,dt,book,cost,reg_order_amount,stage,
|
|
if(cost=0,0,reg_order_amount/cost) roi,
|
|
if(cost=0,0,reg_order_amount/cost) roi,
|
|
follow_user new_follow_user,
|
|
follow_user new_follow_user,
|
|
if(follow_user=0,0,cost/follow_user) new_follow_per_cost,
|
|
if(follow_user=0,0,cost/follow_user) new_follow_per_cost,
|