Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
A
auth-master
概览
Overview
Details
Activity
Cycle Analytics
版本库
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
Members
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
吴超
auth-master
Commits
89672f7d
Commit
89672f7d
authored
Dec 31, 2025
by
周海峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
d69064ad
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
20 行增加
和
15 行删除
+20
-15
doc/sql/update.sql
+20
-15
没有找到文件。
doc/sql/update.sql
View file @
89672f7d
...
@@ -4,6 +4,11 @@ INSERT INTO `platform_auth`.`platform_sys_menu` (`id`, `parentId`, `path`, `icon
...
@@ -4,6 +4,11 @@ INSERT INTO `platform_auth`.`platform_sys_menu` (`id`, `parentId`, `path`, `icon
VALUES
(
'0452516c476b497d9fa0efd615e1434e'
,
'7'
,
'/platformapplicationsGroupManager'
,
'group_work'
,
'应用分组管理'
,
VALUES
(
'0452516c476b497d9fa0efd615e1434e'
,
'7'
,
'/platformapplicationsGroupManager'
,
'group_work'
,
'应用分组管理'
,
'groupManager'
,
'true'
,
'platformapplicationsGroupManager'
,
NULL
,
'111'
,
NULL
);
'groupManager'
,
'true'
,
'platformapplicationsGroupManager'
,
NULL
,
'111'
,
NULL
);
INSERT
INTO
`platform_auth`
.
`platform_sys_menu`
(
`id`
,
`parentId`
,
`path`
,
`icon`
,
`title`
,
`name`
,
`leftMemu`
,
`functionCode`
,
`isLock`
,
`sort`
,
`webtype`
)
VALUES
(
'3d0f4e8e51af4bc494193a31a10cb3d3'
,
'7'
,
'/metroworkmenu'
,
'list'
,
'地铁工作菜单管理'
,
'metroworkmenuManager'
,
'true'
,
'metroworkmenu'
,
NULL
,
'8'
,
NULL
);
ALTER
TABLE
`platform_auth`
.
`platform_applications`
ALTER
TABLE
`platform_auth`
.
`platform_applications`
ADD
COLUMN
`group_code`
varchar
(
20
)
NULL
COMMENT
'分组编码'
AFTER
`mailtype`
;
ADD
COLUMN
`group_code`
varchar
(
20
)
NULL
COMMENT
'分组编码'
AFTER
`mailtype`
;
...
@@ -27,22 +32,22 @@ CREATE TABLE `platform_metrowork_menu`
...
@@ -27,22 +32,22 @@ CREATE TABLE `platform_metrowork_menu`
`code`
varchar
(
50
)
CHARACTER
SET
utf8mb4
COLLATE
utf8mb4_general_ci
NOT
NULL
COMMENT
'菜单编码'
,
`code`
varchar
(
50
)
CHARACTER
SET
utf8mb4
COLLATE
utf8mb4_general_ci
NOT
NULL
COMMENT
'菜单编码'
,
`sort_order`
int
(
11
)
NOT
NULL
DEFAULT
0
COMMENT
'排序序号'
,
`sort_order`
int
(
11
)
NOT
NULL
DEFAULT
0
COMMENT
'排序序号'
,
`status`
tinyint
(
1
)
NOT
NULL
DEFAULT
1
COMMENT
'状态:0-停用,1-启用'
,
`status`
tinyint
(
1
)
NOT
NULL
DEFAULT
1
COMMENT
'状态:0-停用,1-启用'
,
`create_time`
datetime
NOT
NULL
DEFAULT
CURRENT_TIMESTAMP
COMMENT
'创建时间'
,
`create_time`
datetime
NOT
NULL
DEFAULT
CURRENT_TIMESTAMP
COMMENT
'创建时间'
,
`update_time`
datetime
NOT
NULL
DEFAULT
CURRENT_TIMESTAMP
ON
UPDATE
CURRENT_TIMESTAMP
COMMENT
'更新时间'
,
`update_time`
datetime
NOT
NULL
DEFAULT
CURRENT_TIMESTAMP
ON
UPDATE
CURRENT_TIMESTAMP
COMMENT
'更新时间'
,
PRIMARY
KEY
(
`id`
)
USING
BTREE
,
PRIMARY
KEY
(
`id`
)
USING
BTREE
,
UNIQUE
KEY
`uk_code`
(
`code`
)
USING
BTREE
,
UNIQUE
KEY
`uk_code`
(
`code`
)
USING
BTREE
,
KEY
`idx_sort_order`
(
`sort_order`
)
USING
BTREE
,
KEY
`idx_sort_order`
(
`sort_order`
)
USING
BTREE
,
KEY
`idx_status`
(
`status`
)
USING
BTREE
KEY
`idx_status`
(
`status`
)
USING
BTREE
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
COLLATE
=
utf8mb4_general_ci
COMMENT
=
'地铁工作菜单配置表'
;
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
COLLATE
=
utf8mb4_general_ci
COMMENT
=
'地铁工作菜单配置表'
;
-- 初始化地铁工作菜单数据
-- 初始化地铁工作菜单数据
INSERT
INTO
`platform_auth`
.
`platform_metrowork_menu`
(
`id`
,
`name`
,
`code`
,
`sort_order`
,
`status`
)
VALUES
INSERT
INTO
`platform_auth`
.
`platform_metrowork_menu`
(
`id`
,
`name`
,
`code`
,
`sort_order`
,
`status`
)
(
'1'
,
'系统公告'
,
'menu_announcement'
,
1
,
1
),
VALUES
(
'1'
,
'系统公告'
,
'menu_announcement'
,
1
,
1
),
(
'2'
,
'政策法规'
,
'menu_law'
,
2
,
1
),
(
'2'
,
'政策法规'
,
'menu_law'
,
2
,
1
),
(
'3'
,
'工作动态'
,
'menu_work'
,
3
,
1
),
(
'3'
,
'工作动态'
,
'menu_work'
,
3
,
1
),
(
'4'
,
'安全管理'
,
'menu_anquan'
,
4
,
1
),
(
'4'
,
'安全管理'
,
'menu_anquan'
,
4
,
1
),
(
'5'
,
'服务质量'
,
'menu_fuwu'
,
5
,
1
),
(
'5'
,
'服务质量'
,
'menu_fuwu'
,
5
,
1
),
(
'6'
,
'网上培训'
,
'menu_wangshang'
,
6
,
1
),
(
'6'
,
'网上培训'
,
'menu_wangshang'
,
6
,
1
),
(
'7'
,
'廉政文化'
,
'menu_lianzheng'
,
7
,
1
),
(
'7'
,
'廉政文化'
,
'menu_lianzheng'
,
7
,
1
),
(
'8'
,
'员工天地'
,
'menu_yuangong'
,
8
,
1
),
(
'8'
,
'员工天地'
,
'menu_yuangong'
,
8
,
1
),
(
'9'
,
'常用表格'
,
'menu_biaoge'
,
9
,
1
);
(
'9'
,
'常用表格'
,
'menu_biaoge'
,
9
,
1
);
\ No newline at end of file
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论