ZhuDongming
2019-10-22 28215e381131b0919567ec5c3f236b29ebd3ad5c
src/main/resources/mapper/MenuMapper.xml
@@ -104,7 +104,7 @@
        from menu
        where id IN
        (select distinct(menu_parent_Id) from menu
        where menu_parent_Id is not null)
        where menu_parent_Id <![CDATA[ <> ]]> 0)
        <if test="menuName != 'null'">
            and menu_name like concat('%',#{menuName},'%')
        </if>
@@ -119,4 +119,5 @@
            and menu_name like concat('%',#{menuName},'%')
        </if>
    </select>
</mapper>