增加载具绑定条码表

This commit is contained in:
FanLian
2023-06-19 14:49:50 +08:00
parent b0d0346239
commit 76dcaae7da
2 changed files with 24 additions and 5 deletions

View File

@@ -87,7 +87,7 @@ namespace Tnb.WarehouseMgr
ePoint = await _db.Queryable<WmsPointH>().FirstAsync(it => it.location_id == input.data[nameof(WmsPointH.location_id)].ToString());
}
int i = 0;
var isOk = false;
//根据每个载具的起始库位做路径运算
for (i = 0; i < setQty.qty; i++)
@@ -95,7 +95,7 @@ namespace Tnb.WarehouseMgr
if (carrys?.Count > 0)
sPoint = await _db.Queryable<WmsPointH>().FirstAsync(it => it.location_id == carrys[i].location_id);
var isOk = false;
if (sPoint != null && ePoint != null)
{
var points = await _wareHouseService.PathAlgorithms(sPoint.id, ePoint.id);