1
This commit is contained in:
@@ -441,13 +441,11 @@ namespace Tnb.WarehouseMgr
|
||||
var loc = await _db.Queryable<BasLocation>().SingleAsync(it => it.id == multiList[i].endlocation_id);
|
||||
await _db.Updateable<WmsCarryCode>().SetColumns(it => new WmsCarryCode { warehouse_id = loc.wh_id, location_id = multiList[i].endlocation_id, location_code = multiList[i].endlocation_code }).Where(it => it.id == multiList[i].carry_id).ExecuteCommandAsync();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
//更新库位信息,使用状态为 使用,锁定状态为未锁定
|
||||
if (disTasks?.Count > 0)
|
||||
{
|
||||
var destLocIds = disTasks.Select(it => it.endlocation_id).ToList();
|
||||
var multis = disTasks.Select(it => (it.endlocation_id, it.carry_status)).ToList();
|
||||
for (int i = 0; i < multis.Count; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user