forked from ddrilling/AsbCloudServer
Фикс: сохранение комментария при импорте операций
This commit is contained in:
parent
576d4d0e57
commit
7d157f7650
@ -77,7 +77,8 @@ public class WellOperationImportService : IWellOperationImportService
|
|||||||
DepthStart = row.DepthStart,
|
DepthStart = row.DepthStart,
|
||||||
DepthEnd = row.DepthEnd,
|
DepthEnd = row.DepthEnd,
|
||||||
DateStart = row.Date,
|
DateStart = row.Date,
|
||||||
DurationHours = row.Duration
|
DurationHours = row.Duration,
|
||||||
|
Comment = row.Comment
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
catch (FileFormatException ex)
|
catch (FileFormatException ex)
|
||||||
|
@ -40,6 +40,7 @@ namespace AsbCloudWebApi.Tests.UnitTests.Services.WellOperationExport
|
|||||||
DepthEnd = 20,
|
DepthEnd = 20,
|
||||||
DateStart = getDate(days: 0),
|
DateStart = getDate(days: 0),
|
||||||
DurationHours = 10,
|
DurationHours = 10,
|
||||||
|
Comment = "Комментарий 1",
|
||||||
},
|
},
|
||||||
new WellOperationDto() {
|
new WellOperationDto() {
|
||||||
IdWell = idWell,
|
IdWell = idWell,
|
||||||
@ -52,6 +53,7 @@ namespace AsbCloudWebApi.Tests.UnitTests.Services.WellOperationExport
|
|||||||
DepthEnd = 30,
|
DepthEnd = 30,
|
||||||
DateStart = getDate(days: 1),
|
DateStart = getDate(days: 1),
|
||||||
DurationHours = 20,
|
DurationHours = 20,
|
||||||
|
Comment = "Комментарий 2",
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user