|
@@ -129,7 +129,7 @@ def get_channel_overview(user_id, channel, pitcher, stage, book,agentId, start,
|
|
|
op7 = f" and book='{book}'" if book else ''
|
|
|
op8 = f" and agent_id = '{agentId}'" if agentId else ''
|
|
|
|
|
|
- sql = f"""select channel,dt date,reg_num,
|
|
|
+ sql = f"""select channel,dt date,agent_name,reg_num,
|
|
|
round(if(reg_num=0,0,cost/reg_num),2) reg_per_cost,
|
|
|
create_user_num,
|
|
|
round(if(create_user_num=0,0,cost/create_user_num),2) create_user_per_cost,
|