Browse Source

3.2.5 bug修复

xiaofei 2 years ago
parent
commit
429e7d3da6

+ 1 - 4
distributed-print-business/src/main/resources/mapper/ExamCardMapper.xml

@@ -99,14 +99,11 @@
             a.make_method makeMethod,
             a.type,
             b.content,
-            b.html_content htmlContent,
-            c.paper_type paperType
+            b.html_content htmlContent
         FROM
             exam_card a
                 LEFT JOIN
             exam_card_detail b ON a.id = b.card_id
-                LEFT JOIN
-            exam_task_detail c ON FIND_IN_SET(a.id, REPLACE(REPLACE(substring_index(substring_index(CONVERT((c.paper_attachment_ids ->>'$[*].cardId') USING utf8), ']', 1), '[',-1),' "','"'),'"',''))
         where a.id = #{cardId}
     </select>
     <select id="listGenericCard" resultType="com.qmth.distributed.print.business.entity.ExamCard">