|
@@ -1685,7 +1685,7 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
|
|
vo.setProjectId(courseProjectTypeVo.getId().intValue());
|
|
vo.setProjectId(courseProjectTypeVo.getId().intValue());
|
|
vo.setEducationName(courseProjectTypeVo.getEducationName());
|
|
vo.setEducationName(courseProjectTypeVo.getEducationName());
|
|
vo.setEducationTypeId(courseProjectTypeVo.getEducationId().longValue());
|
|
vo.setEducationTypeId(courseProjectTypeVo.getEducationId().longValue());
|
|
- List<ClassGradeUserVo> countList = queryCountList(courseProjectTypeVo.getId().intValue(), 0);
|
|
|
|
|
|
+ List<ClassGradeUserVo> countList = baseMapper.queryCountList(courseProjectTypeVo.getId().intValue(), courseBusinessVo.getId().intValue(), 0);
|
|
for (ClassGradeUserVo classGradeUser : countList) {
|
|
for (ClassGradeUserVo classGradeUser : countList) {
|
|
if (Validator.isNotEmpty(classGradeUser.getLearnStatus())) {
|
|
if (Validator.isNotEmpty(classGradeUser.getLearnStatus())) {
|
|
//统计账号未开通数量
|
|
//统计账号未开通数量
|
|
@@ -1728,7 +1728,7 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
|
|
}
|
|
}
|
|
}
|
|
}
|
|
//统计所有班级人数
|
|
//统计所有班级人数
|
|
- vo.setUserNum(queryCountList(courseProjectTypeVo.getId().intValue(), null).size());
|
|
|
|
|
|
+ vo.setUserNum(baseMapper.queryCountList(courseProjectTypeVo.getId().intValue(), courseBusinessVo.getId().intValue(), null).size());
|
|
vo.setNotConfiguredNum(notConfiguredNum);
|
|
vo.setNotConfiguredNum(notConfiguredNum);
|
|
vo.setInterfaceNum(interfaceNum);
|
|
vo.setInterfaceNum(interfaceNum);
|
|
vo.setNoInterfaceNum(noInterfaceNum);
|
|
vo.setNoInterfaceNum(noInterfaceNum);
|
|
@@ -1749,11 +1749,6 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
- private List<ClassGradeUserVo> queryCountList(Integer projectId, Integer all) {
|
|
|
|
- return baseMapper.queryCountList(projectId, all);
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
-
|
|
|
|
/**
|
|
/**
|
|
* 实体类转化成视图对象
|
|
* 实体类转化成视图对象
|
|
*
|
|
*
|