РКТ отчёт

1. Фикс бага с выгрузкой файла. Добавил contentType
2. Обновил шаблон
This commit is contained in:
parent 23fd77eb9d
commit 5897315b5a
3 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ namespace AsbCloudInfrastructure.Services.ProcessMap
public class ProcessMapReportMakerService : IProcessMapReportMakerService
{
const int firstColumn = 2;
const int lastColumn = 49;
const int lastColumn = 42;
const int headerRowsCount = 5;

View File

@ -110,7 +110,7 @@ namespace AsbCloudWebApi.Controllers
return NoContent();
var fileName = $"РТК по скважине {well.Caption} куст {well.Cluster}.xlsx";
return File(stream, fileName);
return File(stream, "application/octet-stream", fileName);
}
return NoContent();