소스 검색

考试安排

change 4 년 전
부모
커밋
8e0eba3909
1개의 변경된 파일12개의 추가작업 그리고 0개의 파일을 삭제
  1. 12 0
      zhongzheng-system/src/main/resources/mapper/modules/exam/ExamArrangementStudentMapper.xml

+ 12 - 0
zhongzheng-system/src/main/resources/mapper/modules/exam/ExamArrangementStudentMapper.xml

@@ -75,6 +75,18 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <if test="startTime != null and startTime != ''">
             AND t.start_time BETWEEN #{startTime} and #{endTime}
         </if>
+        <if test="examTypeId != null and examTypeId != ''">
+            AND e.exam_type_id = #{examTypeId}
+        </if>
+        <if test="examPeriod != null and examPeriod != ''">
+            AND e.exam_period = #{examPeriod}
+        </if>
+        <if test="idCard != null and idCard != ''">
+            AND u.id_card = #{idCard}
+        </if>
+        <if test="realname != null and realname != ''">
+            AND u.realname = #{realname}
+        </if>
 
     </select>