Commit cdedcc86 by 王昆

gsb

parent c0c1ca50
...@@ -28,6 +28,9 @@ class StOrderItemDao extends Dao { ...@@ -28,6 +28,9 @@ class StOrderItemDao extends Dao {
if (params.unInvoice) { if (params.unInvoice) {
sql.push("AND saas_invoice_id = ''"); sql.push("AND saas_invoice_id = ''");
} }
if (params.order_type) {
sql.push("AND order_type = :order_type");
}
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