生成预任务增加判断,如果起终库位相同则删除对应的预任务
This commit is contained in:
@@ -144,7 +144,7 @@ namespace Tnb.WarehouseMgr
|
||||
if (!isMatch) throw new AppFriendlyException("库位与载具规格不匹配", 500);
|
||||
ePoint = await _db.Queryable<WmsPointH>().FirstAsync(it => it.location_id == endLocations[0].id);
|
||||
}
|
||||
sPoint = await _db.Queryable<WmsPointH>().FirstAsync(it => it.location_id == loc.id && it.area_id == ePoint.area_id);
|
||||
sPoint = await _db.Queryable<WmsPointH>().FirstAsync(it => it.location_id == loc.id);
|
||||
|
||||
if (sPoint != null && ePoint != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user