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