Browse Source

修改报告内容维度得分百分比提交

zsy 1 year ago
parent
commit
5b87630075

+ 1 - 1
src/main/java/com/rf/psychological/scale/rest/WebScaleResultController.java

@@ -291,7 +291,7 @@ public class WebScaleResultController extends BaseController {
                     newResultDtos.get(y).setMinScore(String.valueOf(minScore));
                     newResultDtos.get(y).setMaxScore(String.valueOf(maxScore));
                     DecimalFormat df   = new DecimalFormat("######0.00");
-                    String percent = Double.parseDouble(df.format((Double.parseDouble(newResultDtos.get(y).getScore())-minScore)/(maxScore-minScore)*100)) + "%";
+                    String percent = Double.parseDouble(df.format((Double.parseDouble(newResultDtos.get(y).getScore())-minScore)/(maxScore-minScore)*100))+"";
                     newResultDtos.get(y).setPercent(percent);
                 }
             }