Browse Source

题库列表

change 3 years ago
parent
commit
168520589f

+ 1 - 1
zhongzheng-system/src/main/resources/mapper/modules/bank/ExamMapper.xml

@@ -68,7 +68,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
                 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 course_subject cs ON cs.id = qb.subject_id where 1=1
         <if test="educationTypeId != null and educationTypeId != ''">
             AND cet.education_type_id = #{educationTypeId}
         </if>