1
This commit is contained in:
@@ -554,7 +554,7 @@ namespace Tnb.WarehouseMgr
|
||||
//查询当前电梯点
|
||||
var curEleDs = await _db.Queryable<WmsElevatorD>().Where(it => points.Select(x => x.id).Contains(it.point_id)).ToListAsync();
|
||||
//如果有电梯点,则会进行电梯的均匀分配
|
||||
if (curEleDs.Count > 0)
|
||||
if (curEleDs?.Count > 0)
|
||||
{
|
||||
//当前电梯
|
||||
var curEle = await _db.Queryable<WmsElevatorH>().SingleAsync(it => it.id == curEleDs.First().bill_id);
|
||||
|
||||
Reference in New Issue
Block a user