提示
This commit is contained in:
@@ -342,6 +342,11 @@ namespace Tnb.WarehouseMgr
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
throw new AppFriendlyException($"【OutsourcedPartsInstock】点位不存在", 500);
|
||||||
|
}
|
||||||
|
|
||||||
// 更新成品调拨入库单子表已下发数量
|
// 更新成品调拨入库单子表已下发数量
|
||||||
await _db.Updateable<WmsTransferInstockD>().SetColumns(r => r.xf_qty == r.xf_qty + input.qty).Where(r => r.id == input.source_id).ExecuteCommandAsync();
|
await _db.Updateable<WmsTransferInstockD>().SetColumns(r => r.xf_qty == r.xf_qty + input.qty).Where(r => r.id == input.source_id).ExecuteCommandAsync();
|
||||||
|
|
||||||
|
|||||||
@@ -171,6 +171,10 @@ namespace Tnb.WarehouseMgr
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
throw new AppFriendlyException($"【PDAWmsEmptyIn】点位不存在", 500);
|
||||||
|
}
|
||||||
|
|
||||||
await _db.Ado.CommitTranAsync();
|
await _db.Ado.CommitTranAsync();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -221,6 +221,10 @@ namespace Tnb.WarehouseMgr
|
|||||||
it => new BasLocation { is_lock = 1 }, _db);
|
it => new BasLocation { is_lock = 1 }, _db);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
throw new AppFriendlyException($"【PDAWmsEmptyOut】点位不存在", 500);
|
||||||
|
}
|
||||||
|
|
||||||
await _db.Ado.CommitTranAsync();
|
await _db.Ado.CommitTranAsync();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -372,6 +372,10 @@ namespace Tnb.WarehouseMgr
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
throw new AppFriendlyException($"【WmsSaleReleaseService Distribute】点位不存在", 500);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Logger.LogInformation($"【Distribute】 预计生成{items_sorttask.Count}条分拣任务");
|
Logger.LogInformation($"【Distribute】 预计生成{items_sorttask.Count}条分拣任务");
|
||||||
|
|||||||
Reference in New Issue
Block a user