!474 增加达梦数据库的驱动和SQL文件
This commit is contained in:
parent
2247f21db8
commit
a3b007b462
5713
sql/dm/ruoyi-vue-pro-dm8.sql
Normal file
5713
sql/dm/ruoyi-vue-pro-dm8.sql
Normal file
File diff suppressed because it is too large
Load Diff
@ -30,6 +30,7 @@
|
|||||||
<mybatis-plus-generator.version>3.5.3.1</mybatis-plus-generator.version>
|
<mybatis-plus-generator.version>3.5.3.1</mybatis-plus-generator.version>
|
||||||
<dynamic-datasource.version>3.6.1</dynamic-datasource.version>
|
<dynamic-datasource.version>3.6.1</dynamic-datasource.version>
|
||||||
<redisson.version>3.18.0</redisson.version>
|
<redisson.version>3.18.0</redisson.version>
|
||||||
|
<dm8.jdbc.version>8.1.2.141</dm8.jdbc.version>
|
||||||
<!-- RPC 相关 -->
|
<!-- RPC 相关 -->
|
||||||
<dubbo.version>2.7.18</dubbo.version>
|
<dubbo.version>2.7.18</dubbo.version>
|
||||||
<!-- Config 配置中心相关 -->
|
<!-- Config 配置中心相关 -->
|
||||||
@ -285,6 +286,12 @@
|
|||||||
<version>${redisson.version}</version>
|
<version>${redisson.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.dameng</groupId>
|
||||||
|
<artifactId>DmJdbcDriver18</artifactId>
|
||||||
|
<version>${dm8.jdbc.version}</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
<!-- RPC 远程调用相关 -->
|
<!-- RPC 远程调用相关 -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.dubbo</groupId>
|
<groupId>org.apache.dubbo</groupId>
|
||||||
|
@ -45,6 +45,10 @@
|
|||||||
<groupId>com.microsoft.sqlserver</groupId>
|
<groupId>com.microsoft.sqlserver</groupId>
|
||||||
<artifactId>mssql-jdbc</artifactId>
|
<artifactId>mssql-jdbc</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.dameng</groupId>
|
||||||
|
<artifactId>DmJdbcDriver18</artifactId>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.alibaba</groupId>
|
<groupId>com.alibaba</groupId>
|
||||||
|
@ -5,10 +5,7 @@ import cn.iocoder.yudao.framework.mybatis.core.handler.DefaultDBFieldHandler;
|
|||||||
import com.baomidou.mybatisplus.annotation.DbType;
|
import com.baomidou.mybatisplus.annotation.DbType;
|
||||||
import com.baomidou.mybatisplus.core.handlers.MetaObjectHandler;
|
import com.baomidou.mybatisplus.core.handlers.MetaObjectHandler;
|
||||||
import com.baomidou.mybatisplus.core.incrementer.IKeyGenerator;
|
import com.baomidou.mybatisplus.core.incrementer.IKeyGenerator;
|
||||||
import com.baomidou.mybatisplus.extension.incrementer.H2KeyGenerator;
|
import com.baomidou.mybatisplus.extension.incrementer.*;
|
||||||
import com.baomidou.mybatisplus.extension.incrementer.KingbaseKeyGenerator;
|
|
||||||
import com.baomidou.mybatisplus.extension.incrementer.OracleKeyGenerator;
|
|
||||||
import com.baomidou.mybatisplus.extension.incrementer.PostgreKeyGenerator;
|
|
||||||
import com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor;
|
import com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor;
|
||||||
import com.baomidou.mybatisplus.extension.plugins.inner.PaginationInnerInterceptor;
|
import com.baomidou.mybatisplus.extension.plugins.inner.PaginationInnerInterceptor;
|
||||||
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Mapper;
|
||||||
@ -56,6 +53,8 @@ public class YudaoMybatisAutoConfiguration {
|
|||||||
return new H2KeyGenerator();
|
return new H2KeyGenerator();
|
||||||
case KINGBASE_ES:
|
case KINGBASE_ES:
|
||||||
return new KingbaseKeyGenerator();
|
return new KingbaseKeyGenerator();
|
||||||
|
case DM:
|
||||||
|
return new DmKeyGenerator();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 找不到合适的 IKeyGenerator 实现类
|
// 找不到合适的 IKeyGenerator 实现类
|
||||||
|
Loading…
Reference in New Issue
Block a user