Commit f54e19de authored by pengxiong's avatar pengxiong

模版列表排序

parent 2e5adf52
......@@ -172,7 +172,7 @@ def get_template_list(args):
if not res:
return False
totalSize = res.count()
data = res.offset(offset).limit(pageSize)
data = res.order_by(FundReportManange.create_time.desc()).offset(offset).limit(pageSize)
data = [r.to_dict() for r in data]
return {
'content': data,
......
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