hexiao 2 سال پیش
والد
کامیت
97690ae7ef
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      base-framework/src/main/java/com/ozs/framework/config/CipherMybatisPlusConfig.java

+ 2 - 2
base-framework/src/main/java/com/ozs/framework/config/CipherMybatisPlusConfig.java

@@ -17,7 +17,7 @@ import org.springframework.context.annotation.Configuration;
 @MapperScan("com.ozs.*.mapper")
 @MapperScan("com.ozs.*.mapper")
 public class CipherMybatisPlusConfig {
 public class CipherMybatisPlusConfig {
 
 
-    @Value("${base.sql-type:mysql}")
+    @Value("${base.sql-type:kingbasees}")
     private String type;
     private String type;
 
 
 
 
@@ -26,7 +26,7 @@ public class CipherMybatisPlusConfig {
         MybatisPlusInterceptor interceptor = new MybatisPlusInterceptor();
         MybatisPlusInterceptor interceptor = new MybatisPlusInterceptor();
 
 
         // 自定义拦截器,先添加先执行。
         // 自定义拦截器,先添加先执行。
-        if (type.equals(DbType.POSTGRE_SQL.getDb())) {
+        if (type.equals(DbType.KINGBASE_ES.getDb())) {
             interceptor.addInnerInterceptor(new PostgreSqlMybatisIntercepts());
             interceptor.addInnerInterceptor(new PostgreSqlMybatisIntercepts());
         }
         }