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 { ...@@ -20,7 +20,7 @@ public class Permission {
private String code; private String code;
private String parentId; private String parentId;
private Boolean isActive; private Boolean isActive;
private Boolean pLevel; private Short pLevel;
private String relyOnCodes; private String relyOnCodes;
private String menuId; private String menuId;
private String serviceTypeId; private String serviceTypeId;
...@@ -82,11 +82,11 @@ public class Permission { ...@@ -82,11 +82,11 @@ public class Permission {
@Basic @Basic
@Column(name = "P_LEVEL", nullable = false) @Column(name = "P_LEVEL", nullable = false)
public Boolean getpLevel() { public Short getPLevel() {
return pLevel; return pLevel;
} }
public void setpLevel(Boolean pLevel) { public void setPLevel(Short pLevel) {
this.pLevel = pLevel; this.pLevel = pLevel;
} }
......
...@@ -26,7 +26,7 @@ public class PeriodTemplate { ...@@ -26,7 +26,7 @@ public class PeriodTemplate {
private Date createTime; private Date createTime;
private Date updateTime; private Date updateTime;
private Boolean isSystemType; private Boolean isSystemType;
private Integer isActiveAssociation; private Boolean isActiveAssociation;
private String parentId; private String parentId;
private Long templateId; private Long templateId;
private String createBy; private String createBy;
...@@ -154,11 +154,11 @@ public class PeriodTemplate { ...@@ -154,11 +154,11 @@ public class PeriodTemplate {
@Basic @Basic
@Column(name = "IS_ACTIVE_ASSOCIATION", nullable = false) @Column(name = "IS_ACTIVE_ASSOCIATION", nullable = false)
@ColumnDefault(DEF_DEFAULT_NUMBER) @ColumnDefault(DEF_DEFAULT_NUMBER)
public Integer getIsActiveAssociation() { public Boolean getIsActiveAssociation() {
return isActiveAssociation; return isActiveAssociation;
} }
public void setIsActiveAssociation(Integer isActiveAssociation) { public void setIsActiveAssociation(Boolean isActiveAssociation) {
this.isActiveAssociation = isActiveAssociation; this.isActiveAssociation = isActiveAssociation;
} }
......
...@@ -130,6 +130,8 @@ public class GenGeneratorXml { ...@@ -130,6 +130,8 @@ public class GenGeneratorXml {
return "java.lang.Long"; return "java.lang.Long";
case "BigDecimal": case "BigDecimal":
return "java.math.BigDecimal"; return "java.math.BigDecimal";
case "Short":
return "java.lang.Short";
} }
return javaType; 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