From e2c3615e087fab7de03c0a5de86d7ad237df5496 Mon Sep 17 00:00:00 2001 From: majian <780924089@qq.com> Date: Mon, 26 Aug 2024 09:39:00 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=B5=E6=A2=AF=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ProductionMgr/Tnb.ProductionMgr/RedisBackGround.cs | 5 +++-- WarehouseMgr/Tnb.WarehouseMgr/WmsMaterialSignHService.cs | 7 +++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ProductionMgr/Tnb.ProductionMgr/RedisBackGround.cs b/ProductionMgr/Tnb.ProductionMgr/RedisBackGround.cs index 05997d4e..d445a368 100644 --- a/ProductionMgr/Tnb.ProductionMgr/RedisBackGround.cs +++ b/ProductionMgr/Tnb.ProductionMgr/RedisBackGround.cs @@ -1918,10 +1918,11 @@ where carry_code = '{coderesult}' and status = '{WmsWareHouseConst.TASK_BILL_STA async void ElevatorTaskExceptionHandle(object args) { + if (s_elevatortask.CurrentCount == 0) + return; + try { - if (s_elevatortask.CurrentCount == 0) - return; await s_elevatortask.WaitAsync(); List elevatorTasks = db_ElevatorTaskExceptionHandle.Queryable() .Where(r => r.startlocation_code.Contains("DT") && r.endlocation_code.Contains("DT") && r.act_start_date == null && r.act_end_date == null diff --git a/WarehouseMgr/Tnb.WarehouseMgr/WmsMaterialSignHService.cs b/WarehouseMgr/Tnb.WarehouseMgr/WmsMaterialSignHService.cs index 6420c3d0..05b469a4 100644 --- a/WarehouseMgr/Tnb.WarehouseMgr/WmsMaterialSignHService.cs +++ b/WarehouseMgr/Tnb.WarehouseMgr/WmsMaterialSignHService.cs @@ -344,6 +344,13 @@ namespace Tnb.WarehouseMgr // thirdWebapiRecord.create_time = DateTime.Now; // await _db.Insertable(thirdWebapiRecord).ExecuteCommandAsync(); + break; + } + case WmsWareHouseConst.BIZTYPE_WMSMATERIALTRANSFER_ID: + { + // 对接其它出库 出库数量为签收数量 + + break; } }