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>