diff --git a/WarehouseMgr/Tnb.WarehouseMgr/WmsCarryService.cs b/WarehouseMgr/Tnb.WarehouseMgr/WmsCarryService.cs index c2d99f8a..ad7988b0 100644 --- a/WarehouseMgr/Tnb.WarehouseMgr/WmsCarryService.cs +++ b/WarehouseMgr/Tnb.WarehouseMgr/WmsCarryService.cs @@ -157,7 +157,7 @@ namespace Tnb.WarehouseMgr [NonAction] public async Task UpdateNullCarry(WmsCarryH carryObj) { - var row = -1; + var row = 1; try { carryObj.status = 0; @@ -184,6 +184,7 @@ namespace Tnb.WarehouseMgr } catch (Exception ex) { + row = 0; Log.Error("更新空载具出错", ex); throw; }