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();