diff --git a/AsbCloudDb/Readme.md b/AsbCloudDb/Readme.md index 0ad34426..88f964f4 100644 --- a/AsbCloudDb/Readme.md +++ b/AsbCloudDb/Readme.md @@ -64,4 +64,11 @@ pg_restore -Fc -d postgres -U postgres -W dump_2022-01-11.bak Then 'exit restore mode' psql: ``` SELECT timescaledb_post_restore(); - ``` \ No newline at end of file + ``` + +# 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); +``` \ No newline at end of file diff --git a/AsbCloudInfrastructure/Services/ExcelServices/Templates/ProcessMapPlanTemplates/ProcessMapPlanOscillationAnglesTemplate.cs b/AsbCloudInfrastructure/Services/ExcelServices/Templates/ProcessMapPlanTemplates/ProcessMapPlanOscillationAnglesTemplate.cs index be5cfec0..92cf3d0e 100644 --- a/AsbCloudInfrastructure/Services/ExcelServices/Templates/ProcessMapPlanTemplates/ProcessMapPlanOscillationAnglesTemplate.cs +++ b/AsbCloudInfrastructure/Services/ExcelServices/Templates/ProcessMapPlanTemplates/ProcessMapPlanOscillationAnglesTemplate.cs @@ -8,7 +8,7 @@ public class ProcessMapPlanOscillationAnglesTemplate : ITemplateParameters { public string SheetName => "Определение углов осцилляции"; - public int HeaderRowsCount => 3; + public int HeaderRowsCount => 2; public string FileName => "ProcessMapPlanOscillationAngles.xlsx"; diff --git a/AsbCloudInfrastructure/Services/ProcessMapPlan/Templates/ProcessMapPlanOscillation.xlsx b/AsbCloudInfrastructure/Services/ProcessMapPlan/Templates/ProcessMapPlanOscillation.xlsx index b193887a..d4b53fab 100644 Binary files a/AsbCloudInfrastructure/Services/ProcessMapPlan/Templates/ProcessMapPlanOscillation.xlsx and b/AsbCloudInfrastructure/Services/ProcessMapPlan/Templates/ProcessMapPlanOscillation.xlsx differ diff --git a/AsbCloudInfrastructure/Services/ProcessMapPlan/Templates/ProcessMapPlanOscillationAngles.xlsx b/AsbCloudInfrastructure/Services/ProcessMapPlan/Templates/ProcessMapPlanOscillationAngles.xlsx index 32932044..772391bb 100644 Binary files a/AsbCloudInfrastructure/Services/ProcessMapPlan/Templates/ProcessMapPlanOscillationAngles.xlsx and b/AsbCloudInfrastructure/Services/ProcessMapPlan/Templates/ProcessMapPlanOscillationAngles.xlsx differ