From e12c0b72565b83398ec075feb136b5c9c6f605fb Mon Sep 17 00:00:00 2001 From: Olga Nemt Date: Wed, 7 Jun 2023 12:47:44 +0500 Subject: [PATCH] =?UTF-8?q?=D0=9C=D0=B8=D0=BD=D0=B8-=D0=BF=D1=80=D0=B0?= =?UTF-8?q?=D0=B2=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WellOperationService/ScheduleReportService.cs | 8 ++++---- AsbCloudWebApi/appsettings.json | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/AsbCloudInfrastructure/Services/WellOperationService/ScheduleReportService.cs b/AsbCloudInfrastructure/Services/WellOperationService/ScheduleReportService.cs index a850fa54..1c8b6693 100644 --- a/AsbCloudInfrastructure/Services/WellOperationService/ScheduleReportService.cs +++ b/AsbCloudInfrastructure/Services/WellOperationService/ScheduleReportService.cs @@ -59,25 +59,25 @@ namespace AsbCloudInfrastructure.Services.WellOperationService .Select(t => t.Plan!) .OrderBy(t => t.DateStart) .ToList(); - FillCurrentScheduleSheetToWorkbook(workbook, plans, sheetNameSchedulePlan); + FillCurrentScheduleSheet(workbook, plans, sheetNameSchedulePlan); var facts = tvd .Where(t => t.Fact is not null) .Select(t => t.Fact!) .OrderBy(t => t.DateStart) .ToList(); - FillCurrentScheduleSheetToWorkbook(workbook, facts, sheetNameScheduleFact); + FillCurrentScheduleSheet(workbook, facts, sheetNameScheduleFact); var predictions = tvd .Where(t => t.Predict is not null) .Select(t => t.Predict!) .OrderBy(t => t.DateStart) .ToList(); - FillCurrentScheduleSheetToWorkbook(workbook, predictions, sheetNameSchedulePrediction); + FillCurrentScheduleSheet(workbook, predictions, sheetNameSchedulePrediction); } - private static void FillCurrentScheduleSheetToWorkbook(XLWorkbook workbook, List tvdList, string sheetName) + private static void FillCurrentScheduleSheet(XLWorkbook workbook, List tvdList, string sheetName) { var sheet = workbook.Worksheets.FirstOrDefault(ws => ws.Name == sheetName); if (sheet is null) diff --git a/AsbCloudWebApi/appsettings.json b/AsbCloudWebApi/appsettings.json index ac0acc5b..629f10c8 100644 --- a/AsbCloudWebApi/appsettings.json +++ b/AsbCloudWebApi/appsettings.json @@ -7,10 +7,10 @@ } }, "ConnectionStrings": { - "DefaultConnection": "Host=localhost;Database=postgres3;Username=postgres;Password=q;Persist Security Info=True", - "DebugConnection": "Host=localhost;Database=postgres3;Username=postgres;Password=q;Persist Security Info=True;Include Error Detail=True", + "DefaultConnection": "Host=localhost;Database=postgres;Username=postgres;Password=q;Persist Security Info=True", + "DebugConnection": "Host=localhost;Database=postgres;Username=postgres;Password=q;Persist Security Info=True;Include Error Detail=True", "ServerConnection": "Host=192.168.1.70;Database=postgres;Username=postgres;Password=q;Persist Security Info=True", - "LocalConnection": "Host=localhost;Database=postgres3;Username=postgres;Password=q;Persist Security Info=True" + "LocalConnection": "Host=localhost;Database=postgres;Username=postgres;Password=q;Persist Security Info=True" }, "AllowedHosts": "*", //"userLimits": {