From 0213fb907ac9cb0e0ebfb62919cfd61fd554920a Mon Sep 17 00:00:00 2001 From: FanLian Date: Mon, 10 Jul 2023 13:57:39 +0800 Subject: [PATCH] bug --- WarehouseMgr/Tnb.WarehouseMgr/WmsEmptyInstockService.cs | 2 ++ WarehouseMgr/Tnb.WarehouseMgr/WmskittingOutService.cs | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/WarehouseMgr/Tnb.WarehouseMgr/WmsEmptyInstockService.cs b/WarehouseMgr/Tnb.WarehouseMgr/WmsEmptyInstockService.cs index 64d6f972..62f3cc8b 100644 --- a/WarehouseMgr/Tnb.WarehouseMgr/WmsEmptyInstockService.cs +++ b/WarehouseMgr/Tnb.WarehouseMgr/WmsEmptyInstockService.cs @@ -202,6 +202,8 @@ namespace Tnb.WarehouseMgr data = dic }; await WmsEmptyIn(visualDevModelDataCrInput); + + } } catch (Exception ex) { diff --git a/WarehouseMgr/Tnb.WarehouseMgr/WmskittingOutService.cs b/WarehouseMgr/Tnb.WarehouseMgr/WmskittingOutService.cs index 8588294e..08f8e2fb 100644 --- a/WarehouseMgr/Tnb.WarehouseMgr/WmskittingOutService.cs +++ b/WarehouseMgr/Tnb.WarehouseMgr/WmskittingOutService.cs @@ -53,8 +53,7 @@ namespace Tnb.WarehouseMgr /// [HttpPost] public async Task KittingOutByAdd() - { - if (input.IsNull()) throw new ArgumentNullException("input"); + { try { await _db.Ado.BeginTranAsync(); @@ -291,6 +290,7 @@ namespace Tnb.WarehouseMgr [HttpPost] public async Task MESKittingOutStk(List input) { + if (input.IsNull()) throw new ArgumentNullException("input"); try { await _db.Ado.BeginTranAsync();