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

+ 1 - 1
themis-business/src/main/resources/mapper/TEExamMapper.xml

@@ -100,7 +100,7 @@
             <if test="name != null and name != ''">
                 and t.name like concat('%', #{name}, '%')
             </if>
-            <if test="mode != null and mode != '' or mode == 0">
+            <if test="mode != null and mode != '' ">
                 and t.mode = #{mode}
             </if>
             <if test="enable != null and enable != '' or enable == 0">