Commit 2ab6d1cf by malihua

创建时间先排序

parent 9c9ad68a
......@@ -151,7 +151,7 @@ class ProductIncomeExpenseIframe(http.Controller):
SELECT id, business_date, abstract, customer, income, expenditure, balance, machinery_type, create_uid, create_date
FROM roke_product_income_expense
WHERE {where_sql}
ORDER BY business_date DESC, create_date DESC
ORDER BY create_date DESC,business_date DESC
LIMIT %s OFFSET %s
"""
params.extend([limit, offset])
......
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