同步到银豹修改

This commit is contained in:
苏尹岚
2020-04-30 10:30:19 +08:00
parent daef0cbef3
commit 5defe91d3f
2 changed files with 9 additions and 0 deletions

View File

@@ -525,6 +525,14 @@ func syncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, causeFlag
v.Price = price
}
}
if len(updateList) > 0 {
rList1, _ := changeList2Yb(updateList, nil)
updateList = updateList[:]
updateList = rList1
for _, v := range updateList {
v.YbBarCode = storeDetail.YbStorePrefix + v.YbNameSuffix
}
}
if len(priceList) > 0 {
_, rList2 := changeList2Yb(nil, priceList)
priceList = priceList[:]