fix(ruoyi-generator): 修复使用postgreSQL数据库时实体类代码生成多余的已删除字段的属性bug

This commit is contained in:
杨祖安 2023-03-08 19:52:45 +08:00
parent a2d8ff9286
commit 8f87da19ea

View File

@ -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>
<if test="@com.ruoyi.common.helper.DataBaseHelper@isSqlServer()">
SELECT