xiangpei
2024-11-25 ff0b9a49ddc15af57c7bc84f3b926bddcd0937c8
flowable管理接口bug
3个文件已修改
19 ■■■■ 已修改文件
flowable/src/main/java/com/ycl/controller/FlowController.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
flowable/src/main/java/com/ycl/controller/ModelManageController.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
start/src/main/resources/application.yml 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
flowable/src/main/java/com/ycl/controller/FlowController.java
@@ -90,10 +90,10 @@
    }
    @ApiOperation("查询已部署工作流列表")
    @RequestMapping(value = "/getprocesslists", method = RequestMethod.POST)
    @GetMapping(value = "/getprocesslists")
    @ResponseBody
    public TableDataInfo getlist(@RequestParam(required = false) String key, @RequestParam(required = false) String name,
                                 @RequestParam(required = false) Boolean latest, Integer pageSize, Integer pageNum) {
                                 @RequestParam(required = true) Boolean latest, Integer pageSize, Integer pageNum) {
        ProcessDefinitionQuery queryCondition = repositoryService.createProcessDefinitionQuery();
        if (StringUtils.isNotEmpty(key)) {
            queryCondition.processDefinitionKey(key);
flowable/src/main/java/com/ycl/controller/ModelManageController.java
@@ -45,7 +45,7 @@
    @ApiOperation("查询所有模型")
    @RequestMapping(value = "/modelLists", method = RequestMethod.POST)
    @GetMapping(value = "/modelLists")
    @ResponseBody
    public TableDataInfo modelLists(@RequestParam(required = false) String key, @RequestParam(required = false) String name,
                                    Integer pageSize, Integer pageNum) {
start/src/main/resources/application.yml
@@ -119,16 +119,15 @@
# 工作流 Flowable 配置
# 工作流 Flowable 配置,flowable完整的配置,参见:@see https://www.flowable.com/open-source/docs/bpmn/ch05a-Spring-Boot/#flowable-application-properties
flowable:
  database-schema: project_management
  database-schema-update: true  # 自动更新flowable表结构,第一次连接数据库时可以设置为true
  # 关闭各个模块生成表,目前只使用工作流基础表
  idm:
  idm:  # idm是flowable的身份管理模块:即用户、认证、权限等
    enabled: false
  cmmn:
  cmmn: # cmmn是flowable的案例管理模块,体现在flowable-ui中的:流程建模器、UI,@see https://www.flowable.com/open-source/docs/cmmn/ch06-cmmn
    enabled: false
  dmn:
  dmn: # dmn是flowable的决策模型,体现在flowable-ui中的决策表  @see https://www.flowable.com/open-source/docs/dmn/ch06-DMN-Introduction
    enabled: false
  app:
    enabled: false
  app: # app的功能是为flowable在spring中高效运行而提供了很多bean,与flowable本身的内容无关
    enabled: true