From ee1d30633a8f4289f0fce80aa14a77108fc7c85a Mon Sep 17 00:00:00 2001 From: colin Date: Sat, 25 Apr 2026 11:06:07 +0800 Subject: [PATCH] fix: fixed MiniExcel Export settings --- .../LINGYUN/Abp/Exporter/MiniExcelImporterProvider.cs | 2 +- .../Abp/Exporter/MiniSoftware/MiniExcelImporterProvider.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aspnet-core/framework/exporter/LINGYUN.Abp.Exporter.MiniExcel/LINGYUN/Abp/Exporter/MiniExcelImporterProvider.cs b/aspnet-core/framework/exporter/LINGYUN.Abp.Exporter.MiniExcel/LINGYUN/Abp/Exporter/MiniExcelImporterProvider.cs index 582877234..f1c434203 100644 --- a/aspnet-core/framework/exporter/LINGYUN.Abp.Exporter.MiniExcel/LINGYUN/Abp/Exporter/MiniExcelImporterProvider.cs +++ b/aspnet-core/framework/exporter/LINGYUN.Abp.Exporter.MiniExcel/LINGYUN/Abp/Exporter/MiniExcelImporterProvider.cs @@ -27,7 +27,7 @@ public class MiniExcelImporterProvider : IImporterProvider, ITransientDependency { var xmlConfig = new OpenXmlConfiguration(); - if (_options.ExportSettingMapping.TryGetValue(typeof(T), out var exportSetting)) + if (_options.ImportSettingMapping.TryGetValue(typeof(T), out var exportSetting)) { exportSetting?.Invoke(xmlConfig); } diff --git a/aspnet-core/framework/exporter/LINGYUN.Abp.Exporter.MiniSoftware/LINGYUN/Abp/Exporter/MiniSoftware/MiniExcelImporterProvider.cs b/aspnet-core/framework/exporter/LINGYUN.Abp.Exporter.MiniSoftware/LINGYUN/Abp/Exporter/MiniSoftware/MiniExcelImporterProvider.cs index d3319839e..9aaeb2f00 100644 --- a/aspnet-core/framework/exporter/LINGYUN.Abp.Exporter.MiniSoftware/LINGYUN/Abp/Exporter/MiniSoftware/MiniExcelImporterProvider.cs +++ b/aspnet-core/framework/exporter/LINGYUN.Abp.Exporter.MiniSoftware/LINGYUN/Abp/Exporter/MiniSoftware/MiniExcelImporterProvider.cs @@ -31,7 +31,7 @@ public class MiniExcelImporterProvider : { var xmlConfig = new OpenXmlConfiguration(); - if (_options.ExportSettingMapping.TryGetValue(typeof(T), out var exportSetting)) + if (_options.ImportSettingMapping.TryGetValue(typeof(T), out var exportSetting)) { exportSetting?.Invoke(xmlConfig); }