Эх сурвалжийг харах

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

JensionDzero 1 жил өмнө
parent
commit
6604a03c0a

+ 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) + "%";
         }
     }
 }