This commit is contained in:
alex
2023-08-14 09:15:24 +08:00
parent 962ab7cab9
commit 4c1e3c8c40

View File

@@ -504,7 +504,7 @@ namespace Tnb.WarehouseMgr
List<WmsCarryH> carryIts = new();
List<WmsCarryCode> carryCodeIts = new();
List<BasLocation> locIts = new();
for (int i = 0; i < multiList.Count; i++)
for (int i = 0, cnt = multiList.Count; i < cnt; i++)
{
WmsCarryH carry = new()
{
@@ -529,7 +529,7 @@ namespace Tnb.WarehouseMgr
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();
//更新条码的库位和仓库信息