|
@@ -125,9 +125,9 @@ def get_channel_overview(user_id, channel, pitcher, stage, book,agent_id, start,
|
|
return None, None, None
|
|
return None, None, None
|
|
|
|
|
|
elif len(UserAuthUtils.get_auth_channel(user_id)) == 1:
|
|
elif len(UserAuthUtils.get_auth_channel(user_id)) == 1:
|
|
- op = f" and channel = '{UserAuthUtils.get_auth_channel(user_id)[0]}'"
|
|
+ op = f" and a.channel = '{UserAuthUtils.get_auth_channel(user_id)[0]}'"
|
|
else:
|
|
else:
|
|
- op = f" and channel in {str(UserAuthUtils.get_auth_channel(user_id))}"
|
|
+ op = f" and a.channel in {str(UserAuthUtils.get_auth_channel(user_id))}"
|
|
op1 = f" and pitcher ='{pitcher}' " if pitcher else ''
|
|
op1 = f" and pitcher ='{pitcher}' " if pitcher else ''
|
|
op2 = f" and a.channel='{channel}'" if channel else ''
|
|
op2 = f" and a.channel='{channel}'" if channel else ''
|
|
op3 = f" and a.dt>='{start}' " if start else ''
|
|
op3 = f" and a.dt>='{start}' " if start else ''
|