浏览代码

Merge branch 'lcy' of http://47.107.53.207:3000/traineeCoder001/Bailian-Al

JensionDzero 1 年之前
父节点
当前提交
6604a03c0a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ruoyi-demo/src/main/java/com/ruoyi/demo/entity/bo/BrandGeoLabelBo.java

+ 1 - 1
ruoyi-demo/src/main/java/com/ruoyi/demo/entity/bo/BrandGeoLabelBo.java

@@ -22,7 +22,7 @@ public class BrandGeoLabelBo implements Serializable {
         } else {
             this.total = total;
             float ratio = (float) total / count;
-            this.ratio = ratio + "%";
+            this.ratio = (ratio * 100) + "%";
         }
     }
 }