diff --git a/scaleph-api/src/main/java/cn/sliew/scaleph/api/controller/workflow/WorkflowController.java b/scaleph-api/src/main/java/cn/sliew/scaleph/api/controller/workflow/WorkflowController.java index 8c0d124de..4c776a26b 100644 --- a/scaleph-api/src/main/java/cn/sliew/scaleph/api/controller/workflow/WorkflowController.java +++ b/scaleph-api/src/main/java/cn/sliew/scaleph/api/controller/workflow/WorkflowController.java @@ -21,8 +21,6 @@ import cn.sliew.scaleph.api.annotation.Logging; import cn.sliew.scaleph.system.model.ResponseVO; import cn.sliew.scaleph.workflow.service.WorkflowDefinitionService; -import cn.sliew.scaleph.workflow.service.WorkflowInstanceService; -import cn.sliew.scaleph.workflow.service.WorkflowTaskInstanceService; import cn.sliew.scaleph.workflow.service.dto.WorkflowDefinitionDTO; import cn.sliew.scaleph.workflow.service.dto.WorkflowTaskDefinitionDTO; import cn.sliew.scaleph.workflow.service.param.WorkflowDefinitionListParam; @@ -48,10 +46,6 @@ public class WorkflowController { @Autowired private WorkflowDefinitionService workflowDefinitionService; - @Autowired - private WorkflowInstanceService workflowInstanceService; - @Autowired - private WorkflowTaskInstanceService workflowTaskInstanceService; @Logging @GetMapping diff --git a/scaleph-workflow/scaleph-workflow-simple/src/main/java/cn/sliew/scaleph/workflow/simple/statemachine/WorkflowInstanceStateMachine.java b/scaleph-workflow/scaleph-workflow-simple/src/main/java/cn/sliew/scaleph/workflow/simple/statemachine/WorkflowInstanceStateMachine.java index 2622fd8d2..8d9e4eefa 100644 --- a/scaleph-workflow/scaleph-workflow-simple/src/main/java/cn/sliew/scaleph/workflow/simple/statemachine/WorkflowInstanceStateMachine.java +++ b/scaleph-workflow/scaleph-workflow-simple/src/main/java/cn/sliew/scaleph/workflow/simple/statemachine/WorkflowInstanceStateMachine.java @@ -26,7 +26,6 @@ import cn.sliew.scaleph.queue.Queue; import cn.sliew.scaleph.queue.QueueFactory; import cn.sliew.scaleph.queue.util.FuryUtil; -import cn.sliew.scaleph.workflow.service.dto.WorkflowInstanceDTO; import cn.sliew.scaleph.workflow.simple.listener.workflowinstance.*; import com.alibaba.cola.statemachine.Action; import com.alibaba.cola.statemachine.StateMachine;