wangliang 4 年之前
父節點
當前提交
7c25c18526
共有 1 個文件被更改,包括 2 次插入16 次删除
  1. 2 16
      themis-business/src/main/resources/mapper/TOeExamRecordMapper.xml

+ 2 - 16
themis-business/src/main/resources/mapper/TOeExamRecordMapper.xml

@@ -133,14 +133,7 @@
 				and s.room_code = #{roomCode}
 			</if>
 			<if test="status != null and status != ''">
-				<choose>
-					<when test="status == 'EXAMING'">
-						and (t.status = 'ANSWERING' or t.status = 'RESUME_PREPARE')
-					</when>
-					<otherwise>
-						and t.status = #{status}
-					</otherwise>
-				</choose>
+				and t.status = #{status}
 			</if>
 			<if test="name != null and name !=''">
 				and s.name like CONCAT('%', #{name},'%')
@@ -176,14 +169,7 @@
 				and s.room_code = #{roomCode}
 			</if>
 			<if test="status != null and status != ''">
-				<choose>
-					<when test="status == 'EXAMING'">
-						and (t.status = 'ANSWERING' or t.status = 'RESUME_PREPARE')
-					</when>
-					<otherwise>
-						and t.status = #{status}
-					</otherwise>
-				</choose>
+				and t.status = #{status}
 			</if>
 			<if test="name != null and name !=''">
 				and s.name like CONCAT('%', #{name},'%')