From 79a26eb86cec13de8b187474d093a5bec1faebfe Mon Sep 17 00:00:00 2001 From: joylink_zhangsai <1021828630@qq.com> Date: Thu, 6 May 2021 17:04:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=BA=E6=99=AF=E5=BD=95=E9=9F=B3=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E6=9F=A5=E8=AF=A2bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../services/completition/CompetitionPracticalService.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/club/joylink/rtss/services/completition/CompetitionPracticalService.java b/src/main/java/club/joylink/rtss/services/completition/CompetitionPracticalService.java index d5a458ee8..fb0577c86 100644 --- a/src/main/java/club/joylink/rtss/services/completition/CompetitionPracticalService.java +++ b/src/main/java/club/joylink/rtss/services/completition/CompetitionPracticalService.java @@ -523,10 +523,10 @@ public class CompetitionPracticalService implements ICompetitionPracticalService @Override public List queryVoiceRecordUsers(Long competitionId) { - CompetitionRecordExample example = new CompetitionRecordExample(); + CompetitionVoiceRecordExample example = new CompetitionVoiceRecordExample(); example.createCriteria().andCompetitionIdEqualTo(competitionId); - List records = competitionRecordDAO.selectByExample(example); - List userIds = records.stream().map(CompetitionRecord::getUserId).collect(Collectors.toList()); + List records = competitionVoiceRecordDAO.selectByExample(example); + List userIds = records.stream().map(CompetitionVoiceRecord::getUserId).collect(Collectors.toList()); return iSysUserService.queryUsers(userIds); }