提示完善
This commit is contained in:
@@ -4166,11 +4166,13 @@ namespace Tnb.WarehouseMgr
|
||||
|
||||
if (sPoint == null)
|
||||
{
|
||||
throw new Exception($"库位{input.startlocation_id} 的起点点位未维护");
|
||||
BasLocation _loc = await db.Queryable<BasLocation>().FirstAsync(it => it.id == input.startlocation_id);
|
||||
throw new Exception($"起点库位{_loc.location_code} 的点位未维护");
|
||||
}
|
||||
if (ePoint == null)
|
||||
{
|
||||
throw new Exception($"库位{input.endlocation_id} 的终点点位未维护");
|
||||
BasLocation _loc = await db.Queryable<BasLocation>().FirstAsync(it => it.id == input.endlocation_id);
|
||||
throw new Exception($"终点库位{_loc.location_code} 的点位未维护");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user