首页 星云 工具 资源 星选 资讯 热门工具
:

PDF转图片 完全免费 小红书视频下载 无水印 抖音视频下载 无水印 数字星空

camunda.demo

后端 60.41KB 23 需要积分: 1
立即下载

资源介绍:

camunda.demo
package com.example.service.impl; import com.example.domain.DeployInfo; import com.example.domain.ProcessInstanceInfo; import com.example.domain.TaskInfo; import com.example.service.CamundaService; import org.camunda.bpm.engine.RepositoryService; import org.camunda.bpm.engine.RuntimeService; import org.camunda.bpm.engine.TaskService; import org.camunda.bpm.engine.repository.Deployment; import org.camunda.bpm.engine.runtime.ProcessInstance; import org.camunda.bpm.engine.task.Task; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import java.util.List; /** * @ClassName: CamundaServiceImpl * @Description: * @Author: Bo.You.Li * @Date: 2024/6/29 * @Version: 1.0 **/ @Service public class CamundaServiceImpl implements CamundaService { @Autowired private RepositoryService repositoryService; @Autowired private RuntimeService runtimeService; @Autowired private TaskService taskService; public DeployInfo deploy(DeployInfo deployInfo) { Deployment deployDemo1 = repositoryService.createDeployment() .name(deployInfo.getName()) .addClasspathResource(deployInfo.getBpmnFile()) .deploy(); deployInfo.setId(deployDemo1.getId()); return deployInfo; } public ProcessInstanceInfo start(ProcessInstanceInfo processInstanceInfo) { ProcessInstance processInstance = runtimeService.startProcessInstanceById(processInstanceInfo.getProcessID()); processInstanceInfo.setProcessInstanceID(processInstance.getProcessInstanceId()); return processInstanceInfo; } public List getTaskList(TaskInfo taskInfo) { return taskService.createTaskQuery().taskAssignee(taskInfo.getAssignee()).list(); } }

资源文件列表:

