From 51305bc7ab310b5263ec44da228b521f01879cb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=AD=A3=E6=98=93?= <9634538+git_rabbit@user.noreply.gitee.com> Date: Fri, 29 Mar 2024 15:30:54 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8E=B7=E5=8F=96agv=20=E8=B5=B7=E7=82=B9?= =?UTF-8?q?=E5=92=8C=E7=BB=88=E7=82=B9=EF=BC=8C=E5=85=A5=E5=8F=82=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ZR.Service/mes/wms/WmAGVService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ZR.Service/mes/wms/WmAGVService.cs b/ZR.Service/mes/wms/WmAGVService.cs index 402f53bb..5e035074 100644 --- a/ZR.Service/mes/wms/WmAGVService.cs +++ b/ZR.Service/mes/wms/WmAGVService.cs @@ -115,7 +115,7 @@ namespace ZR.Service.Business var predicate = Expressionable.Create() .AndIF(location.AreaCode>-1, it => it.AreaCode == location.AreaCode) .AndIF(location.Type > -1, it => it.Type == location.Type) - .AndIF(string.IsNullOrEmpty(location.Coordinate), it => it.Coordinate == location.Coordinate); + .AndIF(!string.IsNullOrEmpty(location.Coordinate), it => it.Coordinate == location.Coordinate); return Context.Queryable().Where(predicate.ToExpression()).ToList();