소스 검색

伴奏修改

zouxuan 3 년 전
부모
커밋
513875f510
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      mec-biz/src/main/resources/config/mybatis/SysMusicScoreCategoriesMapper.xml

+ 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},'%')