Skip to content

Boot版集成

工作流中使用

须知

使用低码版之前请确保工作流插件已升级到1.12.0版本及以上,并已成功集成。若你的工作流版本过低无法升级,可参考以下几次提交,修改后也可使用。

1、拷贝私服blade-lowcode项目源码到blade-plugin工程下

2、修改blade-plugin的pom.xml

modules中添加 <module>blade-lowcode</module>

3、拷贝私服blade-lowcode-api项目源码到blade-plugin-api工程下

4、修改blade-plugin-api的pom.xml

modules中添加 <module>blade-lowcode-api</module>

若没有依赖请添加,有依赖请忽略

xml
<dependencies>
    <dependency>
        <groupId>org.springblade</groupId>
        <artifactId>blade-starter-mybatis</artifactId>
    </dependency>
    <dependency>
        <groupId>org.springblade</groupId>
        <artifactId>blade-starter-tenant</artifactId>
    </dependency>
    <dependency>
        <groupId>org.springframework.cloud</groupId>
        <artifactId>spring-cloud-starter-openfeign</artifactId>
    </dependency>
    <dependency>
        <groupId>io.swagger.core.v3</groupId>
        <artifactId>swagger-annotations</artifactId>
    </dependency>
    <dependency>
        <groupId>org.springblade</groupId>
        <artifactId>blade-core-auto</artifactId>
        <scope>provided</scope>
    </dependency>
</dependencies>

5、修改工作流中插件的低代码服务类

将此类中的注释掉的代码全部打开,org.springblade.plugin.workflow.process.service.impl.WfLowcodeServiceImpl。其中包含

  • 包引入2处
  • service注入1处
  • 方法3处

单独使用

欠缺feign接口,等待bladex更新