分拣任务变更 现场问题处理
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user