Commit f3c7ee83 by 孙亚楠

d

parent d5456c53
...@@ -150,6 +150,7 @@ class IInvoiceDao extends Dao { ...@@ -150,6 +150,7 @@ class IInvoiceDao extends Dao {
sql.push("AND t2.`status` in (:statusArray)") sql.push("AND t2.`status` in (:statusArray)")
} }
sql.push("ORDER BY t1.invoice_time DESC"); sql.push("ORDER BY t1.invoice_time DESC");
sql.push("LIMIT :startRow, :pageSize");
return await this.customQuery(sql.join(" "), params); return await this.customQuery(sql.join(" "), params);
} }
} }
......
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