This commit is contained in:
苏尹岚
2020-10-16 17:51:14 +08:00
parent 3c6fe84d2f
commit 30433d0ebf

View File

@@ -657,9 +657,9 @@ func (v *VendorSync) LoopStoresMap2(ctx *jxcontext.Context, parentTask tasksch.I
if len(storeIDs) == 1 {
storeMapList = storeMapList2
} else {
// for _, v := range storeMapList2 {
// storeList, _ := dao.GetStoreList(db, []int{v.StoreID}, nil, nil, nil, "")
// }
for _, v := range storeMapList2 {
storeList, _ := dao.GetStoreList(db, []int{v.StoreID}, nil, nil, nil, "")
}
}
if len(storeMapList) == 0 {
return nil, "", nil