Merge pull request 'Правка багов по ртк' (#318) from fix/#37518132-process-map-excel-templates into dev

Reviewed-on: https://test.digitaldrilling.ru:8443/DDrilling/AsbCloudServer/pulls/318
This commit is contained in:
Никита Фролов 2024-09-03 13:35:09 +05:00
commit 9ebd3f4851
4 changed files with 9 additions and 2 deletions

View File

@ -64,4 +64,11 @@ pg_restore -Fc -d postgres -U postgres -W dump_2022-01-11.bak
Then 'exit restore mode' psql: Then 'exit restore mode' psql:
``` ```
SELECT timescaledb_post_restore(); SELECT timescaledb_post_restore();
``` ```
# SEQUENCES
Обновление Sequence (на примере t_process_map_plan_rotor):
```
SELECT setval('t_process_map_plan_rotor_id_seq', (select max(id) from t_process_map_plan_rotor), true);
```

View File

@ -8,7 +8,7 @@ public class ProcessMapPlanOscillationAnglesTemplate : ITemplateParameters
{ {
public string SheetName => "Определение углов осцилляции"; public string SheetName => "Определение углов осцилляции";
public int HeaderRowsCount => 3; public int HeaderRowsCount => 2;
public string FileName => "ProcessMapPlanOscillationAngles.xlsx"; public string FileName => "ProcessMapPlanOscillationAngles.xlsx";