You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
voidMain(){stringprojectFolder=@"D:\Projects\";varlist=newList<Breakdown>();list.Add(newBreakdown{CompanyName="A",AccountName="A1",TotalAmount1=3000,TotalAmount2=4000,TotalAmount3=5000});list.Add(newBreakdown{CompanyName="A",AccountName="A1",TotalAmount1=3000,TotalAmount2=4000,TotalAmount3=5000});varopenXmlConfiguration=newOpenXmlConfiguration();varvalue=new{data=list,};MiniExcel.SaveAsByTemplate($"{projectFolder}\\ErrorsCheck\\输出文件.xlsx",templatePath:$"{projectFolder}\\ErrorsCheck\\模板_应收账款A.xlsx",value,configuration:openXmlConfiguration);}// You can define other methods, fields, classes and namespaces herepublicclassBreakdown{[ExcelColumn(Name="主体")]publicstringCompanyName{get;set;}[ExcelColumn(Name="明细")]publicstringAccountName{get;set;}[ExcelColumn(Name="账面数1")]publicdecimal?TotalAmount1{get;set;}[ExcelColumn(Name="账面数2")]publicdecimal?TotalAmount2{get;set;}[ExcelColumn(Name="账面数3")]publicdecimal?TotalAmount3{get;set;}}
Activity
LambertW commentedon Aug 22, 2025
请问新版计划什么时候发布?