Ver código fonte

添加agent_name 字段

cola 2 anos atrás
pai
commit
cc9659c626
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      data_manage/pitcher_panel.py

+ 1 - 1
data_manage/pitcher_panel.py

@@ -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,