camunda.zip 大约有123个文件
  1. camunda/.idea/
  2. camunda/.idea/.gitignore 50B
  3. camunda/.idea/camunda.iml 366B
  4. camunda/.idea/compiler.xml 651B
  5. camunda/.idea/encodings.xml 470B
  6. camunda/.idea/jarRepositories.xml 1.04KB
  7. camunda/.idea/misc.xml 685B
  8. camunda/.idea/modules.xml 273B
  9. camunda/.idea/uiDesigner.xml 8.71KB
  10. camunda/.idea/workspace.xml 4.99KB
  11. camunda/camunda-demo2/
  12. camunda/camunda-demo2/pom.xml 3.08KB
  13. camunda/camunda-demo2/src/
  14. camunda/camunda-demo2/src/main/
  15. camunda/camunda-demo2/src/main/java/
  16. camunda/camunda-demo2/src/main/java/com/
  17. camunda/camunda-demo2/src/main/java/com/example/
  18. camunda/camunda-demo2/src/main/java/com/example/Application2.java 298B
  19. camunda/camunda-demo2/src/main/java/com/example/controller/
  20. camunda/camunda-demo2/src/main/java/com/example/controller/UserController.java 750B
  21. camunda/camunda-demo2/src/main/java/com/example/domain/
  22. camunda/camunda-demo2/src/main/java/com/example/domain/User.java 430B
  23. camunda/camunda-demo2/src/main/java/com/example/mapper/
  24. camunda/camunda-demo2/src/main/java/com/example/mapper/UserMapper.java 357B
  25. camunda/camunda-demo2/src/main/java/com/example/service/
  26. camunda/camunda-demo2/src/main/java/com/example/service/impl/
  27. camunda/camunda-demo2/src/main/java/com/example/service/impl/UserServiceImpl.java 640B
  28. camunda/camunda-demo2/src/main/java/com/example/service/UserService.java 273B
  29. camunda/camunda-demo2/src/main/resources/
  30. camunda/camunda-demo2/src/main/resources/application.yaml 457B
  31. camunda/camunda-demo2/src/main/resources/process.bpmn 2.2KB
  32. camunda/camunda-demo2/target/
  33. camunda/camunda-demo2/target/camunda-demo2-1.0.0-SNAPSHOT.jar 7.46KB
  34. camunda/camunda-demo2/target/classes/
  35. camunda/camunda-demo2/target/classes/application.yaml 457B
  36. camunda/camunda-demo2/target/classes/com/
  37. camunda/camunda-demo2/target/classes/com/example/
  38. camunda/camunda-demo2/target/classes/com/example/Application2.class 684B
  39. camunda/camunda-demo2/target/classes/com/example/controller/
  40. camunda/camunda-demo2/target/classes/com/example/controller/UserController.class 931B
  41. camunda/camunda-demo2/target/classes/com/example/domain/
  42. camunda/camunda-demo2/target/classes/com/example/domain/User.class 2.01KB
  43. camunda/camunda-demo2/target/classes/com/example/mapper/
  44. camunda/camunda-demo2/target/classes/com/example/mapper/UserMapper.class 373B
  45. camunda/camunda-demo2/target/classes/com/example/service/
  46. camunda/camunda-demo2/target/classes/com/example/service/impl/
  47. camunda/camunda-demo2/target/classes/com/example/service/impl/UserServiceImpl.class 872B
  48. camunda/camunda-demo2/target/classes/com/example/service/UserService.class 229B
  49. camunda/camunda-demo2/target/classes/process.bpmn 2.2KB
  50. camunda/camunda-demo2/target/generated-sources/
  51. camunda/camunda-demo2/target/generated-sources/annotations/
  52. camunda/camunda-demo2/target/maven-archiver/
  53. camunda/camunda-demo2/target/maven-archiver/pom.properties 123B
  54. camunda/camunda-demo2/target/maven-status/
  55. camunda/camunda-demo2/target/maven-status/maven-compiler-plugin/
  56. camunda/camunda-demo2/target/maven-status/maven-compiler-plugin/compile/
  57. camunda/camunda-demo2/target/maven-status/maven-compiler-plugin/compile/default-compile/
  58. camunda/camunda-demo2/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst 241B
  59. camunda/camunda-demo2/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst 571B
  60. camunda/camunda-demo3/
  61. camunda/camunda-demo3/pom.xml 3.42KB
  62. camunda/camunda-demo3/src/
  63. camunda/camunda-demo3/src/main/
  64. camunda/camunda-demo3/src/main/java/
  65. camunda/camunda-demo3/src/main/java/com/
  66. camunda/camunda-demo3/src/main/java/com/example/
  67. camunda/camunda-demo3/src/main/java/com/example/Application3.java 381B
  68. camunda/camunda-demo3/src/main/java/com/example/controller/
  69. camunda/camunda-demo3/src/main/java/com/example/controller/CamundaController.java 1.14KB
  70. camunda/camunda-demo3/src/main/java/com/example/controller/UserController.java 750B
  71. camunda/camunda-demo3/src/main/java/com/example/domain/
  72. camunda/camunda-demo3/src/main/java/com/example/domain/DeployInfo.java 287B
  73. camunda/camunda-demo3/src/main/java/com/example/domain/ProcessInstanceInfo.java 323B
  74. camunda/camunda-demo3/src/main/java/com/example/domain/TaskInfo.java 237B
  75. camunda/camunda-demo3/src/main/java/com/example/entity/
  76. camunda/camunda-demo3/src/main/java/com/example/entity/User.java 430B
  77. camunda/camunda-demo3/src/main/java/com/example/mapper/
  78. camunda/camunda-demo3/src/main/java/com/example/mapper/UserMapper.java 357B
  79. camunda/camunda-demo3/src/main/java/com/example/service/
  80. camunda/camunda-demo3/src/main/java/com/example/service/ApproveService.java 286B
  81. camunda/camunda-demo3/src/main/java/com/example/service/CamundaService.java 790B
  82. camunda/camunda-demo3/src/main/java/com/example/service/impl/
  83. camunda/camunda-demo3/src/main/java/com/example/service/impl/ApproveServiceImpl.java 919B
  84. camunda/camunda-demo3/src/main/java/com/example/service/impl/CamundaServiceImpl.java 1.95KB
  85. camunda/camunda-demo3/src/main/java/com/example/service/impl/UserServiceImpl.java 640B
  86. camunda/camunda-demo3/src/main/java/com/example/service/UserService.java 273B
  87. camunda/camunda-demo3/src/main/resources/
  88. camunda/camunda-demo3/src/main/resources/application.yaml 610B
  89. camunda/camunda-demo3/src/main/resources/camundamodeler.bpmn 7.35KB
  90. camunda/camunda-demo3/src/main/resources/camundaplugin.bpmn 1021B
  91. camunda/camunda-demo3/src/main/resources/process1.bpmn 6.79KB
  92. camunda/camunda-demo3/target/
  93. camunda/camunda-demo3/target/classes/
  94. camunda/camunda-demo3/target/classes/application.yaml 610B
  95. camunda/camunda-demo3/target/classes/camundamodeler.bpmn 7.35KB
  96. camunda/camunda-demo3/target/classes/camundaplugin.bpmn 1021B
  97. camunda/camunda-demo3/target/classes/com/
  98. camunda/camunda-demo3/target/classes/com/example/
  99. camunda/camunda-demo3/target/classes/com/example/Application3.class 770B
  100. camunda/camunda-demo3/target/classes/com/example/controller/
  101. camunda/camunda-demo3/target/classes/com/example/controller/CamundaController.class 1.69KB
  102. camunda/camunda-demo3/target/classes/com/example/controller/UserController.class 931B
  103. camunda/camunda-demo3/target/classes/com/example/domain/
  104. camunda/camunda-demo3/target/classes/com/example/domain/DeployInfo.class 2.15KB
  105. camunda/camunda-demo3/target/classes/com/example/domain/ProcessInstanceInfo.class 2.3KB
  106. camunda/camunda-demo3/target/classes/com/example/domain/TaskInfo.class 1.38KB
  107. camunda/camunda-demo3/target/classes/com/example/entity/
  108. camunda/camunda-demo3/target/classes/com/example/entity/User.class 2.01KB
  109. camunda/camunda-demo3/target/classes/com/example/mapper/
  110. camunda/camunda-demo3/target/classes/com/example/mapper/UserMapper.class 373B
  111. camunda/camunda-demo3/target/classes/com/example/service/
  112. camunda/camunda-demo3/target/classes/com/example/service/ApproveService.class 216B
  113. camunda/camunda-demo3/target/classes/com/example/service/CamundaService.class 492B
  114. camunda/camunda-demo3/target/classes/com/example/service/impl/
  115. camunda/camunda-demo3/target/classes/com/example/service/impl/ApproveServiceImpl.class 1.14KB
  116. camunda/camunda-demo3/target/classes/com/example/service/impl/CamundaServiceImpl.class 2.94KB
  117. camunda/camunda-demo3/target/classes/com/example/service/impl/UserServiceImpl.class 872B
  118. camunda/camunda-demo3/target/classes/com/example/service/UserService.class 229B
  119. camunda/camunda-demo3/target/classes/process1.bpmn 6.79KB
  120. camunda/camunda-demo3/target/generated-sources/
  121. camunda/camunda-demo3/target/generated-sources/annotations/
  122. camunda/file/
  123. camunda/file/db.sql 2.32KB
