Commit f54e19de authored by pengxiong's avatar pengxiong

模版列表排序

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