From 4a47e4b93f62b5e636ac0e76f3e4ee98e2b83154 Mon Sep 17 00:00:00 2001 From: houzhongjian <houzhongyi@126.com> Date: 星期五, 02 八月 2024 08:32:55 +0800 Subject: [PATCH] 1、全局配置文件修改 2、工作流bpm功能修改 --- iailab-module-bpm/iailab-module-bpm-biz/src/main/java/com/iailab/module/bpm/service/definition/BpmProcessDefinitionServiceImpl.java | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/iailab-module-bpm/iailab-module-bpm-biz/src/main/java/com/iailab/module/bpm/service/definition/BpmProcessDefinitionServiceImpl.java b/iailab-module-bpm/iailab-module-bpm-biz/src/main/java/com/iailab/module/bpm/service/definition/BpmProcessDefinitionServiceImpl.java index 9f2de67..a59f234 100644 --- a/iailab-module-bpm/iailab-module-bpm-biz/src/main/java/com/iailab/module/bpm/service/definition/BpmProcessDefinitionServiceImpl.java +++ b/iailab-module-bpm/iailab-module-bpm-biz/src/main/java/com/iailab/module/bpm/service/definition/BpmProcessDefinitionServiceImpl.java @@ -195,7 +195,12 @@ query.active(); } // 执行查询 - query.processDefinitionTenantId(FlowableUtils.getTenantId()); + // 关闭多租户查询,不添加tenantId条件 + if (StrUtil.isNotBlank(FlowableUtils.getTenantId())) { + query.processDefinitionTenantId(FlowableUtils.getTenantId()); + } else { + query.processDefinitionWithoutTenantId(); + } return query.list(); } -- Gitblit v1.9.3