deason 6 年之前
父節點
當前提交
3dc54d2921

+ 1 - 0
examcloud-core-print-service/src/main/java/cn/com/qmth/examcloud/core/print/service/bean/coursestatistic/CourseStatisticConvert.java

@@ -38,6 +38,7 @@ public class CourseStatisticConvert {
 
         CoursePaper paper = statistic.getCoursePaper();
         if (paper != null) {
+            info.setCoursePaperId(paper.getId());
             info.setPaperId(paper.getPaperId());
             info.setPaperName(paper.getPaperName());
             info.setPaperPdfUrl(paper.getPaperPdfUrl());

+ 12 - 0
examcloud-core-print-service/src/main/java/cn/com/qmth/examcloud/core/print/service/bean/coursestatistic/CourseStatisticInfo.java

@@ -69,6 +69,10 @@ public class CourseStatisticInfo implements Serializable {
      * 考生人数
      */
     private Integer totalStudent;
+    /**
+     * 课程试卷ID
+     */
+    private Long coursePaperId;
 
     public String getPaperStatusName() {
         return PaperStatus.getNameByIndex(paperStatus);
@@ -178,4 +182,12 @@ public class CourseStatisticInfo implements Serializable {
         this.totalStudent = totalStudent;
     }
 
+    public Long getCoursePaperId() {
+        return coursePaperId;
+    }
+
+    public void setCoursePaperId(Long coursePaperId) {
+        this.coursePaperId = coursePaperId;
+    }
+
 }