|
|
@ -3,6 +3,7 @@ package com.example.demo.controller; |
|
|
|
import com.example.demo.entity.Holiday; |
|
|
|
import io.swagger.annotations.Api; |
|
|
|
import io.swagger.annotations.ApiOperation; |
|
|
|
import org.activiti.api.task.runtime.TaskRuntime; |
|
|
|
import org.activiti.engine.ProcessEngine; |
|
|
|
import org.activiti.engine.RepositoryService; |
|
|
|
import org.activiti.engine.RuntimeService; |
|
|
@ -34,6 +35,9 @@ public class HolidayController { |
|
|
|
@Autowired |
|
|
|
private ProcessEngine processEngine; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
private TaskRuntime taskRuntime; |
|
|
|
|
|
|
|
@ApiOperation(value = "发布工作流") |
|
|
|
@GetMapping("deploy") |
|
|
|
public void deploy() { |
|
|
|