Merge pull request 'Фикс: сохранение комментария при импорте операций' (#181) from fix/import-comment-to-well-operations into dev

Reviewed-on: http://test.digitaldrilling.ru:8080/DDrilling/AsbCloudServer/pulls/181
This commit is contained in:
Никита Фролов 2023-12-21 12:05:07 +05:00
commit 8e30bd798b
2 changed files with 4 additions and 1 deletions

View File

@ -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)

View File

@ -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",
}
};