0评论
提交 加载更多评论
其他资源 图片加载系统俄文企鹅企鹅去问驱蚊器饿
很简单的、
c语言推箱子小游戏2024(附完整文档和说明)
c语言推箱子小游戏2024(附完整文档和说明) http://t.csdnimg.cn/G09ij
cf手机分屏雷达最新版源码
cf手机分屏雷达最新版源码
动力小学期安排.zip
动力小学期安排.zip
springboot+vue“智慧食堂”设计与实现 LW PPT
springboot+vue“智慧食堂”设计与实现 LW PPT
基于用户的协同过滤推荐算在Python中的应用(源代码)
这是 《基于用户的协同过滤推荐算在Python中的 应用》中提到的项目源代码,要求你本地具备 Python 环境才可运行,项目代码从 CSV 数据源中导入数据,并经过分析计算,预测出目标用户对于特定条目的评分。下载后需配合原文使用,原文地址:https://blog.csdn.net/oLawrencedon/article/details/140084671
正点原子stm32f103ZET6驱动BH1750
下载后直接可用,按文件里的串口配置,将杜邦线连接到BH1750模块,即可使用单片机驱动BH1750,对环境的光照强度进行精确测量
[一键部署 - 搭配教程 ] Lyrify-聚合翻译网站项目
[本项目非本人原创,原项目地址https://github.com/SIPC/Lyrify] ·本资源会同步原作者在github上的更新,且不会靠此项目进行任何商业或盈利 ———————————————————————————————————— Lyrify 是一个聚合翻译网站,旨在结合多种翻译服务,提供全面的多语言翻译功能. *** 特性 *** -- 聚合多种翻译服务:支持 ChatGPT、Gemini、DeeplX、Microsoft、Google、 Niutrans、M2m100 -- 简单易用:用户友好的界面,使用户能够轻松输入和获取翻译结果。 -- 多语言支持:覆盖多种语言,支持用户在不同语言之间进行翻译。 -- 轻量部署:基于 Nextjs 构建,支持 Docker 等部署方式。 ———————————————————————————————————— 本资源建议搭配 http://t.csdnimg.cn/QV6Iq 中的这篇文章食用,可以更快的搭建部署这个项目哦,
[一键部署 - 搭配教程 ] Lyrify-聚合翻译网站项目