From f9724d9694e0acd42182ee0b541fabeb08e71c3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B5=87=E6=96=87=E9=BE=99?= Date: Wed, 28 Aug 2024 18:28:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9B=E5=BB=BA=E5=85=B3=E8=81=94=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Op/Method/TaskInteraction/ActionManagerService.cs | 3 --- .../DS.WMS.Core/Op/Method/TaskInteraction/TaskService.cs | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/ds-wms-service/DS.WMS.Core/Op/Method/TaskInteraction/ActionManagerService.cs b/ds-wms-service/DS.WMS.Core/Op/Method/TaskInteraction/ActionManagerService.cs index cab4e6b0..c1a58338 100644 --- a/ds-wms-service/DS.WMS.Core/Op/Method/TaskInteraction/ActionManagerService.cs +++ b/ds-wms-service/DS.WMS.Core/Op/Method/TaskInteraction/ActionManagerService.cs @@ -234,9 +234,6 @@ namespace DS.WMS.Core.Op.Method.TaskInteraction + Environment.NewLine + "调用堆栈:" + ex.StackTrace); return DataResult.FailedWithDesc(MultiLanguageConst.Operation_Failed); } - - //TaskFlowRuner taskFlow = new(TenantDb, ServiceProvider); - //await taskFlow.RunWithBsno(businessTask.TaskType, businessTask.BusinessId, dataContext); } /// diff --git a/ds-wms-service/DS.WMS.Core/Op/Method/TaskInteraction/TaskService.cs b/ds-wms-service/DS.WMS.Core/Op/Method/TaskInteraction/TaskService.cs index 1bec9ffd..b9897801 100644 --- a/ds-wms-service/DS.WMS.Core/Op/Method/TaskInteraction/TaskService.cs +++ b/ds-wms-service/DS.WMS.Core/Op/Method/TaskInteraction/TaskService.cs @@ -248,7 +248,7 @@ namespace DS.WMS.Core.Op.Method.TaskInteraction CreateTime = DateTime.Now }; - if (!task.NextType.HasValue) + if (IsOrderType(request.TaskType) && !task.NextType.HasValue) task.NextType = await GetNextTypeAsync(task); await TenantDb.Insertable(task).ExecuteCommandAsync();