Commit 1ec66554 by chenweisong

更新

parent e2891d3b
......@@ -10,8 +10,6 @@ import com.keymobile.rest.model.User;
import com.keymobile.rest.service.*;
import com.keymobile.rest.service.TaskService;
import com.keymobile.rest.vo.DataVo;
import com.keymobile.rest.vo.ExcelVO;
import com.sun.xml.internal.ws.wsdl.writer.document.ParamType;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
......
......@@ -35,20 +35,20 @@ public class ProcessTest {
public void createActivitiTask() {
// 加载的我们创建好的demo.bpmn 文件还有png文件
// 获取流的引擎
ProcessEngine processEngine = ProcessEngines.getDefaultProcessEngine();
processEngine.getRepositoryService()
.createDeployment()
.addClasspathResource("demo.bpmn")
.addClasspathResource("demo.bpmn.png")
.deploy();
// ProcessEngine processEngine = ProcessEngines.getDefaultProcessEngine();
// processEngine.getRepositoryService()
// .createDeployment()
// .addClasspathResource("demo.bpmn")
// .addClasspathResource("demo.bpmn.png")
// .deploy();
}
@Test
public void start() {
ProcessEngine processEngine = ProcessEngines.getDefaultProcessEngine();
processEngine.getTaskService()
.complete("32502");
// ProcessEngine processEngine = ProcessEngines.getDefaultProcessEngine();
// processEngine.getTaskService()
// .complete("32502");
}
@Test
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment