Commit dd213284 by 宋毅

tj

parent 432aa037
......@@ -570,7 +570,7 @@ class OrderTmProductService extends ServiceBase {
paramWhere.startTime = startTime;
paramWhere.entTime = entTime;
}
sql += " order by o.created_at desc LIMIT " + pageSize + " OFFSET " + from + "";
sql += " order by tm.id desc LIMIT " + pageSize + " OFFSET " + from + "";
var tmpResult = await this.customQuery(sql, paramWhere);
if (!tmpResult || tmpResult.length == 0) {
......
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