refactor: 菜单图标字段icon_url调整为icon

This commit is contained in:
有来技术 2021-08-15 01:19:51 +08:00
parent c499fb91da
commit 79cb36ad29
3 changed files with 4 additions and 4 deletions

View File

@ -24,7 +24,7 @@ public class SysMenu extends BaseEntity {
private String name; private String name;
private String iconUrl; private String icon;
/** /**
* 路由路径 * 路由路径

View File

@ -113,7 +113,7 @@ public class SysMenuServiceImpl extends ServiceImpl<SysMenuMapper, SysMenu> impl
routeVO.setRedirect(menu.getRedirect()); routeVO.setRedirect(menu.getRedirect());
routeVO.setMeta(routeVO.new Meta( routeVO.setMeta(routeVO.new Meta(
menu.getName(), menu.getName(),
menu.getIconUrl(), menu.getIcon(),
menu.getRoles() menu.getRoles()
)); ));
// 菜单显示隐藏 // 菜单显示隐藏

View File

@ -10,7 +10,7 @@
<result property="path" column="path" jdbcType="VARCHAR"/> <result property="path" column="path" jdbcType="VARCHAR"/>
<result property="component" column="component" jdbcType="VARCHAR"/> <result property="component" column="component" jdbcType="VARCHAR"/>
<result property="redirect" column="redirect" jdbcType="VARCHAR"/> <result property="redirect" column="redirect" jdbcType="VARCHAR"/>
<result property="iconUrl" column="icon_url" jdbcType="VARCHAR"/> <result property="icon" column="icon" jdbcType="VARCHAR"/>
<result property="sort" column="sort" jdbcType="INTEGER"/> <result property="sort" column="sort" jdbcType="INTEGER"/>
<result property="visible" column="visible" jdbcType="BOOLEAN"/> <result property="visible" column="visible" jdbcType="BOOLEAN"/>
<result property="gmtCreate" column="gmt_create" jdbcType="TIMESTAMP"/> <result property="gmtCreate" column="gmt_create" jdbcType="TIMESTAMP"/>
@ -34,7 +34,7 @@
t1.parent_id, t1.parent_id,
t1.path, t1.path,
t1.component, t1.component,
t1.icon_url, t1.icon,
t1.sort, t1.sort,
t1.visible, t1.visible,
t1.redirect, t1.redirect,