1
This commit is contained in:
@@ -32,7 +32,7 @@
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 起点
|
/// 起点
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string startlocation_code { get; set; }
|
public string location_code { get; set; }
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2103,7 +2103,7 @@ namespace Tnb.WarehouseMgr
|
|||||||
{
|
{
|
||||||
throw new AppFriendlyException($"载具{input.carry_code}已锁定!", 500);
|
throw new AppFriendlyException($"载具{input.carry_code}已锁定!", 500);
|
||||||
}
|
}
|
||||||
if (string.IsNullOrEmpty(input.startlocation_code))
|
if (string.IsNullOrEmpty(input.location_code))
|
||||||
{
|
{
|
||||||
throw new AppFriendlyException($"起点库位为空!", 500);
|
throw new AppFriendlyException($"起点库位为空!", 500);
|
||||||
}
|
}
|
||||||
@@ -2140,7 +2140,7 @@ namespace Tnb.WarehouseMgr
|
|||||||
throw new AppFriendlyException($@"没有可以入库的库位", 500);
|
throw new AppFriendlyException($@"没有可以入库的库位", 500);
|
||||||
}
|
}
|
||||||
|
|
||||||
BasLocation startLocation = await _db.Queryable<BasLocation>().Where(r => r.location_code == input.startlocation_code).FirstAsync();
|
BasLocation startLocation = await _db.Queryable<BasLocation>().Where(r => r.location_code == input.location_code).FirstAsync();
|
||||||
|
|
||||||
CommonCreatePretaskInput commonCreatePretaskInput = new CommonCreatePretaskInput();
|
CommonCreatePretaskInput commonCreatePretaskInput = new CommonCreatePretaskInput();
|
||||||
commonCreatePretaskInput.startlocation_id = startLocation.id;
|
commonCreatePretaskInput.startlocation_id = startLocation.id;
|
||||||
|
|||||||
Reference in New Issue
Block a user