浏览代码

修改bug

cola 2 年之前
父节点
当前提交
97b5c0afd8
共有 1 个文件被更改,包括 1 次插入1 次删除
  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,agent_id, start,
         else:
             op = f" and channel in {str(UserAuthUtils.get_auth_channel(user_id))}"
     op1 = f" and pitcher ='{pitcher}' " if pitcher else ''
-    op2 = f" and channel='{channel}'" if channel else ''
+    op2 = f" and a.channel='{channel}'" if channel else ''
     op3 = f" and a.dt>='{start}' " if start else ''
     op4 = f" and a.dt<='{end}' " if end else ''
     op5 = f" order by {order_by} {order}" if order_by and order else ''