فهرست منبع

新生报到bug解决

dzx 1 سال پیش
والد
کامیت
472d6e169a
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/main/java/com/xjrsoft/module/student/controller/StudentReportRecordController.java

+ 1 - 1
src/main/java/com/xjrsoft/module/student/controller/StudentReportRecordController.java

@@ -253,7 +253,7 @@ public class StudentReportRecordController {
         if( statisticsVo.getAllCount() != 0){
             divide = BigDecimal.valueOf(statisticsVo.getArrivedCount()).divide(BigDecimal.valueOf(statisticsVo.getAllCount()), 4, RoundingMode.HALF_UP);
         }
-        statisticsVo.setReportRate(divide.doubleValue());
+        statisticsVo.setReportRate(divide.doubleValue() * 100);
         return RT.ok(statisticsVo);
     }