1、修改数据库连接;2、系统菜单增加function_id字段属性
This commit is contained in:
@@ -52,6 +52,7 @@ public class SysMenu extends BaseEntity<SysMenu>{
|
||||
private String menuBg;
|
||||
|
||||
private Integer isTop;
|
||||
private Integer functionId;
|
||||
|
||||
private List<SysMenu> children = new ArrayList<SysMenu>();
|
||||
|
||||
@@ -270,6 +271,14 @@ public class SysMenu extends BaseEntity<SysMenu>{
|
||||
this.isTop = isTop;
|
||||
}
|
||||
|
||||
public Integer getFunctionId() {
|
||||
return functionId;
|
||||
}
|
||||
|
||||
public void setFunctionId(Integer functionId) {
|
||||
this.functionId = functionId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
@@ -23,7 +23,8 @@
|
||||
a.quick_action,
|
||||
a.menu_bg,
|
||||
p.name AS "parent.name",
|
||||
a.is_top
|
||||
a.is_top,
|
||||
a.function_id
|
||||
|
||||
</sql>
|
||||
|
||||
@@ -88,7 +89,8 @@
|
||||
update_date,
|
||||
remarks,
|
||||
del_flag,
|
||||
is_top
|
||||
is_top,
|
||||
function_id
|
||||
) VALUES (
|
||||
#{parent.id},
|
||||
#{parentIds},
|
||||
@@ -106,7 +108,8 @@
|
||||
#{updateDate},
|
||||
#{remarks},
|
||||
#{delFlag},
|
||||
#{isTop}
|
||||
#{isTop},
|
||||
#{functionId}
|
||||
)
|
||||
</insert>
|
||||
|
||||
@@ -125,7 +128,8 @@
|
||||
update_by = #{updateBy.id},
|
||||
update_date = #{updateDate},
|
||||
remarks = #{remarks},
|
||||
is_top = #{isTop}
|
||||
is_top = #{isTop},
|
||||
function_id=#{functionId}
|
||||
WHERE id = #{id}
|
||||
</update>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user