银豹创建商品测试
This commit is contained in:
@@ -605,6 +605,7 @@ func (v *VendorSync) LoopStoresMap2(ctx *jxcontext.Context, parentTask tasksch.I
|
|||||||
if len(storeMapList) == 0 {
|
if len(storeMapList) == 0 {
|
||||||
return nil, "", nil
|
return nil, "", nil
|
||||||
}
|
}
|
||||||
|
fmt.Println("test", utils.Format4Output(storeMapList, false))
|
||||||
vendorStoreMap := make(map[int][]*model.StoreMap)
|
vendorStoreMap := make(map[int][]*model.StoreMap)
|
||||||
for _, v := range storeMapList {
|
for _, v := range storeMapList {
|
||||||
vendorStoreMap[v.VendorID] = append(vendorStoreMap[v.VendorID], v)
|
vendorStoreMap[v.VendorID] = append(vendorStoreMap[v.VendorID], v)
|
||||||
|
|||||||
Reference in New Issue
Block a user