Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
YouJia
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 44968fb3
authored
Oct 12, 2026
by
叶立庆
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改菜单类
1 parent
6944f301
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
sql/02_init_data.sql
sql/02_init_data.sql
View file @
44968fb
...
...
@@ -8,13 +8,13 @@
SET
NAMES
utf8mb4
;
insert
into
`sys_org`
(
`org_id`
,
`parent_id`
,
`org_name`
,
`org_code`
,
`leader_user_id`
,
`level`
,
`path`
,
`sort`
,
`status`
,
`create_by`
,
`create_time`
,
`update_by`
,
`update_time`
,
`is_deleted`
)
values
(
'1'
,
'0'
,
'深圳市优加智汇科技有限公司'
,
'YJ_ROOT'
,
NULL
,
'1'
,
'/1/'
,
'1'
,
'1'
,
NULL
,
'2026-09-29 14:20:45'
,
NULL
,
'2026-09-29 14:20:45'
,
'0'
);
insert
into
`sys_org`
(
`org_id`
,
`parent_id`
,
`org_name`
,
`org_code`
,
`leader_user_id`
,
`level`
,
`path`
,
`sort`
,
`status`
,
`create_by`
,
`create_time`
,
`update_by`
,
`update_time`
,
`is_deleted`
)
values
(
'2'
,
'1'
,
'零售运营部'
,
'Retail_OPS'
,
NULL
,
'2'
,
'/1/2/'
,
'1'
,
'1'
,
NULL
,
'2026-09-29 14:20:45'
,
NULL
,
'2026-09-29 14:20:45'
,
'0'
);
insert
into
`sys_org`
(
`org_id`
,
`parent_id`
,
`org_name`
,
`org_code`
,
`leader_user_id`
,
`level`
,
`path`
,
`sort`
,
`status`
,
`create_by`
,
`create_time`
,
`update_by`
,
`update_time`
,
`is_deleted`
)
values
(
'3'
,
'1'
,
'场景运营部'
,
'Scene_OPS'
,
NULL
,
'2'
,
'/1/3/'
,
'2'
,
'1'
,
NULL
,
'2026-09-29 14:20:45'
,
NULL
,
'2026-09-29 14:20:45'
,
'0'
);
insert
into
`sys_org`
(
`org_id`
,
`parent_id`
,
`org_name`
,
`org_code`
,
`leader_user_id`
,
`level`
,
`path`
,
`sort`
,
`status`
,
`create_by`
,
`create_time`
,
`update_by`
,
`update_time`
,
`is_deleted`
)
values
(
'4'
,
'1'
,
'数字化运营部'
,
'Digital_OPS'
,
NULL
,
'2'
,
'/1/4/'
,
'3'
,
'1'
,
NULL
,
'2026-09-29 14:20:45'
,
NULL
,
'2026-09-29 14:20:45'
,
'0'
);
insert
into
`sys_org`
(
`org_id`
,
`parent_id`
,
`org_name`
,
`org_code`
,
`leader_user_id`
,
`level`
,
`path`
,
`sort`
,
`status`
,
`create_by`
,
`create_time`
,
`update_by`
,
`update_time`
,
`is_deleted`
)
values
(
'5'
,
'1'
,
'人力行政部'
,
'Human_RAD'
,
NULL
,
'2'
,
'/1/5/'
,
'4'
,
'1'
,
NULL
,
'2026-09-29 14:20:45'
,
NULL
,
'2026-09-29 14:20:45'
,
'0'
);
insert
into
`sys_org`
(
`org_id`
,
`parent_id`
,
`org_name`
,
`org_code`
,
`leader_user_id`
,
`level`
,
`path`
,
`sort`
,
`status`
,
`create_by`
,
`create_time`
,
`update_by`
,
`update_time`
,
`is_deleted`
)
values
(
'6'
,
'1'
,
'财商管理部'
,
'FMD'
,
NULL
,
'2'
,
'/1/6/'
,
'5'
,
'1'
,
NULL
,
'2026-09-29 14:20:45'
,
NULL
,
'2026-09-29 14:20:45'
,
'0'
);
insert
into
`sys_org`
(
`org_id`
,
`parent_id`
,
`org_name`
,
`org_code`
,
`leader_user_id`
,
`level`
,
`path`
,
`sort`
,
`status`
,
`create_by`
,
`create_time`
,
`update_by`
,
`update_time`
,
`is_deleted`
)
values
(
'1'
,
'0'
,
'深圳市优加智汇科技有限公司'
,
'YJ_ROOT'
,
NULL
,
'1'
,
'/1/'
,
'1'
,
'1'
,
NULL
,
'2026-09-29 14:20:45'
,
NULL
,
'2026-09-29 14:20:45'
,
'0'
)
,(
'2'
,
'1'
,
'零售运营部'
,
'Retail_OPS'
,
NULL
,
'2'
,
'/1/2/'
,
'1'
,
'1'
,
NULL
,
'2026-09-29 14:20:45'
,
NULL
,
'2026-09-29 14:20:45'
,
'0'
)
,(
'3'
,
'1'
,
'场景运营部'
,
'Scene_OPS'
,
NULL
,
'2'
,
'/1/3/'
,
'2'
,
'1'
,
NULL
,
'2026-09-29 14:20:45'
,
NULL
,
'2026-09-29 14:20:45'
,
'0'
)
,(
'4'
,
'1'
,
'数字化运营部'
,
'Digital_OPS'
,
NULL
,
'2'
,
'/1/4/'
,
'3'
,
'1'
,
NULL
,
'2026-09-29 14:20:45'
,
NULL
,
'2026-09-29 14:20:45'
,
'0'
)
,(
'5'
,
'1'
,
'人力行政部'
,
'Human_RAD'
,
NULL
,
'2'
,
'/1/5/'
,
'4'
,
'1'
,
NULL
,
'2026-09-29 14:20:45'
,
NULL
,
'2026-09-29 14:20:45'
,
'0'
)
,(
'6'
,
'1'
,
'财商管理部'
,
'FMD'
,
NULL
,
'2'
,
'/1/6/'
,
'5'
,
'1'
,
NULL
,
'2026-09-29 14:20:45'
,
NULL
,
'2026-09-29 14:20:45'
,
'0'
);
insert
into
`sys_user`
(
`user_id`
,
`account`
,
`password`
,
`name`
,
`mobile`
,
`email`
,
`org_id`
,
`data_scope`
,
`status`
,
`last_login_at`
,
`need_change_pwd`
,
`remark`
,
`create_by`
,
`create_time`
,
`update_by`
,
`update_time`
,
`is_deleted`
)
values
(
'1'
,
'admin'
,
'$2b$10$CJ7qf35MiMZolY5Mjsy9l.gZ7SK6wZ4WjDAkxYMZhNSaEgX.dH0y2'
,
'系统管理员'
,
NULL
,
NULL
,
'1'
,
'1'
,
'1'
,
NULL
,
'1'
,
'系统内置超级管理员,请首次登录后立即修改密码'
,
NULL
,
'2026-10-10 13:58:35'
,
NULL
,
'2026-10-10 13:58:35'
,
'0'
);
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment