zouxuan преди 4 години
родител
ревизия
21e3072b6d
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      mec-biz/src/main/resources/config/mybatis/ClassGroupMapper.xml

+ 1 - 1
mec-biz/src/main/resources/config/mybatis/ClassGroupMapper.xml

@@ -1407,7 +1407,7 @@
     <sql id="queryClassGroupPageSql">
         <where>
             cg.group_type_ = 'MUSIC' AND cg.del_flag_ = 0
-            <if test="type != null and type != ''">
+            <if test="type != null">
                 AND type_ = #{type,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler}
             </if>
             <if test="search != null and search != ''">