소스 검색

新生报到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);
     }