|
@@ -207,7 +207,11 @@ public class SysMusicCompareRecordServiceImpl extends BaseServiceImpl<Long, SysM
|
|
|
head = userTrainStat.get(i);
|
|
|
}
|
|
|
}
|
|
|
- head.setStudentNum(studentDao.countStudentsWithOrgan(null));
|
|
|
+ Map<String,Object> params = new HashMap<String, Object>();
|
|
|
+ params.put("tenantId", queryInfo.getTenantId());
|
|
|
+ params.put("organIds", queryInfo.getOrganId()+"");
|
|
|
+
|
|
|
+ head.setStudentNum(studentDao.countStudentsWithOrgan(params));
|
|
|
if(StringUtils.isBlank(head.getAvatar())){
|
|
|
SysUser user = sysUserFeignService.queryUserById(queryInfo.getUserId());
|
|
|
if(user != null){
|