Commit 471e31d4 by 宋毅

tj

parent e36f2b81
......@@ -442,7 +442,7 @@ class OrderTmProductService extends ServiceBase {
paramWhere.startTime = startTime;
paramWhere.entTime = entTime;
}
sql += " LIMIT " + pageSize + " OFFSET " + from +" order by o.created_at desc";
sql += " order by o.created_at 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