zouxuan %!s(int64=3) %!d(string=hai) anos
pai
achega
513875f510

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

@@ -136,7 +136,7 @@
 				sm.parent_id_ = #{parentId}
 			</if>
 			<if test="enable != null">
-				AND sm.enable_ = 1
+				AND sm.enable_ = #{enable}
 			</if>
 			<if test="search != null and search != ''">
 				AND sm.id_ = #{search} OR sm.name_ LIKE CONCAT('%',#{search},'%')