From e8194078caabb213304fe0b9ce8a817a256e8200 Mon Sep 17 00:00:00 2001 From: hehaibing-1996 Date: Tue, 18 Mar 2025 10:46:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WCS.WebApi/Controllers/AgvTaskController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WCS.WebApi/Controllers/AgvTaskController.cs b/WCS.WebApi/Controllers/AgvTaskController.cs index 2aa5863..b613e24 100644 --- a/WCS.WebApi/Controllers/AgvTaskController.cs +++ b/WCS.WebApi/Controllers/AgvTaskController.cs @@ -86,7 +86,7 @@ namespace WCS.WebApi.Controllers .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.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); var totalCount = await recordsQueryable.CountAsync();