forked from ddrilling/AsbCloudServer
Фикс: сохранение комментария при импорте операций
This commit is contained in:
parent
576d4d0e57
commit
7d157f7650
@ -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)
|
||||
|
@ -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",
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user