wms:agv: agv点位信息修改
This commit is contained in:
@@ -17,6 +17,15 @@ namespace ZR.Model.MES.wms
|
||||
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
||||
public int Id { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 区域
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnName = "area_code")]
|
||||
public int? AreaCode { get; set; }
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 区域
|
||||
/// </summary>
|
||||
|
||||
@@ -113,7 +113,7 @@ namespace ZR.Service.Business
|
||||
public List<AgvLocation> GetAGV_position_list(AgvLocation location)
|
||||
{
|
||||
var predicate = Expressionable.Create<AgvLocation>()
|
||||
.AndIF(string.IsNullOrEmpty(location.Area), it => it.Area == location.Area)
|
||||
.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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user