|
|
@@ -44,11 +44,16 @@ public class ExpertReviewServiceImpl extends ServiceImpl<ExpertReviewMapper, Exp |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public Map<Long, ExpertReview> listFinalReview(Long meetingId) { |
|
|
|
public Map<Long, ExpertReview> listFinalReviewMap(Long meetingId) { |
|
|
|
return CollUtils.listToMap(listFinalReview(meetingId), ExpertReview::getProjectId); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public List<ExpertReview> listFinalReview(Long meetingId) { |
|
|
|
LambdaQueryWrapper<ExpertReview> query = Wrappers.lambdaQuery(ExpertReview.class); |
|
|
|
query.eq(ExpertReview::getMeetingId, meetingId); |
|
|
|
query.eq(ExpertReview::getIsFinal, Boolean.TRUE); |
|
|
|
return CollUtils.listToMap(list(query), ExpertReview::getProjectId); |
|
|
|
return list(query); |
|
|
|
} |
|
|
|
|
|
|
|
} |