Browse Source

修改jdbcType映射关系

tanghc 3 years ago
parent
commit
043101ae5e
2 changed files with 6 additions and 1 deletions
  1. 5 0
      changelog.md
  2. 1 1
      front/src/views/generate/index.vue

+ 5 - 0
changelog.md

@@ -1,5 +1,10 @@
 # changelog
 
+## 1.3.5
+
+- 修复mybatis的jdbcType隐射BIGINT错误
+- 修复oracle隐射number类型错误
+
 ## 1.3.4
 
 - 修复Mysql表名为关键字生成报错问题

+ 1 - 1
front/src/views/generate/index.vue

@@ -201,7 +201,7 @@ export default {
       if (this.tableSearch.length === 0) {
         return ''
       }
-      if (!(row.tableName && row.tableName.indexOf(this.tableSearch) > -1)) {
+      if (!(row.tableName && row.tableName.toLowerCase().indexOf(this.tableSearch.toLowerCase()) > -1)) {
         row.hidden = true
         return 'hidden-row';
       }