he2802 пре 3 година
родитељ
комит
a6778723a4

+ 3 - 15
zhongzheng-system/src/main/resources/mapper/modules/bank/ExamQuestionMapper.xml

@@ -123,30 +123,18 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             eq.part_score,
             eq.score,
             eq.sort,
-            qb.education_type_id,
-            qb.business_id,
-            qb.project_id,
-            qb.subject_id,
-            qb.type as business_type,
-            cet.education_name,
-            cpt.project_name,
-            cb.business_name,
-            cs.subject_name,
             e.pass_score,
             e.answer_time,
             e.answer_num
         FROM
             exam_question eq
                 LEFT JOIN question q ON eq.question_id = q.question_id
-                LEFT JOIN question_business qb ON q.question_id = qb.major_id and qb.type = 1
-                LEFT JOIN course_education_type cet ON qb.education_type_id = cet.id
-                LEFT JOIN course_project_type cpt ON qb.project_id = cpt.id
-                LEFT JOIN course_business cb ON qb.business_id = cb.id
-                LEFT JOIN course_subject cs ON cs.id = qb.subject_id
                 LEFT JOIN exam e ON e.exam_id = eq.exam_id
         WHERE
             eq.exam_id =#{examId}
-        ORDER BY eq.sort,eq.id DESC
+        ORDER BY
+            eq.sort,
+            eq.id DESC
 
     </select>
 </mapper>