Parcourir la source

feat:智能陪练一期

Joburgess il y a 3 ans
Parent
commit
c6bc838fc3

+ 1 - 1
mec-biz/src/main/java/com/ym/mec/biz/service/impl/SysMusicCompareRecordServiceImpl.java

@@ -121,7 +121,7 @@ public class SysMusicCompareRecordServiceImpl extends BaseServiceImpl<Long, SysM
 				break;
 				break;
 		}
 		}
 
 
-		List<Integer> studentIds = detail.stream().limit(10).map(MusicCompareRankingDto::getUserId).collect(Collectors.toList());
+		List<Integer> studentIds = userTrainStat.stream().limit(10).map(MusicCompareRankingDto::getUserId).collect(Collectors.toList());
 		Map<Integer, String> studentSubjectMap = new HashMap<>();
 		Map<Integer, String> studentSubjectMap = new HashMap<>();
 		if(!CollectionUtils.isEmpty(studentIds)){
 		if(!CollectionUtils.isEmpty(studentIds)){
 			List<Map<Integer, String>> studentSubjectMapList = studentDao.getStudentSubjectMapList(studentIds);
 			List<Map<Integer, String>> studentSubjectMapList = studentDao.getStudentSubjectMapList(studentIds);