| | |
| | | configMapper.insertBatch(sysConfigList); |
| | | |
| | | // 未开启工作流不执行下方操作 |
| | | if (SpringUtils.getProperty("workflow.enabled", Boolean.class, false)) { |
| | | if (SpringUtils.getProperty("work-flow.enabled", Boolean.class, false)) { |
| | | WorkflowService workflowService = SpringUtils.getBean(WorkflowService.class); |
| | | // 新增租户流程定义 |
| | | workflowService.syncDef(tenantId); |
| | |
| | | |
| | | @Retention(RetentionPolicy.RUNTIME) |
| | | @Target({ ElementType.TYPE, ElementType.METHOD }) |
| | | @ConditionalOnProperty(value = "workflow.enabled", havingValue = "true") |
| | | @ConditionalOnProperty(value = "work-flow.enabled", havingValue = "true") |
| | | public @interface ConditionalOnEnable { |
| | | } |