银豹创建商品测试

This commit is contained in:
苏尹岚
2020-03-20 16:46:38 +08:00
parent 3f79bd2509
commit ea8610f604

View File

@@ -605,6 +605,7 @@ func (v *VendorSync) LoopStoresMap2(ctx *jxcontext.Context, parentTask tasksch.I
if len(storeMapList) == 0 {
return nil, "", nil
}
fmt.Println("test", utils.Format4Output(storeMapList, false))
vendorStoreMap := make(map[int][]*model.StoreMap)
for _, v := range storeMapList {
vendorStoreMap[v.VendorID] = append(vendorStoreMap[v.VendorID], v)