2025年度投票修改

This commit is contained in:
路 范
2025-06-10 19:19:30 +08:00
parent 88316af778
commit 4d17ef84c2
14 changed files with 1096 additions and 8 deletions

View File

@@ -114,11 +114,10 @@ namespace Vote.Services.Tools
///
/// </summary>
/// <returns></returns>
public static string WriteTemplate(List<ProjectsList2Output> list, int start_row, string start_column)
public static string WriteTemplate(string template_name, List<ProjectsList2Output> list, int start_row, string start_column)
{
try
{
string template_name = "2024年度宁波市结构优质认定项目投票结果.xlsx";
string excelFilePath = $"{App.WebHostEnvironment.WebRootPath}\\ExcelTemplate\\{template_name}";
string outputPath = string.Empty;
if (!string.IsNullOrEmpty(excelFilePath))