同步测试
This commit is contained in:
@@ -937,8 +937,8 @@ func syncStoreSkusFromYb(ctx *jxcontext.Context, storeID, vendorID int, vendorSt
|
||||
}
|
||||
// fmt.Println("localSkuMap", utils.Format4Output(localSkuMap, false))
|
||||
for _, v := range remoteSkuList {
|
||||
fmt.Println("v", utils.Format4Output(v, false))
|
||||
fmt.Println("localSkuMap", utils.Format4Output(localSkuMap[v.SkuList[0].VendorSkuID], false))
|
||||
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)
|
||||
|
||||
@@ -127,6 +127,7 @@ func (p *PurchaseHandler) GetStoreSkusFullInfo(ctx *jxcontext.Context, parentTas
|
||||
loopPages(result.PostBackParameter.ParameterType, result.PostBackParameter.ParameterValue, skuNameList, vendorStoreID)
|
||||
}
|
||||
}
|
||||
fmt.Println("skuNameList", utils.Format4Output(skuNameList, false))
|
||||
return skuNameList, err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user