Commit 6245dc0a by Aeolus

update

parent 7099f0e2
......@@ -563,13 +563,18 @@ def run_draw_list():
draw_record.draw_time,
draw_record.created_at,
draw_record.updated_at,
draw_record.id
draw_record.id,
draw_record.user_id,
draw_record.user_no,
admin_account.user_name
"""
count_sql = " select count(draw_record.id) as total_count "
from_sql = """
FROM
draw_record
left join admin_account on admin_account.id = draw_record.user_id
"""
where_sql = " WHERE draw_record.status <> '-1' "
......@@ -604,6 +609,9 @@ def run_draw_list():
"bill_date": info.bill_date,
"real_total": info.real_total, "status": info.status,
"id": info.id,
"user_id": info.user_id,
"user_no": info.user_no,
"user_name": info.user_name,
"create_time": info.created_at.strftime("%Y-%m-%d %H:%M:%S"),
"draw_time": info.draw_time.strftime("%Y-%m-%d %H:%M:%S") if info.draw_time else "",
}
......
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