添加获取首字母大写Java字段名的方法,移除GenTableColumn类中的空行,修复controller模板中的格式问题
This commit is contained in:
parent
ea6de77f33
commit
3de8d85cb1
@ -86,7 +86,6 @@ public class GenTableColumn extends BaseEntity {
|
||||
@Deprecated
|
||||
private String subColumnName;
|
||||
|
||||
|
||||
/** 映射字段Java字段名 */
|
||||
@Deprecated
|
||||
private String subColumnJavaField;
|
||||
@ -95,6 +94,10 @@ public class GenTableColumn extends BaseEntity {
|
||||
@Deprecated
|
||||
private String subColumnJavaType;
|
||||
|
||||
public String getCapJavaField() {
|
||||
return StringUtils.capitalize(javaField);
|
||||
}
|
||||
|
||||
public boolean isPk() {
|
||||
return isPk(this.isPk);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user