diff --git a/Yi.Furion.Net6/Yi.Framework.Module/Excel/ExcelManager.cs b/Yi.Furion.Net6/Yi.Framework.Module/Excel/ExcelManager.cs new file mode 100644 index 00000000..02b5ea9c --- /dev/null +++ b/Yi.Furion.Net6/Yi.Framework.Module/Excel/ExcelManager.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Yi.Framework.Module.Excel +{ + public class ExcelManager + { + } +} diff --git a/Yi.Furion.Net6/Yi.Framework.Module/Excel/OemClient.cs b/Yi.Furion.Net6/Yi.Framework.Module/Excel/OemClient.cs index 977cc02d..7778b2b9 100644 --- a/Yi.Furion.Net6/Yi.Framework.Module/Excel/OemClient.cs +++ b/Yi.Furion.Net6/Yi.Framework.Module/Excel/OemClient.cs @@ -12,8 +12,14 @@ using Org.BouncyCastle.Utilities.Collections; namespace Yi.Framework.Module.Excel { - internal class OemClient + public class OemClient { + /// + /// 导出excel + /// + /// + /// + /// public void Export(List entityList, string filePath) { var properties = typeof(T).GetProperties().Where(x => x.GetCustomAttribute() is not null).Where(x => x.GetGetMethod().IsPublic).ToList(); @@ -53,7 +59,12 @@ namespace Yi.Framework.Module.Excel workbook.Dispose(); } - + /// + /// 导入excel + /// + /// + /// + /// public List Import(string filePath) where T : new() { List result = new();