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();