瀏覽代碼

fix 修复 postgreSQL 代码生成 查出多余的已删除字段

疯狂的狮子Li 3 年之前
父節點
當前提交
edeaee1706
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      ruoyi-modules/ruoyi-gen/src/main/resources/mapper/generator/GenTableColumnMapper.xml

+ 1 - 0
ruoyi-modules/ruoyi-gen/src/main/resources/mapper/generator/GenTableColumnMapper.xml

@@ -93,6 +93,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             ORDER BY c.relname, a.attnum
             ) temp
             WHERE table_name = (#{tableName})
+                AND column_type <![CDATA[ <> ]]> '-'
         </if>
 	</select>