删除NonUnify
This commit is contained in:
@@ -153,9 +153,9 @@ namespace Tnb.WarehouseMgr
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
else
|
||||
{
|
||||
throw new AppFriendlyException("起始库位不可用或无可用的目标库位",500);
|
||||
throw new AppFriendlyException("起始库位不可用或无可用的目标库位", 500);
|
||||
}
|
||||
|
||||
await _db.Ado.CommitTranAsync();
|
||||
@@ -173,9 +173,10 @@ namespace Tnb.WarehouseMgr
|
||||
/// <param name="input"></param>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
[NonUnify]
|
||||
//[NonUnify]
|
||||
public async Task<dynamic> MesEmptyCarryInStock(MESEmptyCarryInStockInput input)
|
||||
{
|
||||
var isSuccessful = false;
|
||||
if (input.IsNull()) throw new ArgumentNullException("input");
|
||||
try
|
||||
{
|
||||
@@ -207,15 +208,15 @@ namespace Tnb.WarehouseMgr
|
||||
data = dic
|
||||
};
|
||||
await WmsEmptyIn(visualDevModelDataCrInput);
|
||||
|
||||
isSuccessful = true;
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
await _db.Ado.RollbackTranAsync();
|
||||
return await ToApiResult(JNPF.Common.Enums.HttpStatusCode.InternalServerError, ex.Message);
|
||||
//return await ToApiResult(JNPF.Common.Enums.HttpStatusCode.InternalServerError, ex.Message);
|
||||
}
|
||||
return ToApiResult();
|
||||
return isSuccessful;
|
||||
|
||||
}
|
||||
public async override Task ModifyAsync(WareHouseUpInput input)
|
||||
|
||||
Reference in New Issue
Block a user