|
@@ -71,7 +71,7 @@ public class TEExamController {
|
|
|
}
|
|
|
String shortCode = String.valueOf(mapParameter.get("shortCode"));
|
|
|
QueryWrapper<TEExam> teExamQueryWrapper = new QueryWrapper<>();
|
|
|
- teExamQueryWrapper.lambda().eq(TEExam::getShortCode, shortCode);
|
|
|
+ teExamQueryWrapper.lambda().eq(TEExam::getShortCode, shortCode).eq(TEExam::getEnable, 1);
|
|
|
TEExam teExam = teExamService.getOne(teExamQueryWrapper);
|
|
|
if (Objects.isNull(teExam)) {
|
|
|
throw new BusinessException(ExceptionResultEnum.EXAM_NO);
|