修改箱型映射检索

optimize
jianghaiqing 2 years ago
parent f43343fdce
commit 9d7308c48a

@ -268,5 +268,12 @@ namespace Myshipping.Application
/// <param name="model">请求LARA纸详情</param>
/// <returns>返回结果</returns>
Task<List<LaraPaperRegistPostDto>> CalcLaraPageNumbers(CalcLaraPageNumbersDto model);
/// <summary>
/// 获取任务列表
/// </summary>
/// <param name="queryTaskManageDto">查询条件</param>
/// <returns>返回结果</returns>
//Task<List<TaskBaseInfoDto>> GetTaskList(QueryTaskManageDto queryTaskManageDto);
}
}

@ -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);
}

Loading…
Cancel
Save