|
@@ -293,7 +293,7 @@ public class CreatePdfUtil {
|
|
|
}
|
|
|
int paperRandom = new Random().nextInt(paperTypes.length);
|
|
|
String paperType = paperTypes[paperRandom];
|
|
|
- examTaskDetail.setPaperType(paperType);
|
|
|
+ examTaskDetail.setRelatePaperType(paperType);
|
|
|
return paperType;
|
|
|
}
|
|
|
|
|
@@ -401,6 +401,7 @@ public class CreatePdfUtil {
|
|
|
//学生题卡
|
|
|
BasicAttachment examStudentAttachment = basicAttachmentService.saveAttachmentHtml(examCard.getSchoolId() + "|" + examCard.getCourseCode() + "|" + t.getTicketNumber(), studentHtml, userId, examStudentPdfList);
|
|
|
t.setAttachmentId(examStudentAttachment.getId());
|
|
|
+ t.setPaperType(paperType);
|
|
|
return examStudentAttachment;
|
|
|
}
|
|
|
|