|
@@ -760,9 +760,9 @@ public class CreatePdfUtil {
|
|
|
Optional<ExamTaskDetail> optional = examTaskDetailList.stream().filter(m -> m.getExposedExamId() != null && m.getExposedExamId().equals(tbTaskPdf.getExamId())).findFirst();
|
|
|
if (optional.isPresent()) {
|
|
|
ExamTaskDetail examTaskDetail = optional.get();
|
|
|
- if (examTaskDetail.getExposed()) {
|
|
|
- throw ExceptionResultEnum.ERROR.exception("备用卷已曝光");
|
|
|
- }
|
|
|
+// if (examTaskDetail.getExposed()) {
|
|
|
+// throw ExceptionResultEnum.ERROR.exception("备用卷已曝光");
|
|
|
+// }
|
|
|
return examTaskDetail;
|
|
|
} else {
|
|
|
BasicPrintConfig basicPrintConfig = basicPrintConfigService.getByExamId(tbTaskPdf.getExamId());
|