From db77070dd363c4d1649d828d623629b7f2b7ad85 Mon Sep 17 00:00:00 2001 From: "jay.chang" Date: Tue, 22 Oct 2024 14:06:33 +0800 Subject: [PATCH] =?UTF-8?q?[Webapi]=E6=93=8D=E4=BD=9C=E7=B4=80=E9=8C=84?= =?UTF-8?q?=E5=8C=AF=E5=87=BAexcel=E5=BE=AE=E8=AA=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FrontendWebApi/ApiControllers/OperationLogController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FrontendWebApi/ApiControllers/OperationLogController.cs b/FrontendWebApi/ApiControllers/OperationLogController.cs index 9cec532..603ec78 100644 --- a/FrontendWebApi/ApiControllers/OperationLogController.cs +++ b/FrontendWebApi/ApiControllers/OperationLogController.cs @@ -170,7 +170,7 @@ namespace FrontendWebApi.ApiControllers stylein12.WrapText = true; #endregion - var sheet = workbook.CreateSheet("電表報表"); + var sheet = workbook.CreateSheet(input.exportOpeTypeName); int RowPosition = 0; if (result.Count > 0) { @@ -202,7 +202,7 @@ namespace FrontendWebApi.ApiControllers cell = row.CreateCell(i++); cell.SetCellValue("內容"); - cell.CellStyle = stylein12; + cell.CellStyle = styleLine12; cell = row.CreateCell(i++); cell.SetCellValue("紀錄時間"); cell.CellStyle = styleLine12;