From ed8bbf641a936f614d3bf7e0db7e61ae0129dd24 Mon Sep 17 00:00:00 2001 From: ngfrolov Date: Wed, 18 May 2022 13:16:03 +0500 Subject: [PATCH] Fix DailyReportMakerExcel. string[] to string --- .../Services/DailyReport/DailyReportMakerExcel.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AsbCloudInfrastructure/Services/DailyReport/DailyReportMakerExcel.cs b/AsbCloudInfrastructure/Services/DailyReport/DailyReportMakerExcel.cs index a4aa860b..8e0ed0fe 100644 --- a/AsbCloudInfrastructure/Services/DailyReport/DailyReportMakerExcel.cs +++ b/AsbCloudInfrastructure/Services/DailyReport/DailyReportMakerExcel.cs @@ -168,9 +168,9 @@ namespace AsbCloudInfrastructure.Services.DailyReport private int AddBlockDrillingModes(IXLWorksheet sheet, int startRow, DailyReportDto reportDto) { sheet.Cell(startRow + 2, 6).Value = - $"{reportDto.RotorDrillingModes}"; + $"{string.Join(", ", reportDto.RotorDrillingModes)}"; sheet.Cell(startRow + 3, 9).Value = - $"{reportDto.SlideDrillingModes}"; + $"{string.Join(", ", reportDto.SlideDrillingModes)}"; return startRow + 3; }