소스 검색

查询SQL错误修复

luoshi 4 년 전
부모
커밋
432b3d519a
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      themis-business/src/main/resources/mapper/TEExamStudentMapper.xml

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

@@ -384,10 +384,10 @@
         and teea.enable = 1
         and teea.enable = 1
         <where>
         <where>
             tees.exam_id = #{examId}
             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 != ''">
             <if test="courseCode != null and courseCode != ''">
                 and tees.course_code = #{courseCode}
                 and tees.course_code = #{courseCode}
             </if>
             </if>