xiaof 3 gadi atpakaļ
vecāks
revīzija
7709fb16a3

+ 9 - 0
distributed-print-business/src/main/java/com/qmth/distributed/print/business/bean/dto/ExamTaskDetailCardDto.java

@@ -24,6 +24,7 @@ public class ExamTaskDetailCardDto {
     private Integer setup;
     // 审核流程taskId
     private String flowTaskId;
+    private String examId;
 
     @ApiModelProperty(value = "是否是子流程驳回")
     private boolean subFlowReject;
@@ -163,4 +164,12 @@ public class ExamTaskDetailCardDto {
     public void setFlowTaskId(String flowTaskId) {
         this.flowTaskId = flowTaskId;
     }
+
+    public String getExamId() {
+        return examId;
+    }
+
+    public void setExamId(String examId) {
+        this.examId = examId;
+    }
 }

+ 1 - 0
distributed-print-business/src/main/resources/mapper/ExamTaskMapper.xml

@@ -556,6 +556,7 @@
     <select id="applyGetOne" resultType="com.qmth.distributed.print.business.bean.dto.ExamTaskDetailCardDto">
         SELECT
             e.id examTaskId,
+            e.exam_id examId,
             case #{source} when 'REVIEW' then ifnull(c.paper_type, a.paper_type) else a.paper_type end paperType,
             case #{source} when 'REVIEW' then ifnull(c.paper_attachment_ids, a.paper_attachment_ids) else a.paper_attachment_ids end paperAttachmentIds,
             case #{source} when 'REVIEW' then ifnull(c.card_id, a.card_id) else a.card_id end cardId,