zouxuan 4 年之前
父節點
當前提交
55c48e1674
共有 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

@@ -1408,7 +1408,7 @@
         <where>
             cg.group_type_ = 'MUSIC' AND cg.del_flag_ = 0
             <if test="type != null and type != ''">
-                AND type_ = #{type}
+                AND type_ = #{type,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler}
             </if>
             <if test="search != null and search != ''">
                 AND (mg.name_ LIKE CONCAT('%','','%') OR cg.music_group_id_ LIKE CONCAT('%','','%'))