Browse Source

生成页面时不忽略remark属性

tags/v2.2
RuoYi 4 years ago
parent
commit
a7d93d38ce
  1. 2
      ruoyi-modules/ruoyi-gen/src/main/java/com/ruoyi/gen/domain/GenTableColumn.java
  2. 2
      ruoyi-ui/src/utils/request.js

2
ruoyi-modules/ruoyi-gen/src/main/java/com/ruoyi/gen/domain/GenTableColumn.java

@ -341,7 +341,7 @@ public class GenTableColumn extends BaseEntity
public static boolean isUsableColumn(String javaField) public static boolean isUsableColumn(String javaField)
{ {
// isSuperColumn()中的名单用于避免生成多余Domain属性,若某些属性在生成页面时需要用到不能忽略,则放在此处白名单 // isSuperColumn()中的名单用于避免生成多余Domain属性,若某些属性在生成页面时需要用到不能忽略,则放在此处白名单
return StringUtils.equalsAnyIgnoreCase(javaField, "parentId", "orderNum"); return StringUtils.equalsAnyIgnoreCase(javaField, "parentId", "orderNum", "remark");
} }
public String readConverterExp() public String readConverterExp()

2
ruoyi-ui/src/utils/request.js

@ -110,6 +110,4 @@ export function download(url, params, filename) {
}) })
} }
export default service export default service

Loading…
Cancel
Save