flowable实战(一)flowable与spring boot集成
发布日期:2021-05-12 23:54:56 浏览次数:12 分类:精选文章

本文共 9568 字,大约阅读时间需要 31 分钟。

pom.xml������������

4.0.0
com.zjm
gwork
0.0.1-SNAPSHOT
jar
gwork
Spring Boot���������������Spring Boot 2.0.4.RELEASE
org.springframework.boot
spring-boot-starter-parent
2.0.4.RELEASE
UTF-8
UTF-8
1.8
6.4.1
5.1.46
org.springframework.boot
spring-boot-starter-web
org.springframework.boot
spring-boot-starter-logging
org.springframework.boot
spring-boot-starter-log4j2
org.mybatis.springframework.boot
mybatis-spring-boot-starter
1.3.2
org.springframework.boot
spring-boot-configuration-processor
true
org.flowable
flowable-spring-boot-starter
${flowable.version}
mysql
mysql-connector-java
${mysql.version}
org.springframework.boot
spring-boot-starter-test
test
org.springframework.boot
spring-boot-starter-security
io.jsonwebtoken
jjwt
0.9.1
com.fasterxml.jackson.core
jackson-core
com.fasterxml.jackson.core
jackson-databind
com.fasterxml.jackson.datatype
jackson-datatype-joda
com.fasterxml.jackson.module
jackson-module-parameter-names
com.github.pagehelper
pagehelper-spring-boot-starter
1.2.5
com.alibaba
druid-spring-boot-starter
1.1.9
javax.servlet
javax.servlet-api
provided
net.bytebuddy
byte-buddy
net.bytebuddy
byte-buddy-agent
test
org.mybatis.generator
mybatis-generator-maven-plugin
1.3.7
org.apache.poi
poi
3.17
org.apache.poi
poi-examples
3.17
org.apache.poi
poi-excelant
3.17
org.apache.poi
poi-scratchpad
3.17
org.apache.poi
poi-ooxml
3.17
org.apache.poi
poi-ooxml-schemas
3.17
org.apache.commons
commons-csv
1.6
org.springframework.boot
spring-boot-maven-plugin
org.mybatis.generator
mybatis-generator-maven-plugin
1.3.2
true
true
Generate MyBatis Artifacts
generate
org.mybatis.generator
mybatis-generator-core
1.3.2
src/main/java
**/*.xml

Spring Boot ������������������

package com.zjm.gwork;import javax.servlet.MultipartConfigElement;import org.mybatis.spring.annotation.MapperScan;import org.springframework.boot.SpringApplication;import org.springframework.boot.autoconfigure.EnableAutoConfiguration;import org.springframework.boot.autoconfigure.SpringBootApplication;import org.springframework.boot.web.servlet.MultipartConfigFactory;import org.springframework.boot.web.servlet.ServletComponentScan;import org.springframework.context.annotation.Bean;import org.springframework.context.annotation.ComponentScan;import java.io.File;@SpringBootApplication@EnableAutoConfiguration(exclude = {    org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration.class})@MapperScan("com.zjm.gwork.**.mapper")@ServletComponentScan("com.zjm.gwork.utils")public class GworkApplication {    public static void main(String[] args) {        SpringApplication.run(GworkApplication.class, args);    }    @Bean    public MultipartConfigElement multipartConfigElement() {        MultipartConfigFactory factory = new MultipartConfigFactory();        factory.setMaxFileSize("300MB");        factory.setMaxRequestSize("500MB");        String tempUrl = System.getProperty("user.dir") + File.separator + "bjgwork" + File.separator + "tmp";        File file = new File(tempUrl);        if (!file.exists()) {            file.mkdirs();        }        factory.setLocation(tempUrl);        return factory.createMultipartConfig();    }}

application.yml ���������������

server:    port: 7001spring:    datasource:        url: jdbc:mysql://localhost:3306/gwork?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&useSSL=false        username: root        password: root        druid:            filters: stat            driver-class-name: com.mysql.jdbc.Driver            initial-size: 2            min-idle: 2            max-active: 30            max-wait: 60000            time-between-eviction-runs-millis: 60000            min-evictable-idle-time-millis: 300000            validation-query: SELECT 'x'            test-while-idle: true            test-on-borrow: false            test-on-return: false            pool-prepared-statements: false            max-pool-prepared-statement-per-connection-size: 20    mapper-locations: classpath*:com/zjm/gwork/**/mapper/*xml    type-aliases-package: com.zjm.gwork.**.modelpagehelper:    helperDialect: mysql    reasonable: true    supportMethodsArguments: true    params: count=countSql    returnPageInfo: checkflowable:    check-process-definitions: falsedb-identity-used: truedatabase-schema-update: truehistory-level: full# ���������������������������uploadpath: c:\uploadfile\templatepath: c:\templatefile\mybatis

������������������������

  • ��������������� node + Vue.js ������
  • ��������������� Spring Boot 2.0.4.RELEASE��������� MyBatis ��� MySQL 5.6
  • ��������������������� Git ������������������������������������
  • ��������������������� Swagger ������ API ���������������������������
  • ��������������������������������������������������������� 70 ������
  • ������������������������ JRebel ������������������

������������

  • ������ Apache POI ������������ Word���Excel ������
  • ������ Commons CSV ������������������������������
  • ��������� Mentor ������������������������������������������
  • ������������������������ Druid ������������������
  • ��������� Flowable ���������������������

������������

  • ������������������������������ JRebel ������������
  • ��������� ������������ JWT ������������������
  • ��������� ��������������� ������������
  • ������������������ reviews ������������
上一篇:flowable实战(二)flowable流程模型管理接口
下一篇:flowable理论(四)flowable简介

发表评论

最新留言

不错!
[***.144.177.141]2025年04月04日 08时10分17秒