From 2b8057bbba8791dc8817c03f9e9dadf584abf34f Mon Sep 17 00:00:00 2001 From: Olga Nemt Date: Fri, 20 Sep 2024 11:03:03 +0500 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=BC=D0=B5=D0=BD=D1=8F=D0=BD?= =?UTF-8?q?=D1=8B=20=D0=BF=D0=B0=D1=80=D0=B0=D0=BC=D0=B5=D1=82=D1=80=D1=8B?= =?UTF-8?q?=20=D0=B7=D0=B0=D0=BF=D1=80=D0=BE=D1=81=D0=B0:=20GeDepth=20?= =?UTF-8?q?=D0=BD=D0=B0=20GtDepth,=20LeDepth=20=D0=BD=D0=B0=20LtDepth?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Requests/ProcessMapPlanBaseRequest.cs | 18 +++++++++--------- .../Repository/ProcessMapPlanBaseRepository.cs | 8 ++++---- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/AsbCloudApp/Requests/ProcessMapPlanBaseRequest.cs b/AsbCloudApp/Requests/ProcessMapPlanBaseRequest.cs index e1940035..a261bc24 100644 --- a/AsbCloudApp/Requests/ProcessMapPlanBaseRequest.cs +++ b/AsbCloudApp/Requests/ProcessMapPlanBaseRequest.cs @@ -48,13 +48,13 @@ public class ProcessMapPlanBaseRequestWithWell : ProcessMapPlanBaseRequest /// /// /// - /// - /// - public ProcessMapPlanBaseRequestWithWell(int idWell, double? geDepth, double? leDepth) + /// + /// + public ProcessMapPlanBaseRequestWithWell(int idWell, double? gtDepth, double? ltDepth) { IdWell = idWell; - GeDepth = geDepth; - LeDepth = leDepth; + GtDepth = gtDepth; + LtDepth = ltDepth; } /// @@ -74,12 +74,12 @@ public class ProcessMapPlanBaseRequestWithWell : ProcessMapPlanBaseRequest public int IdWell { get; set; } /// - /// Меньше или равно глубины забоя + /// Меньше глубины забоя /// - public double? LeDepth { get; set; } + public double? LtDepth { get; set; } /// - /// Больше или равно глубине забоя + /// Больше глубине забоя /// - public double? GeDepth { get; set; } + public double? GtDepth { get; set; } } diff --git a/AsbCloudInfrastructure/Repository/ProcessMapPlanBaseRepository.cs b/AsbCloudInfrastructure/Repository/ProcessMapPlanBaseRepository.cs index 82649a3f..2b8b37e1 100644 --- a/AsbCloudInfrastructure/Repository/ProcessMapPlanBaseRepository.cs +++ b/AsbCloudInfrastructure/Repository/ProcessMapPlanBaseRepository.cs @@ -34,14 +34,14 @@ public class ProcessMapPlanBaseRepository : ChangeLogRepositoryAb query = query.Where(e => e.Creation >= from || e.Obsolete >= from); } - if (request.GeDepth.HasValue) + if (request.GtDepth.HasValue) { - query = query.Where(e => e.DepthEnd > request.GeDepth); + query = query.Where(e => e.DepthEnd > request.GtDepth); } - if (request.LeDepth.HasValue) + if (request.LtDepth.HasValue) { - query = query.Where(e => e.DepthStart < request.LeDepth); + query = query.Where(e => e.DepthStart < request.LtDepth); } return query;