银豹同步到京西,初版
This commit is contained in:
@@ -2337,6 +2337,11 @@ func AddSkuNameByUpc(ctx *jxcontext.Context, upc string, store *dao.StoreDetail,
|
||||
skuNameExt.Img = model.NOSkuNameImg
|
||||
}
|
||||
}
|
||||
if skuNameExt.Name == "" {
|
||||
skuNameExt.Name = v.SkuList[0].SkuName
|
||||
} else {
|
||||
skuNameExt.Name = v.Name
|
||||
}
|
||||
skuNameExt.Name = v.Name
|
||||
skuNameExt.Unit = getNetUpcInfo.Unit
|
||||
skuNameExt.Skus[0].SpecQuality = getNetUpcInfo.SpecQuality
|
||||
|
||||
@@ -951,7 +951,7 @@ func syncStoreSkusFromYb(ctx *jxcontext.Context, storeID, vendorID int, vendorSt
|
||||
}
|
||||
}
|
||||
// fmt.Println("addList", utils.Format4Output(addList, false))
|
||||
fmt.Println("updateList", utils.Format4Output(updateList, false))
|
||||
// fmt.Println("updateList", utils.Format4Output(updateList, false))
|
||||
// fmt.Println("deleteList", utils.Format4Output(deleteList, false))
|
||||
taskSeqFunc := func(task *tasksch.SeqTask, step int, params ...interface{}) (result interface{}, err error) {
|
||||
store, _ := dao.GetStoreDetail(db, storeID, vendorID)
|
||||
|
||||
Reference in New Issue
Block a user