提交 79e58951 编写于 作者: minghao.wu's avatar minghao.wu

feature: 返回roundDetalV2中设置默认的round为列表中最后一个

上级 8e6df446
......@@ -629,9 +629,11 @@ public class AnalysisController {
List<AnalysisRoundDto> roundDtoList = analysisService.getCHCHistoryRound(CHC_ANALYSIS_ID);
/**
* 获取list中一个的roundId
* 获取list中最后一个的roundId
*/
roundId = roundDtoList.get(0).getRoundId();
if (roundDtoList.size() > 0) {
roundId = roundDtoList.get(roundDtoList.size() - 1).getRoundId();
}
roundExamTitleV2Dto.setRoundList(roundDtoList);
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册