获取agv 起点和终点,入参修改
This commit is contained in:
@@ -115,7 +115,7 @@ namespace ZR.Service.Business
|
||||
var predicate = Expressionable.Create<AgvLocation>()
|
||||
.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<AgvLocation>().Where(predicate.ToExpression()).ToList();
|
||||
|
||||
Reference in New Issue
Block a user