Commit f0d4f543 authored by neo's avatar neo

[dev] fixed some declare field type to real used type

parent 2846661e
......@@ -20,7 +20,7 @@ public class Permission {
private String code;
private String parentId;
private Boolean isActive;
private Boolean pLevel;
private Short pLevel;
private String relyOnCodes;
private String menuId;
private String serviceTypeId;
......@@ -82,11 +82,11 @@ public class Permission {
@Basic
@Column(name = "P_LEVEL", nullable = false)
public Boolean getpLevel() {
public Short getPLevel() {
return pLevel;
}
public void setpLevel(Boolean pLevel) {
public void setPLevel(Short pLevel) {
this.pLevel = pLevel;
}
......
......@@ -26,7 +26,7 @@ public class PeriodTemplate {
private Date createTime;
private Date updateTime;
private Boolean isSystemType;
private Integer isActiveAssociation;
private Boolean isActiveAssociation;
private String parentId;
private Long templateId;
private String createBy;
......@@ -154,11 +154,11 @@ public class PeriodTemplate {
@Basic
@Column(name = "IS_ACTIVE_ASSOCIATION", nullable = false)
@ColumnDefault(DEF_DEFAULT_NUMBER)
public Integer getIsActiveAssociation() {
public Boolean getIsActiveAssociation() {
return isActiveAssociation;
}
public void setIsActiveAssociation(Integer isActiveAssociation) {
public void setIsActiveAssociation(Boolean isActiveAssociation) {
this.isActiveAssociation = isActiveAssociation;
}
......
......@@ -130,6 +130,8 @@ public class GenGeneratorXml {
return "java.lang.Long";
case "BigDecimal":
return "java.math.BigDecimal";
case "Short":
return "java.lang.Short";
}
return javaType;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment