Commit 1f669631 by 蒋勇

d

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