Merge branch 'dev' of https://git.tuotong-tech.com/tnb/tnb.server into dev
This commit is contained in:
@@ -519,12 +519,13 @@ namespace Tnb.WarehouseMgr
|
||||
BasLocation loc = new();
|
||||
loc.id = multiList[i].endlocation_id;
|
||||
loc.is_lock = 0;
|
||||
loc.is_use = multiList[i].carry_status;
|
||||
if (multiList[i].carry_status.ToEnum<EnumCarryStatus>() == EnumCarryStatus.空闲)
|
||||
{
|
||||
loc.is_use = ((int)EnumCarryStatus.占用).ToString();
|
||||
}
|
||||
|
||||
locIts.Add(loc);
|
||||
|
||||
}
|
||||
|
||||
await _db.Updateable(carryIts).UpdateColumns(it => new { it.is_lock, it.location_id, it.location_code }).ExecuteCommandAsync();
|
||||
|
||||
Reference in New Issue
Block a user