|
@@ -1026,16 +1026,16 @@ public class StudentServiceImpl extends BaseServiceImpl<Integer, Student> implem
|
|
|
@Override
|
|
|
public CloudStudyStudentDataDto getCloudStudyStudentOverView(List<Integer> organIds) {
|
|
|
CloudStudyStudentDataDto result = new CloudStudyStudentDataDto();
|
|
|
- result.setTotalStudentNum(studentDao.getOrgansTotalStudentNum(organIds));
|
|
|
+// result.setTotalStudentNum(studentDao.getOrgansTotalStudentNum(organIds));
|
|
|
result.setVipStudentNum(cloudTeacherDao.getOrgansTotalVipStudentNum(organIds));
|
|
|
- result.seteVipStudentNum(studentDao.getOrgansTotalEVipStudentNum(organIds));
|
|
|
+// result.seteVipStudentNum(studentDao.getOrgansTotalEVipStudentNum(organIds));
|
|
|
result.setCloudStudyUseStudentNum(studentDao.getOrgansTotalCloudStudyStudentNum(organIds));
|
|
|
result.setCloudStudyTodayUseStudentNum(studentDao.getOrgansTodayTotalCloudStudyStudentNum(organIds));
|
|
|
result.setCloudStudyLivelyStudentNum(studentDao.getOrganTotalCloudStudyLivelyStudentNum(organIds));
|
|
|
result.setNewCloudStudyStudentNum(sysMusicCompareRecordDao.getOrgansTotalNewCloudStudyNum(organIds));
|
|
|
- if(result.getVipStudentNum()>0&&result.getTotalStudentNum()>0){
|
|
|
- result.setVipStudentDuty(new BigDecimal(result.getVipStudentNum()).divide(new BigDecimal(result.getTotalStudentNum()), 4, BigDecimal.ROUND_DOWN).multiply(new BigDecimal(100)).floatValue());
|
|
|
- }
|
|
|
+// if(result.getVipStudentNum()>0&&result.getTotalStudentNum()>0){
|
|
|
+// result.setVipStudentDuty(new BigDecimal(result.getVipStudentNum()).divide(new BigDecimal(result.getTotalStudentNum()), 4, BigDecimal.ROUND_DOWN).multiply(new BigDecimal(100)).floatValue());
|
|
|
+// }
|
|
|
return result;
|
|
|
}
|
|
|
|