|
@@ -248,6 +248,12 @@ public class StudentReportRecordController {
|
|
|
);
|
|
|
}
|
|
|
statisticsVo.setGraduatedUniversityList(graduatedUniversityList);
|
|
|
+
|
|
|
+ BigDecimal divide = BigDecimal.ZERO;
|
|
|
+ if( statisticsVo.getAllCount() != 0){
|
|
|
+ divide = BigDecimal.valueOf(statisticsVo.getArrivedCount()).divide(BigDecimal.valueOf(statisticsVo.getAllCount()), 4, RoundingMode.HALF_UP);
|
|
|
+ }
|
|
|
+ statisticsVo.setReportRate(divide.doubleValue());
|
|
|
return RT.ok(statisticsVo);
|
|
|
}
|
|
|
|