diff --git a/AsbCloudInfrastructure/Services/WellOperationImport/WellOperationImportService.cs b/AsbCloudInfrastructure/Services/WellOperationImport/WellOperationImportService.cs index bf551edc..b8042275 100644 --- a/AsbCloudInfrastructure/Services/WellOperationImport/WellOperationImportService.cs +++ b/AsbCloudInfrastructure/Services/WellOperationImport/WellOperationImportService.cs @@ -77,7 +77,8 @@ public class WellOperationImportService : IWellOperationImportService DepthStart = row.DepthStart, DepthEnd = row.DepthEnd, DateStart = row.Date, - DurationHours = row.Duration + DurationHours = row.Duration, + Comment = row.Comment }); } catch (FileFormatException ex) diff --git a/AsbCloudWebApi.Tests/UnitTests/Services/WellOperationExport/WellOperationExportServiceTest.cs b/AsbCloudWebApi.Tests/UnitTests/Services/WellOperationExport/WellOperationExportServiceTest.cs index c22c5fa0..cdfd6cd8 100644 --- a/AsbCloudWebApi.Tests/UnitTests/Services/WellOperationExport/WellOperationExportServiceTest.cs +++ b/AsbCloudWebApi.Tests/UnitTests/Services/WellOperationExport/WellOperationExportServiceTest.cs @@ -40,6 +40,7 @@ namespace AsbCloudWebApi.Tests.UnitTests.Services.WellOperationExport DepthEnd = 20, DateStart = getDate(days: 0), DurationHours = 10, + Comment = "Комментарий 1", }, new WellOperationDto() { IdWell = idWell, @@ -52,6 +53,7 @@ namespace AsbCloudWebApi.Tests.UnitTests.Services.WellOperationExport DepthEnd = 30, DateStart = getDate(days: 1), DurationHours = 20, + Comment = "Комментарий 2", } };