update 优化 工作流配置书写错误
This commit is contained in:
parent
62b7d96551
commit
3444b50da6
@ -196,7 +196,7 @@ public class SysTenantServiceImpl implements ISysTenantService {
|
||||
configMapper.insertBatch(sysConfigList);
|
||||
|
||||
// 未开启工作流不执行下方操作
|
||||
if (SpringUtils.getProperty("work-flow.enabled", Boolean.class, false)) {
|
||||
if (SpringUtils.getProperty("warm-flow.enabled", Boolean.class, false)) {
|
||||
WorkflowService workflowService = SpringUtils.getBean(WorkflowService.class);
|
||||
// 新增租户流程定义
|
||||
workflowService.syncDef(tenantId);
|
||||
|
@ -9,6 +9,6 @@ import java.lang.annotation.Target;
|
||||
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target({ ElementType.TYPE, ElementType.METHOD })
|
||||
@ConditionalOnProperty(value = "work-flow.enabled", havingValue = "true")
|
||||
@ConditionalOnProperty(value = "warm-flow.enabled", havingValue = "true")
|
||||
public @interface ConditionalOnEnable {
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user