fix: 1.oracle切换至pgsql之后 自动处理模块修改代码

This commit is contained in:
xiaoguangbin 2024-12-20 10:02:48 +08:00
parent 33b6031031
commit 7df755d8c9

View File

@ -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();
}
}