分拣任务变更 现场问题处理

This commit is contained in:
2024-10-15 14:30:59 +08:00
parent da3db7aee6
commit ca45839b2a
15 changed files with 262 additions and 35 deletions

View File

@@ -86,6 +86,7 @@ namespace Tnb.WarehouseMgr
string msg = "成功";
try
{
await s_MaterialSignSemaphore.WaitAsync();
if (input == null)
{
throw new ArgumentNullException(nameof(input));
@@ -691,6 +692,10 @@ namespace Tnb.WarehouseMgr
await _db.Ado.RollbackTranAsync();
throw new AppFriendlyException($"【MaterialSign】物料签收失败 {ex.Message}", 500);
}
finally
{
s_MaterialSignSemaphore.Release();
}
return msg;
}