wangliang %!s(int64=4) %!d(string=hai) anos
pai
achega
94d1e23e44

+ 2 - 2
distributed-print-business/src/main/java/com/qmth/distributed/print/business/templete/service/impl/TaskLogicServiceImpl.java

@@ -234,7 +234,7 @@ public class TaskLogicServiceImpl implements TaskLogicService {
                             examCardDetailQueryWrapper.lambda().eq(ExamCardDetail::getCardId, examCard.getId());
                             List<ExamCardDetail> examCardDetailList = examCardDetailService.list(examCardDetailQueryWrapper);
 
-                            //抽取卷型
+                            //拼装key
                             String key = examDetail.getSchoolId()
                                     + "_" + examDetail.getExamStartTime()
                                     + "_" + examDetail.getExamEndTime()
@@ -245,7 +245,7 @@ public class TaskLogicServiceImpl implements TaskLogicService {
                                 paperType = paperTypeParam;
                                 CreatePdfCacheUtil.setPaperType(key, paperType);
                             } else {
-                                paperType = createPdfUtil.getPaperType(examPrintPlan, examTaskDetail, key);
+                                paperType = createPdfUtil.getPaperType(examPrintPlan, examTaskDetail, key);//抽取卷型
                             }
                             examTaskDetail.setRelatePaperType(paperType);
                             examDetailCourse.setPaperType(paperType);