Commit 1ae56b9d by 孙亚楠

dd

parent 1b542acb
......@@ -463,7 +463,12 @@ class OorderService extends ServiceBase {
let productMap = await this.oproductDao.mapByIds(productIdList);
for (let item of orderList) {
item.oproduct = productMap[item.product_id] || {}
let _product = productMap[item.product_id] || {};
let oproduct = {};
for (let key in _product) {
oproduct[key] = _product[key];
}
item.oproduct = oproduct;
}
let productAllMap = await this.oproductDao.findMapAll();
......
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