Commit af672e67 by 兰国旗

laolan

parent d5acade9
...@@ -243,7 +243,7 @@ class ProductService extends ServiceBase { ...@@ -243,7 +243,7 @@ class ProductService extends ServiceBase {
async getRegProducePrice(actionBody){ async getRegProducePrice(actionBody){
console.log('actionBody---',actionBody) console.log('actionBody---',actionBody)
var itemCode = { var itemCode = {
item_code:actionBody.channelItemCode item_code:actionBody.channelItemCode || actionBody.typeCode
} }
var pathSql = "SELECT path_code,channel_item_code,service_business_code FROM p_product WHERE item_code = :item_code"; var pathSql = "SELECT path_code,channel_item_code,service_business_code FROM p_product WHERE item_code = :item_code";
var pathCodeData = await this.customQuery(pathSql,itemCode); var pathCodeData = await this.customQuery(pathSql,itemCode);
......
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