Browse Source

runtime

master
燕鹏 4 years ago
parent
commit
a050a8b15e
  1. 4
      src/main/java/com/example/demo/controller/HolidayController.java

4
src/main/java/com/example/demo/controller/HolidayController.java

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

Loading…
Cancel
Save