Commit a2366874 authored by xupeng's avatar xupeng

查询报错提交

parent 2b6a4501
...@@ -93,7 +93,7 @@ class RechargeStatement(object): ...@@ -93,7 +93,7 @@ class RechargeStatement(object):
if end_time: if end_time:
query.append(f" create_time < {time_str_to_timestamp(end_time + ' 23:59:59')} ") query.append(f" create_time < {time_str_to_timestamp(end_time + ' 23:59:59')} ")
query = ' and '.join(query) query = ' and '.join(query)
now_month = get_date_list(start_time, end_time) now_month = get_month_last_month(month_type)
count, once_res, moeny_data = self.statistics_data(month_type, query, page, size, now_month[0]) count, once_res, moeny_data = self.statistics_data(month_type, query, page, size, now_month[0])
else: else:
query_data = self.query_add_time(start_time, end_time, query) query_data = self.query_add_time(start_time, end_time, query)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment