From c5e4f223a2696787a92b31fb65c0e8c9e9f39755 Mon Sep 17 00:00:00 2001 From: FanLian Date: Thu, 13 Jul 2023 15:25:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E7=BB=95=E8=BF=87=E6=A1=86?= =?UTF-8?q?=E6=9E=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WarehouseMgr/Tnb.WarehouseMgr/WmsEmptyInstockService.cs | 1 - WarehouseMgr/Tnb.WarehouseMgr/WmsEmptyOutstockService .cs | 1 - WarehouseMgr/Tnb.WarehouseMgr/WmsOutStockService.cs | 2 +- WarehouseMgr/Tnb.WarehouseMgr/WmsSignForDeliveryService.cs | 2 +- WarehouseMgr/Tnb.WarehouseMgr/WmskittingOutService.cs | 1 - 5 files changed, 2 insertions(+), 5 deletions(-) diff --git a/WarehouseMgr/Tnb.WarehouseMgr/WmsEmptyInstockService.cs b/WarehouseMgr/Tnb.WarehouseMgr/WmsEmptyInstockService.cs index 820e6316..5593e3b7 100644 --- a/WarehouseMgr/Tnb.WarehouseMgr/WmsEmptyInstockService.cs +++ b/WarehouseMgr/Tnb.WarehouseMgr/WmsEmptyInstockService.cs @@ -173,7 +173,6 @@ namespace Tnb.WarehouseMgr /// /// [HttpPost] - [NonUnify] public async Task MesEmptyCarryInStock(MESEmptyCarryInStockInput input) { if (input.IsNull()) throw new ArgumentNullException("input"); diff --git a/WarehouseMgr/Tnb.WarehouseMgr/WmsEmptyOutstockService .cs b/WarehouseMgr/Tnb.WarehouseMgr/WmsEmptyOutstockService .cs index a2282770..63f2391c 100644 --- a/WarehouseMgr/Tnb.WarehouseMgr/WmsEmptyOutstockService .cs +++ b/WarehouseMgr/Tnb.WarehouseMgr/WmsEmptyOutstockService .cs @@ -221,7 +221,6 @@ namespace Tnb.WarehouseMgr /// /// [HttpPost] - [NonUnify] public async Task MESEmptyCarryOutStk(MESEmptyCarryOutStkInput input) { if (input.IsNull()) throw new ArgumentNullException("input"); diff --git a/WarehouseMgr/Tnb.WarehouseMgr/WmsOutStockService.cs b/WarehouseMgr/Tnb.WarehouseMgr/WmsOutStockService.cs index df13798d..3d410a0a 100644 --- a/WarehouseMgr/Tnb.WarehouseMgr/WmsOutStockService.cs +++ b/WarehouseMgr/Tnb.WarehouseMgr/WmsOutStockService.cs @@ -505,7 +505,7 @@ namespace Tnb.WarehouseMgr { outstockDs.ForEach(x => x.line_status = WmsWareHouseConst.BILLSTATUS_ON_ID); await _db.Updateable(outstockDs).UpdateColumns(it => it.line_status).ExecuteCommandAsync(); - await _db.Updateable(outstock).SetColumns(it => new WmsOutstockH { status = WmsWareHouseConst.BILLSTATUS_ON_ID }).ExecuteCommandAsync(); + await _db.Updateable().SetColumns(it => new WmsOutstockH { status = WmsWareHouseConst.BILLSTATUS_ON_ID }).Where(it=>it.id == outstock.id).ExecuteCommandAsync(); GenPreTaskUpInput genPreTaskAfterUpInput = new(); genPreTaskAfterUpInput.CarryIds = preTasks.Select(x => x.carry_id).ToList(); genPreTaskAfterUpInput.LocationIds = new HashSet(locIds).ToList(); diff --git a/WarehouseMgr/Tnb.WarehouseMgr/WmsSignForDeliveryService.cs b/WarehouseMgr/Tnb.WarehouseMgr/WmsSignForDeliveryService.cs index 366b22d5..dd4dc423 100644 --- a/WarehouseMgr/Tnb.WarehouseMgr/WmsSignForDeliveryService.cs +++ b/WarehouseMgr/Tnb.WarehouseMgr/WmsSignForDeliveryService.cs @@ -129,7 +129,7 @@ namespace Tnb.WarehouseMgr /// /// /// - [HttpPost, NonUnify] + [HttpPost] public async Task MESCarrySign(MESCarrySignInput input) { if (input.IsNull()) throw new ArgumentNullException("input"); diff --git a/WarehouseMgr/Tnb.WarehouseMgr/WmskittingOutService.cs b/WarehouseMgr/Tnb.WarehouseMgr/WmskittingOutService.cs index 36733438..9c873d78 100644 --- a/WarehouseMgr/Tnb.WarehouseMgr/WmskittingOutService.cs +++ b/WarehouseMgr/Tnb.WarehouseMgr/WmskittingOutService.cs @@ -302,7 +302,6 @@ namespace Tnb.WarehouseMgr /// /// [HttpPost] - [NonUnify] public async Task MESKittingOutStk(List input) { if (input.IsNull()) throw new ArgumentNullException("input");