配送申请,生成预任务新增,起终点位Id

This commit is contained in:
yang.lee
2023-11-23 16:29:26 +08:00
parent 763b56dd91
commit 31c4deb0e2
3 changed files with 4 additions and 1 deletions

View File

@@ -580,7 +580,7 @@ namespace Tnb.WarehouseMgr
csCode.checkstock_d_id = checkStockDMap.ContainsKey($"{csCode.carry_id}{csCode.material_id}{csCode.code_batch}") ? checkStockDMap[$"{csCode.carry_id}{csCode.material_id}{csCode.code_batch}"] : "";
}
//插入 盘点code表
await _db.Insertable(checkStockCodes).ExecuteCommandAsync();
_ = await _db.Insertable(checkStockCodes).ExecuteCommandAsync();
var detailIds = checkStockCodes.Select(x => x.checkstock_d_id).ToList();
var checkStockDs = await _db.Queryable<WmsCheckstockD>().Where(it => detailIds.Contains(it.id)).ToListAsync();
foreach (var csd in checkStockDs)