Giter VIP home page Giter VIP logo

springboot-activiti's Introduction

Activiti 流

参考资料

  1. IDEA中安装activiti并使用
  2. 2019最全Activiti6.0框架自动创建表的3种方式

实战

基本的CRUD (主要是针对sql/table.sql中的表操作)

  1. 表上的创建:com.activity.app.test.HelloWord
  2. 流程部署:com.activity.app.crud.ProcessDeployTest
  3. 流程定义:com.activity.app.crud.ProcessDefinitionTest
  4. 流程实例:com.activity.app.crud.ProcessInstanceTest
  5. 流程实例:com.activity.app.crud.ProcessVariableTest
  6. 流程实例:com.activity.app.crud.HistoryQueryTest

提高

  1. 连线:com.activity.app.connectline.SequenceFlowTest
  2. 排他网关:com.activity.app.connectline.ExclusiveGateWayTest
  3. 并行网关:com.activity.app.connectline.ParallelGateWayTest
  4. 开始流程节点:com.activity.app.connectline.StartProcessTest
  5. 接受任务测试:com.activity.app.connectline.ReceiveTaskTest
  6. 个人任务测试(第一、二种方式):com.activity.app.connectline.UserTaskTest
  7. 个人任务测试(第三种方式,查数据库):com.activity.app.connectline.UserTask1Test
  8. 组+角色+拾取的管理:com.activity.app.connectline.GroupRoleTest
  9. 组任务+拾取:com.activity.app.connectline.GroupTaskTest

问题

  1. 连接Mysql编码问题
//连接Mysql数据库的时候
     String url = "jdbc:mysql://localhost:3306/credit?autoReconnect=true&useUnicode=true&characterEncoding=utf8";
      String userName = "root";
        String password="root";
//应该注意设置字符的编码;
//如果是在XML文件中配置,则是 jdbc:mysql://localhost:3306/credit?autoReconnect=true&useUnicode=true&characterEncoding=utf8; 因为&就是&符号。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.