|
@@ -108,7 +108,7 @@ public class StudentStatisticsServiceImpl extends BaseServiceImpl<Integer, Stude
|
|
|
Map<String, Object> params = new HashMap<String, Object>();
|
|
|
MapUtil.populateMap(params, queryInfo);
|
|
|
if(StringUtils.isNotEmpty(queryInfo.getOrganId())){
|
|
|
- List<Integer> organIdList = Arrays.stream(queryInfo.getOrganId().split(",")).map(id -> Integer.valueOf(id)).collect(Collectors.toList());
|
|
|
+ List<Integer> organIdList = Arrays.stream(queryInfo.getOrganId().split(",")).map(Integer::valueOf).collect(Collectors.toList());
|
|
|
params.put("organIdList",organIdList);
|
|
|
}
|
|
|
return studentStatisticsDao.countStatistics(params);
|
|
@@ -141,7 +141,7 @@ public class StudentStatisticsServiceImpl extends BaseServiceImpl<Integer, Stude
|
|
|
public StudentStatisticsSumDto studentSmallClassStatisticsSum(String groupType,String organId) {
|
|
|
List<Integer> organIdList = new ArrayList<>();
|
|
|
if(StringUtils.isNotEmpty(organId)){
|
|
|
- organIdList = Arrays.stream(organId.split(",")).map(id -> Integer.valueOf(id)).collect(Collectors.toList());
|
|
|
+ organIdList = Arrays.stream(organId.split(",")).map(Integer::valueOf).collect(Collectors.toList());
|
|
|
}
|
|
|
StudentStatisticsSumDto dto = studentStatisticsDao.studentSmallClassStatisticsSum(groupType, organIdList);
|
|
|
//获取进行中的学员数量
|
|
@@ -157,7 +157,7 @@ public class StudentStatisticsServiceImpl extends BaseServiceImpl<Integer, Stude
|
|
|
StudentStatisticsSumForDateDto sumForDateDto = new StudentStatisticsSumForDateDto();
|
|
|
List<Integer> organIdList = new ArrayList<>();
|
|
|
if(StringUtils.isNotEmpty(organId)){
|
|
|
- organIdList = Arrays.stream(organId.split(",")).map(id -> Integer.valueOf(id)).collect(Collectors.toList());
|
|
|
+ organIdList = Arrays.stream(organId.split(",")).map(Integer::valueOf).collect(Collectors.toList());
|
|
|
}
|
|
|
//获取流失人数
|
|
|
// sumForDateDto.setLostNum(studentStatisticsDao.countLostStudentNum(groupType,startDate,endDate,organIdList));
|