Commit 1f669631 by 蒋勇

d

parent 54b0b8f2
...@@ -57,11 +57,11 @@ function findTitlePath(items, findstr, results) { ...@@ -57,11 +57,11 @@ function findTitlePath(items, findstr, results) {
let strategy=await ps.db.models.pricestrategy.findOne({where:{optionunion:tg}}) let strategy=await ps.db.models.pricestrategy.findOne({where:{optionunion:tg}})
if(!strategy){ if(!strategy){
tags.push(tg) tags.push(tg)
}else{ strategy=await ps.db.models.pricestrategy.findOne({where:{optionunion:"通用"}})
}
straid.push(strategy.id) straid.push(strategy.id)
skucodemap[strategy.id]=stinfo.price_code skucodemap[strategy.id]=stinfo.price_code
} }
}
// //
// console.log(stsinfos.length,"..................") // console.log(stsinfos.length,"..................")
product.sts=straid product.sts=straid
......
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