Поправил заполнение название секции

This commit is contained in:
parent a36736731b
commit ab3ad0ae28

View File

@ -122,7 +122,7 @@ public class ProcessMapPlanImportService : IProcessMapPlanImportService
private void AddToRow(IXLRow row, ProcessMapPlanDto processMap) private void AddToRow(IXLRow row, ProcessMapPlanDto processMap)
{ {
row.Cell(columnWellSectionType).Value = sections.FirstOrDefault(x => x.Id == processMap.IdWellSectionType)?.Caption; row.Cell(columnWellSectionType).Value = sections.First(x => x.Id == processMap.IdWellSectionType).Caption;
row.Cell(columnMode).Value = GetModeCaption(processMap.IdMode); row.Cell(columnMode).Value = GetModeCaption(processMap.IdMode);
row.Cell(columnDepthStart).Value = processMap.DepthStart; row.Cell(columnDepthStart).Value = processMap.DepthStart;
row.Cell(columnDepthEnd).Value = processMap.DepthEnd; row.Cell(columnDepthEnd).Value = processMap.DepthEnd;