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