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;