diff --git a/skyeye-promote/skyeye-userauth/src/main/resources/mapper/userauth/SysEveMenuMapper.xml b/skyeye-promote/skyeye-userauth/src/main/resources/mapper/userauth/SysEveMenuMapper.xml index cff8e8b4..b3bed3ce 100644 --- a/skyeye-promote/skyeye-userauth/src/main/resources/mapper/userauth/SysEveMenuMapper.xml +++ b/skyeye-promote/skyeye-userauth/src/main/resources/mapper/userauth/SysEveMenuMapper.xml @@ -7,11 +7,11 @@ a.id, a.menu_name menuName, a.menu_name_en menuNameEn, - a.icon menuIcon, - a.icon_color menuIconColor, - a.icon_bg menuIconBg, - a.icon_type menuIconType, - a.icon_pic menuIconPic, + a.icon, + a.icon_color iconColor, + a.icon_bg iconBg, + a.icon_type iconType, + a.icon_pic iconPic, a.menu_level menuLevel, a.menu_parent_id parentId, a.menu_url menuUrl, @@ -28,28 +28,29 @@ sys_eve_menu a LEFT JOIN sys_eve_menu c ON INSTR(CONCAT(',', a.menu_parent_id, ','), CONCAT(',', c.id, ',')) LEFT JOIN sys_eve_desktop d ON a.desktop_id = d.id - WHERE 1=1 - - AND a.menu_name LIKE '%${menuName}%' - - - AND c.menu_name LIKE '%${parentMenuName}%' - - - AND a.menu_url LIKE '%${menuUrl}%' - - - AND a.menu_level = #{menuLevel} - - - AND a.is_share = #{isShare} - - - AND a.sys_win_id = #{parentId} - - - AND a.desktop_id = #{desktopId} - + + + AND a.menu_name LIKE '%${menuName}%' + + + AND c.menu_name LIKE '%${parentMenuName}%' + + + AND a.menu_url LIKE '%${menuUrl}%' + + + AND a.menu_level = #{menuLevel} + + + AND a.is_share = #{isShare} + + + AND a.sys_win_id = #{parentId} + + + AND a.desktop_id = #{desktopId} + + GROUP BY a.id ORDER BY a.order_num ASC