101captain
2021-12-23 11c9f6c502c6ff7cd24fd1b45af801c7bd3c3e08
12/23  大屏修改
1个文件已修改
6 ■■■■ 已修改文件
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/bigscreen/IndexReserveSub.java 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/bigscreen/IndexReserveSub.java
@@ -17,9 +17,9 @@
    @ApiModelProperty("总数")
    private Integer allCount;
    @ApiModelProperty("占比")
    private Integer percent;
    private int percent;
    public Integer getPercent() {
    public int getPercent() {
        this.percent=this.num*100/this.allCount;
        return this.percent;
    }
@@ -48,7 +48,7 @@
        this.allCount = allCount;
    }
    public void setPercent(Integer percent) {
    public void setPercent(int percent) {
        this.percent = percent;
    }