springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/bigscreen/IndexReserveSub.java
@@ -17,12 +17,11 @@ @ApiModelProperty("总数") private Integer allCount; @ApiModelProperty("占比") @JsonIgnoreProperties private Integer percent; private int percent; public Integer getPercent() { percent=num*100/allCount; return percent; public int getPercent() { this.percent=this.num*100/this.allCount; return this.percent; } public Integer getKey() { @@ -49,7 +48,7 @@ this.allCount = allCount; } public void setPercent(Integer percent) { public void setPercent(int percent) { this.percent = percent; }