|
@@ -78,21 +78,21 @@ public class StudentStatisticsServiceImpl extends BaseServiceImpl<Integer, Stude
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public StudentStatisticsSumDto studentSmallClassStatisticsSum(String groupType) {
|
|
|
- return studentStatisticsDao.studentSmallClassStatisticsSum(groupType);
|
|
|
+ public StudentStatisticsSumDto studentSmallClassStatisticsSum(String groupType,String organId) {
|
|
|
+ return studentStatisticsDao.studentSmallClassStatisticsSum(groupType,organId);
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public StudentStatisticsSumForDateDto studentSmallClassStatisticsSumForDate(String groupType, String startDate, String endDate) {
|
|
|
+ public StudentStatisticsSumForDateDto studentSmallClassStatisticsSumForDate(String groupType, String startDate, String endDate,String organId) {
|
|
|
StudentStatisticsSumForDateDto sumForDateDto = new StudentStatisticsSumForDateDto();
|
|
|
//获取流失人数
|
|
|
- sumForDateDto.setLostNum(studentStatisticsDao.countLostStudentNum(groupType,startDate,endDate));
|
|
|
+ sumForDateDto.setLostNum(studentStatisticsDao.countLostStudentNum(groupType,startDate,endDate,organId));
|
|
|
//获取新增人数
|
|
|
- sumForDateDto.setAddNum(studentStatisticsDao.countAddStudentNum(groupType,startDate,endDate));
|
|
|
+ sumForDateDto.setAddNum(studentStatisticsDao.countAddStudentNum(groupType,startDate,endDate,organId));
|
|
|
//获取续费人数
|
|
|
- sumForDateDto.setRenewNum(studentStatisticsDao.countRenewStudentNum(groupType,endDate));
|
|
|
+ sumForDateDto.setRenewNum(studentStatisticsDao.countRenewStudentNum(groupType,endDate,organId));
|
|
|
//获取回访人数
|
|
|
- sumForDateDto.setVisitNum(studentStatisticsDao.countVisitNum(groupType,startDate,endDate));
|
|
|
+ sumForDateDto.setVisitNum(studentStatisticsDao.countVisitNum(groupType,startDate,endDate,organId));
|
|
|
return sumForDateDto;
|
|
|
}
|
|
|
|