任务管理

This commit is contained in:
hehaibing-1996
2025-03-18 10:46:27 +08:00
parent 90a273f924
commit e8194078ca

View File

@ -86,7 +86,7 @@ namespace WCS.WebApi.Controllers
.WhereIF(!string.IsNullOrEmpty(request.ShelfCode), t => t.ShelfCode.Contains(request.ShelfCode)) .WhereIF(!string.IsNullOrEmpty(request.ShelfCode), t => t.ShelfCode.Contains(request.ShelfCode))
.WhereIF(!string.IsNullOrEmpty(request.CreateUser), t => t.CreateUser.Contains(request.CreateUser)) .WhereIF(!string.IsNullOrEmpty(request.CreateUser), t => t.CreateUser.Contains(request.CreateUser))
.WhereIF(!string.IsNullOrEmpty(request.StartLocationCode), t => t.StartLocationCode.Contains(request.StartLocationCode)) .WhereIF(!string.IsNullOrEmpty(request.StartLocationCode), t => t.StartLocationCode.Contains(request.StartLocationCode))
.WhereIF(!string.IsNullOrEmpty(request.EndLocationCode), t => t.StartLocationCode.Contains(request.EndLocationCode)) .WhereIF(!string.IsNullOrEmpty(request.EndLocationCode), t => t.EndLocationCode.Contains(request.EndLocationCode))
.WhereIF(request.TaskStatus != null, t => t.TaskStatus == request.TaskStatus); .WhereIF(request.TaskStatus != null, t => t.TaskStatus == request.TaskStatus);
var totalCount = await recordsQueryable.CountAsync(); var totalCount = await recordsQueryable.CountAsync();