同步测试

This commit is contained in:
苏尹岚
2020-04-29 11:30:40 +08:00
parent b2f71aae91
commit f22f16dc9f
2 changed files with 3 additions and 4 deletions

View File

@@ -935,10 +935,7 @@ func syncStoreSkusFromYb(ctx *jxcontext.Context, storeID, vendorID int, vendorSt
if err != nil {
return "", err
}
// fmt.Println("localSkuMap", utils.Format4Output(localSkuMap, false))
for _, v := range remoteSkuList {
fmt.Println("testv", utils.Format4Output(v, false))
fmt.Println("localSkuMap22", utils.Format4Output(localSkuMap[v.SkuList[0].VendorSkuID], false))
if localSkuMap[v.SkuList[0].VendorSkuID] == nil {
if len(v.YbBarCode) > 7 {
addList = append(addList, v)