|
@@ -597,7 +597,7 @@ public class ExamApplyServiceImpl extends ServiceImpl<ExamApplyMapper, ExamApply
|
|
|
//获取试卷业务层次信息
|
|
|
QuestionBusiness business = iQuestionBusinessService.getOne(new LambdaQueryWrapper<QuestionBusiness>()
|
|
|
.eq(QuestionBusiness::getMajorId, bo.getExamId())
|
|
|
- .eq(QuestionBusiness::getType, 2));
|
|
|
+ .eq(QuestionBusiness::getType, 2).last("limit 1"));
|
|
|
if (ObjectUtils.isNull(business)) {
|
|
|
throw new CustomException("获取试卷业务层次信息失败");
|
|
|
}
|