|
@@ -111,6 +111,10 @@ class OrderInfo(BaseHandler):
|
|
|
game, agent_name,
|
|
|
page, page_size, order_, order_by)
|
|
|
if args.get("download"):
|
|
|
+ data, total, total_data = self.get_order_info(user_id, channel, pitcher, role_name, start, end,
|
|
|
+ user_end, user_start, order_id, member_id, status,
|
|
|
+ game, agent_name,
|
|
|
+ 1, 100000000, order_, order_by)
|
|
|
self.write_download(str(int(time.time())), data)
|
|
|
else:
|
|
|
self.write_json(data=data, total=total, total_data=total_data)
|
|
@@ -125,7 +129,7 @@ class OrderInfo(BaseHandler):
|
|
|
op = ''
|
|
|
op_sup1 = ''
|
|
|
else:
|
|
|
- op_sup1 = f' and i.start_date is not null and a.create_time >= unix_timestamp(i.start_date) '
|
|
|
+ op_sup1 = f' and i.start_date is not null and d.create_time >= unix_timestamp(i.start_date) '
|
|
|
|
|
|
|
|
|
if len(UserAuthUtils.get_auth_channel(user_id)) == 0:
|