@@ -629,6 +629,7 @@ class BlindBoxRecharge(object):
eny_month=self.time_month(end_month)
time_list=[start_month,eny_month]
time_list=list(set(time_list))
Logger().logger.info(f"开始查询数据!!!!日期:{time_list}")
iflen(time_list)==1:
data_sql=f"SELECT dst_uuid as uuid,amount,FROM_UNIXTIME(create_time) as create_time,reference_type,reference_number,reference_info FROM order_log_{time_list[0]} where {' and '.join(conditions)} ORDER BY create_time desc limit {(int(self.page) - 1) * self.size},{self.size}"
money_sql=f"SELECT sum(amount) as m_sum FROM order_log_{time_list[0]} where {' and '.join(conditions)}"
...
...
@@ -644,6 +645,7 @@ class BlindBoxRecharge(object):