二楼自动下发中储仓任务

This commit is contained in:
2024-05-15 12:26:32 +08:00
parent 977f138445
commit 9effa30fb0
7 changed files with 205 additions and 26 deletions

View File

@@ -341,7 +341,7 @@ namespace Tnb.WarehouseMgr
catch (Exception ex)
{
await _db.Ado.RollbackTranAsync();
throw;
return await ToApiResult(HttpStatusCode.InternalServerError, ex.Message);
}
finally
{
@@ -389,7 +389,7 @@ namespace Tnb.WarehouseMgr
catch (Exception ex)
{
await _db.Ado.RollbackTranAsync();
throw;
return await ToApiResult(HttpStatusCode.InternalServerError, ex.Message);
}
return await ToApiResult(HttpStatusCode.OK, "成功");