场景录音用户查询bug修改
This commit is contained in:
parent
5284177cf2
commit
79a26eb86c
@ -523,10 +523,10 @@ public class CompetitionPracticalService implements ICompetitionPracticalService
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<UserVO> queryVoiceRecordUsers(Long competitionId) {
|
public List<UserVO> queryVoiceRecordUsers(Long competitionId) {
|
||||||
CompetitionRecordExample example = new CompetitionRecordExample();
|
CompetitionVoiceRecordExample example = new CompetitionVoiceRecordExample();
|
||||||
example.createCriteria().andCompetitionIdEqualTo(competitionId);
|
example.createCriteria().andCompetitionIdEqualTo(competitionId);
|
||||||
List<CompetitionRecord> records = competitionRecordDAO.selectByExample(example);
|
List<CompetitionVoiceRecord> records = competitionVoiceRecordDAO.selectByExample(example);
|
||||||
List<Long> userIds = records.stream().map(CompetitionRecord::getUserId).collect(Collectors.toList());
|
List<Long> userIds = records.stream().map(CompetitionVoiceRecord::getUserId).collect(Collectors.toList());
|
||||||
return iSysUserService.queryUsers(userIds);
|
return iSysUserService.queryUsers(userIds);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user