You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
long 983aad0da6 项目首次提交 2 years ago
..
db 项目首次提交 2 years ago
doc 项目首次提交 2 years ago
src/main 项目首次提交 2 years ago
pom.xml 项目首次提交 2 years ago
readme.md 项目首次提交 2 years ago

readme.md

Jeecg-Boot 快速开发平台(前后端分离版本 之 activiti)

基于 https://github.com/zhangdaiscott/jeecg-boot 开源版的activiti流程扩展

activiti 模块说明

------- from pmc

使用activiti5.22.0版本

  • JeecgApplication.java
    修改注解
@SpringBootApplication(exclude = {org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration.class,
        org.springframework.boot.actuate.autoconfigure.security.servlet.ManagementWebSecurityAutoConfiguration.class
,org.activiti.spring.boot.SecurityAutoConfiguration.class
})
  • jeecg-boot/jeecg-boot-module-system/pom.xml 添加依赖
<dependency>
    <groupId>org.jeecgframework.boot</groupId>
    <artifactId>hy-boot-module-activiti</artifactId>
    <version>${jeecgboot.version}</version>
</dependency>
  • jeecg-boot/pom.xml 添加

hy-boot-module-activiti

<modules>
    <module>jeecg-boot-base-common</module>
    <module>jeecg-boot-module-system</module>
    <module>hy-boot-module-activiti</module>
</modules>
  • jeecg-boot/hy-boot-module-activiti/db/ 文件夹内数据库初始化文件

其他,可网上搜索activiti 5.22.0 版本

  • ShiroConfig.java
    添加过滤路径
//activiti
filterChainDefinitionMap.put("/activiti/**", "anon");
filterChainDefinitionMap.put("/diagram-viewer/**", "anon");
filterChainDefinitionMap.put("/editor-app/**", "anon");
  • 启动

功能齐备,使用方法自己研究,正常开发者看看代码就应该会,看不会我解释起来也会挺费劲的。通过流程模块的七个菜单走查代码即可(看不见菜单,请先执行activiti模块包下的相关增量sql,再给菜单授权即可。),代码简单易读,一年经验的开发者读懂毫无问题!