Browse Source

查询SQL错误修复

luoshi 4 năm trước cách đây
mục cha
commit
432b3d519a

+ 4 - 4
themis-business/src/main/resources/mapper/TEExamStudentMapper.xml

@@ -384,10 +384,10 @@
         and teea.enable = 1
         <where>
             tees.exam_id = #{examId}
-            and tess.enable = 1
-            and tess.id <![CDATA[ > ]]> #{idGt}
-            and tess.already_exam_count is not null
-            and tess.already_exam_count <![CDATA[ > ]]> 0
+            and tees.enable = 1
+            and tees.id <![CDATA[ > ]]> #{idGt}
+            and tees.already_exam_count is not null
+            and tees.already_exam_count <![CDATA[ > ]]> 0
             <if test="courseCode != null and courseCode != ''">
                 and tees.course_code = #{courseCode}
             </if>