Forráskód Böngészése

ExamTaskDetail去掉cardId

wangliang 2 éve
szülő
commit
3f43b1590a

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

@@ -617,20 +617,20 @@
             f.status as flowStatus
         FROM
             exam_task e
-                LEFT JOIN
+                JOIN
             exam_task_detail a on a.exam_task_id = e.id
-                LEFT JOIN
+                JOIN
             exam_task_paper_log c ON a.exam_task_id = c.exam_task_id and c.review = false
-                LEFT JOIN
+                JOIN
             exam_card b ON FIND_IN_SET(b.id, REPLACE(substring_index(substring_index(CONVERT((a.paper_attachment_ids ->>'$[*].cardId')
                                                                                              USING utf8), ']', 1), '[',-1),'"',''))
-                LEFT join
+                join
             exam_card d on c.card_id = d.id
-                left join
+                join
             t_f_flow_approve f on e.flow_id = f.flow_id
-                left join
+                join
             basic_exam g on e.exam_id = g.id
-                left join
+                join
             basic_semester h on g.semester_id = h.id
         where e.id = #{examTaskId}
     </select>
@@ -723,7 +723,7 @@
             det.paper_confirm_attachment_ids AS paperConfirmAttachmentIds
         FROM
             exam_task_detail det
-                LEFT JOIN
+                JOIN
             exam_task_paper_log log ON det.exam_task_id = log.exam_task_id
                 AND log.review = 0
         WHERE