
10 changed files with 120 additions and 28 deletions
@ -0,0 +1,28 @@ |
|||
/* |
|||
package com.yxt.anrui.flowable.config; |
|||
|
|||
import org.flowable.common.engine.impl.persistence.StrongUuidGenerator; |
|||
import org.flowable.spring.SpringProcessEngineConfiguration; |
|||
import org.flowable.spring.boot.EngineConfigurationConfigurer; |
|||
import org.flowable.spring.boot.ProcessEngineConfigurationConfigurer; |
|||
import org.springframework.context.annotation.Bean; |
|||
import org.springframework.context.annotation.Configuration; |
|||
import org.springframework.context.annotation.Profile; |
|||
|
|||
*/ |
|||
/** |
|||
* @description: |
|||
* @author: dimengzhe |
|||
* @date: 2025/4/21 |
|||
**//*
|
|||
|
|||
@Configuration |
|||
@Profile("test") |
|||
public class FlowableUuidConfig { |
|||
|
|||
@Bean |
|||
public EngineConfigurationConfigurer<SpringProcessEngineConfiguration> idGeneratorConfigurer() { |
|||
return configuration -> configuration.setIdGenerator(new StrongUuidGenerator()); |
|||
} |
|||
} |
|||
*/ |
Loading…
Reference in new issue