Commit 0fc88bdf by 宋毅

tj

parent 2a8ed1d8
...@@ -11,7 +11,6 @@ class ProductDao extends Dao { ...@@ -11,7 +11,6 @@ class ProductDao extends Dao {
channel_item_code: channelItemCode channel_item_code: channelItemCode
}, },
attributes: [ attributes: [
"id",
"uapp_id", "uapp_id",
"is_enabled", "is_enabled",
"path_code", "path_code",
......
...@@ -33,7 +33,7 @@ class ProductService extends ServiceBase { ...@@ -33,7 +33,7 @@ class ProductService extends ServiceBase {
} }
var pList = await this.productpriceDao.model.findAll({ var pList = await this.productpriceDao.model.findAll({
where: { product_id: item.id }, where: { product_id: item.id },
attributes: ["pay_code" "price", "supply_price", "service_charge", "public_expense", "is_default", "price_type", "price_type_name", attributes: ["pay_code", "price", "supply_price", "service_charge", "public_expense", "is_default", "price_type", "price_type_name",
"sort", "price_desc", "min_qty", "max_qty" "sort", "price_desc", "min_qty", "max_qty"
], ],
raw: true raw: true
......
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