[Webapi]操作紀錄匯出excel微調
This commit is contained in:
parent
4895975a46
commit
db77070dd3
@ -170,7 +170,7 @@ namespace FrontendWebApi.ApiControllers
|
|||||||
stylein12.WrapText = true;
|
stylein12.WrapText = true;
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
var sheet = workbook.CreateSheet("電表報表");
|
var sheet = workbook.CreateSheet(input.exportOpeTypeName);
|
||||||
int RowPosition = 0;
|
int RowPosition = 0;
|
||||||
if (result.Count > 0)
|
if (result.Count > 0)
|
||||||
{
|
{
|
||||||
@ -202,7 +202,7 @@ namespace FrontendWebApi.ApiControllers
|
|||||||
|
|
||||||
cell = row.CreateCell(i++);
|
cell = row.CreateCell(i++);
|
||||||
cell.SetCellValue("內容");
|
cell.SetCellValue("內容");
|
||||||
cell.CellStyle = stylein12;
|
cell.CellStyle = styleLine12;
|
||||||
cell = row.CreateCell(i++);
|
cell = row.CreateCell(i++);
|
||||||
cell.SetCellValue("紀錄時間");
|
cell.SetCellValue("紀錄時間");
|
||||||
cell.CellStyle = styleLine12;
|
cell.CellStyle = styleLine12;
|
||||||
|
Loading…
Reference in New Issue
Block a user