forked from ddrilling/AsbCloudServer
РКТ отчёт
1. Фикс бага с выгрузкой файла. Добавил contentType 2. Обновил шаблон
This commit is contained in:
parent
23fd77eb9d
commit
5897315b5a
@ -13,7 +13,7 @@ namespace AsbCloudInfrastructure.Services.ProcessMap
|
|||||||
public class ProcessMapReportMakerService : IProcessMapReportMakerService
|
public class ProcessMapReportMakerService : IProcessMapReportMakerService
|
||||||
{
|
{
|
||||||
const int firstColumn = 2;
|
const int firstColumn = 2;
|
||||||
const int lastColumn = 49;
|
const int lastColumn = 42;
|
||||||
|
|
||||||
const int headerRowsCount = 5;
|
const int headerRowsCount = 5;
|
||||||
|
|
||||||
|
Binary file not shown.
@ -110,7 +110,7 @@ namespace AsbCloudWebApi.Controllers
|
|||||||
return NoContent();
|
return NoContent();
|
||||||
|
|
||||||
var fileName = $"РТК по скважине {well.Caption} куст {well.Cluster}.xlsx";
|
var fileName = $"РТК по скважине {well.Caption} куст {well.Cluster}.xlsx";
|
||||||
return File(stream, fileName);
|
return File(stream, "application/octet-stream", fileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
return NoContent();
|
return NoContent();
|
||||||
|
Loading…
Reference in New Issue
Block a user