xiatian há 4 anos atrás
pai
commit
ec93732d7f

+ 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">