现场问题处理

This commit is contained in:
2024-10-11 11:05:28 +08:00
parent 77dd50faed
commit 45b26f1f5c
10 changed files with 64 additions and 28 deletions

View File

@@ -381,7 +381,7 @@ namespace Tnb.WarehouseMgr
/// <exception cref="AppFriendlyException"></exception>
[HttpPost, NonUnify, AllowAnonymous]
public async Task<Tnb.WarehouseMgr.Entities.Dto.Outputs.Result> MaterialByCarry(MaterialByCarryInput input)
public async Task<dynamic> MaterialByCarry(MaterialByCarryInput input)
{
try
{
@@ -499,13 +499,13 @@ namespace Tnb.WarehouseMgr
}
}
return await ToApiResult(HttpStatusCode.OK, "成功", wmsCarryCodes);
return "成功";
}
catch (Exception ex)
{
await _db.Ado.RollbackTranAsync();
return await ToApiResult(HttpStatusCode.InternalServerError, ex.Message);
throw new AppFriendlyException(ex.Message, 500);
}
}
}