@@ -0,0 +1,2 @@
+
+super_auth = [1, 158]
@@ -4,6 +4,7 @@ from model.log import logger
from model.CommonUtils import *
from model import UserAuthUtils
du = DateUtils()
+from config.common_config import *
log = logger()
@@ -576,8 +577,7 @@ left join src_book_info c on a.dt=c.dt and a.book=c.book and a.type=c.type and
def get_channel_summary(user_id,channel,pitcher,page,page_size,order_by,order,state,location,start,end):
db=MysqlUtils()
- op = f" and a.channel in {str(UserAuthUtils.get_auth_channel(user_id))}"
- print(op)
+ op = f" and a.channel in {str(UserAuthUtils.get_auth_channel(user_id))}" if user_id not in super_auth else ''
op1=f" and a.channel='{channel}'" if channel else ''