Add GetUserInfo
This commit is contained in:
@@ -2,8 +2,9 @@ drop table if exists t_element;
|
||||
|
||||
create table if not exists t_element
|
||||
(
|
||||
id bigint not null primary key,
|
||||
name varchar(100) not null comment '元素名',
|
||||
power_id bigint not null comment '权限ID',
|
||||
menu_id bigint not null comment '菜单ID'
|
||||
id bigint not null primary key,
|
||||
name varchar(100) not null comment '元素名',
|
||||
power_id bigint not null comment '权限ID',
|
||||
parent_id bigint not null comment '父ID',
|
||||
menu_id bigint not null comment '菜单ID'
|
||||
) comment '页面元素';
|
||||
@@ -23,6 +23,7 @@
|
||||
te.id as element_id,
|
||||
te.name as element_name,
|
||||
te.power_id as element_power_id,
|
||||
te.parent_id as element_parent_id,
|
||||
te.menu_id as element_menu_id,
|
||||
t.id as operation_id,
|
||||
t.name as operation_name,
|
||||
@@ -74,6 +75,7 @@
|
||||
<id property="id" column="element_id"/>
|
||||
<result property="name" column="element_name"/>
|
||||
<result property="powerId" column="element_power_id"/>
|
||||
<result property="parentId" column="element_parent_id"/>
|
||||
<result property="menuId" column="element_menu_id"/>
|
||||
</collection>
|
||||
<collection property="operations" ofType="operation">
|
||||
|
||||
Reference in New Issue
Block a user