Commit e38e5500 by 王昆

gsb

parent 3dd3f79f
......@@ -96,7 +96,7 @@ class EorderDao extends Dao{
async getMerchantLiveProduct(merchantId) {
let sql = [];
sql.push("SELECT");
sql.push("t1.id, t1.`engine_account_id`, t2.product_id, t2.price");
sql.push("t1.id, t1.`engine_account_id`, t2.product_id, t2.price, t1.`merchant_id`");
sql.push("FROM e_order t1");
sql.push("INNER JOIN `e_order_product` t2 ON t1.`id` = t2.`order_id`");
sql.push("WHERE t1.`merchant_id` = :merchantId");
......
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