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