From 9d7308c48aed7686accc855405fd7e532bdef6ef Mon Sep 17 00:00:00 2001 From: jianghaiqing Date: Tue, 30 May 2023 17:57:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=AE=B1=E5=9E=8B=E6=98=A0?= =?UTF-8?q?=E5=B0=84=E6=A3=80=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Service/TaskManagePlat/Interface/ITaskManageService.cs | 7 +++++++ .../Service/CommomDBPage/CommonDBPageService.cs | 6 +++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/Myshipping.Application/Service/TaskManagePlat/Interface/ITaskManageService.cs b/Myshipping.Application/Service/TaskManagePlat/Interface/ITaskManageService.cs index fe58f9c5..b26147cf 100644 --- a/Myshipping.Application/Service/TaskManagePlat/Interface/ITaskManageService.cs +++ b/Myshipping.Application/Service/TaskManagePlat/Interface/ITaskManageService.cs @@ -268,5 +268,12 @@ namespace Myshipping.Application /// 请求LARA纸详情 /// 返回结果 Task> CalcLaraPageNumbers(CalcLaraPageNumbersDto model); + + /// + /// 获取任务列表 + /// + /// 查询条件 + /// 返回结果 + //Task> GetTaskList(QueryTaskManageDto queryTaskManageDto); } } diff --git a/Myshipping.Core/Service/CommomDBPage/CommonDBPageService.cs b/Myshipping.Core/Service/CommomDBPage/CommonDBPageService.cs index df21f5b9..be35f586 100644 --- a/Myshipping.Core/Service/CommomDBPage/CommonDBPageService.cs +++ b/Myshipping.Core/Service/CommomDBPage/CommonDBPageService.cs @@ -351,7 +351,11 @@ public class CommonDBPageService : IDynamicApiController, ITransient return await _mappingCtnRep.AsQueryable().Where(x => x.Module == input.Module) .WhereIF(!string.IsNullOrEmpty(input.KeyWord), x => x.Code.Contains(input.KeyWord, System.StringComparison.CurrentCultureIgnoreCase) - || x.MapCode.Contains(input.KeyWord, System.StringComparison.CurrentCultureIgnoreCase) || x.MapName.Contains(input.KeyWord, System.StringComparison.CurrentCultureIgnoreCase)).OrderBy(PageInputOrder.OrderBuilder(input.SortField, input.DescSort)).ToPagedListAsync(input.PageNo, input.PageSize); + || x.MapCode.Contains(input.KeyWord, System.StringComparison.CurrentCultureIgnoreCase) + || x.MapName.Contains(input.KeyWord, System.StringComparison.CurrentCultureIgnoreCase) + || x.Remark.Contains(input.KeyWord, System.StringComparison.CurrentCultureIgnoreCase)) + + .OrderBy(PageInputOrder.OrderBuilder(input.SortField, input.DescSort)).ToPagedListAsync(input.PageNo, input.PageSize); }