cjy 3 months ago
commit 2d29138319

@ -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);
}
/// <summary>

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

Loading…
Cancel
Save