fix: 1.oracle切换至pgsql之后 自动处理模块修改代码
This commit is contained in:
parent
33b6031031
commit
7df755d8c9
|
@ -0,0 +1,13 @@
|
||||||
|
package org.jeecg.config.mybatis;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.incrementer.PostgreKeyGenerator;
|
||||||
|
import org.springframework.context.annotation.Bean;
|
||||||
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
|
@Component("MybatisPlusKeyGenerator")
|
||||||
|
public class MybatisPlusKeyGenerator {
|
||||||
|
@Bean
|
||||||
|
public PostgreKeyGenerator postgreKeyGenerator(){
|
||||||
|
return new PostgreKeyGenerator();
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user