xiatian %!s(int64=4) %!d(string=hai) anos
pai
achega
ec93732d7f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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">