diff --git a/src/VirtoCommerce.PricingModule.Data/Repositories/PricingRepositoryImpl.cs b/src/VirtoCommerce.PricingModule.Data/Repositories/PricingRepositoryImpl.cs index b61180f5..2613ffc6 100644 --- a/src/VirtoCommerce.PricingModule.Data/Repositories/PricingRepositoryImpl.cs +++ b/src/VirtoCommerce.PricingModule.Data/Repositories/PricingRepositoryImpl.cs @@ -69,6 +69,12 @@ public Task DeletePricelistAssignmentsAsync(IEnumerable ids) public IQueryable GetMergedPrices(string basePriceListId, string priorityPriceListId) { var command = GetSearchMergedPricesCommand(basePriceListId, priorityPriceListId); + + if (DbContext.Database.ProviderName == "Pomelo.EntityFrameworkCore.MySql") + { + command.Text = command.Text.Replace("\"", ""); + } + var query = DbContext.Set().FromSqlRaw(command.Text, command.Parameters.ToArray()); return query; }