controllers/operation.go @@ -408,6 +408,7 @@ return } if len(locAmountList) > 0 { mapLocAmount = make(map[string]*models.LocationProductAmount) for _, v := range locAmountList { mapLocAmount[strconv.Itoa(v.LocationId)+v.ProductId] = v }