Explorar o código

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

疯狂的狮子Li %!s(int64=3) %!d(string=hai) anos
pai
achega
edeaee1706

+ 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>