基础数据:
insert into smse_user (ID, NAME, USERNAME, PASSWORD, MOBILE, EMAIL) values (‘21943DC037B243EDE053433210AC4939‘, ‘大木桶‘, ‘root‘, ‘root123‘, ‘13478772431‘, ‘[email protected]‘); insert into smse_role (ID, NAME, ROLE) values (‘21943DC037B343EDE053433210AC4939‘, ‘系统管理员‘, ‘root‘); insert into smse_menu (ID, NAME, URL, ICON, SHOW, PID, SORT) values (‘21943DC037B443EDE053433210AC4939‘, ‘系统管理‘, ‘‘, ‘‘, ‘1‘, ‘‘, 9999); insert into smse_menu (ID, NAME, URL, ICON, SHOW, PID, SORT) values (‘21943DC037B643EDE053433210AC4939‘, ‘菜单管理‘, ‘system!initMenu.html‘, ‘‘, ‘1‘, ‘21943DC037B443EDE053433210AC4939‘, 3); insert into smse_user_role_link (USER_ID, ROLE_ID) values (‘21943DC037B243EDE053433210AC4939‘, ‘21943DC037B343EDE053433210AC4939‘); insert into smse_role_menu_link (ROLE_ID, MENU_ID) values (‘21943DC037B343EDE053433210AC4939‘, ‘21943DC037B443EDE053433210AC4939‘); insert into smse_role_menu_link (ROLE_ID, MENU_ID) values (‘21943DC037B343EDE053433210AC4939‘, ‘21943DC037B643EDE053433210AC4939‘);
删除sql:
DELETE FROM smse_user; DELETE FROM smse_role; DELETE FROM smse_menu; DELETE FROM smse_user_role_link; DELETE FROM smse_role_menu_link; DELETE FROM smse_access_permission;
系统管理数据:
insert into smse_user (ID, NAME, USERNAME, PASSWORD, MOBILE, EMAIL) values (‘21943DC037B243EDE053433210AC4939‘, ‘大木桶‘, ‘root‘, ‘root123‘, ‘13478772431‘, ‘[email protected]‘); insert into smse_role (ID, NAME, ROLE) values (‘21943DC037B343EDE053433210AC4939‘, ‘系统管理员‘, ‘root‘); insert into smse_menu (ID, NAME, URL, ICON, SHOW, PID, SORT) values (‘21943DC037B443EDE053433210AC4939‘, ‘系统管理‘, ‘‘, ‘‘, ‘1‘, ‘‘, 9999); insert into smse_menu (ID, NAME, URL, ICON, SHOW, PID, SORT) values (‘21943DC037B643EDE053433210AC4939‘, ‘菜单管理‘, ‘system!initMenu.html‘, ‘‘, ‘1‘, ‘21943DC037B443EDE053433210AC4939‘, 3); insert into smse_menu (ID, NAME, URL, ICON, SHOW, PID, SORT) values (‘21FAD71BFE974AA1E053433210AC638C‘, ‘用户新增‘, ‘system!initUserAdd.html‘, ‘‘, ‘1‘, ‘21FAD71BFE954AA1E053433210AC638C‘, 1); insert into smse_menu (ID, NAME, URL, ICON, SHOW, PID, SORT) values (‘21FAD71BFE9A4AA1E053433210AC638C‘, ‘用户列表‘, ‘system!initUserList.html‘, ‘‘, ‘1‘, ‘21FAD71BFE954AA1E053433210AC638C‘, 2); insert into smse_menu (ID, NAME, URL, ICON, SHOW, PID, SORT) values (‘21FAD71BFE954AA1E053433210AC638C‘, ‘用户管理‘, ‘#‘, ‘‘, ‘1‘, ‘21943DC037B443EDE053433210AC4939‘, 1); insert into smse_menu (ID, NAME, URL, ICON, SHOW, PID, SORT) values (‘21FAD71BFE964AA1E053433210AC638C‘, ‘角色管理‘, ‘#‘, ‘‘, ‘1‘, ‘21943DC037B443EDE053433210AC4939‘, 2); insert into smse_menu (ID, NAME, URL, ICON, SHOW, PID, SORT) values (‘21FAD71BFEA14AA1E053433210AC638C‘, ‘角色新增‘, ‘system!initRoleAdd.html‘, ‘‘, ‘1‘, ‘21FAD71BFE964AA1E053433210AC638C‘, 1); insert into smse_menu (ID, NAME, URL, ICON, SHOW, PID, SORT) values (‘21FAD71BFEA44AA1E053433210AC638C‘, ‘角色列表‘, ‘system!initRoleList.html‘, ‘‘, ‘1‘, ‘21FAD71BFE964AA1E053433210AC638C‘, 2); insert into smse_user_role_link (USER_ID, ROLE_ID) values (‘21943DC037B243EDE053433210AC4939‘, ‘21943DC037B343EDE053433210AC4939‘); insert into smse_role_menu_link (ROLE_ID, MENU_ID) values (‘21943DC037B343EDE053433210AC4939‘, ‘21FAD71BFE964AA1E053433210AC638C‘); insert into smse_role_menu_link (ROLE_ID, MENU_ID) values (‘21943DC037B343EDE053433210AC4939‘, ‘21943DC037B443EDE053433210AC4939‘); insert into smse_role_menu_link (ROLE_ID, MENU_ID) values (‘21943DC037B343EDE053433210AC4939‘, ‘21FAD71BFE974AA1E053433210AC638C‘); insert into smse_role_menu_link (ROLE_ID, MENU_ID) values (‘21943DC037B343EDE053433210AC4939‘, ‘21FAD71BFE9A4AA1E053433210AC638C‘); insert into smse_role_menu_link (ROLE_ID, MENU_ID) values (‘21943DC037B343EDE053433210AC4939‘, ‘21943DC037B643EDE053433210AC4939‘); insert into smse_role_menu_link (ROLE_ID, MENU_ID) values (‘21943DC037B343EDE053433210AC4939‘, ‘21FAD71BFE954AA1E053433210AC638C‘); insert into smse_role_menu_link (ROLE_ID, MENU_ID) values (‘21943DC037B343EDE053433210AC4939‘, ‘21FAD71BFEA14AA1E053433210AC638C‘); insert into smse_role_menu_link (ROLE_ID, MENU_ID) values (‘21943DC037B343EDE053433210AC4939‘, ‘21FAD71BFEA44AA1E053433210AC638C‘); insert into smse_access_permission (ID, NAME, URL, MENU_ID) values (‘21FAD71BFE9B4AA1E053433210AC638C‘, ‘用户列表初始化‘, ‘system!initUserList.html‘, ‘21FAD71BFE9A4AA1E053433210AC638C‘); insert into smse_access_permission (ID, NAME, URL, MENU_ID) values (‘21943DC037B743EDE053433210AC4939‘, ‘菜单管理‘, ‘system!initMenu.html‘, ‘21943DC037B643EDE053433210AC4939‘); insert into smse_access_permission (ID, NAME, URL, MENU_ID) values (‘21FAD71BFE984AA1E053433210AC638C‘, ‘用户新增页面初始化‘, ‘system!initUserAdd.html‘, ‘21FAD71BFE974AA1E053433210AC638C‘); insert into smse_access_permission (ID, NAME, URL, MENU_ID) values (‘21FAD71BFE994AA1E053433210AC638C‘, ‘用户新增数据保存‘, ‘system!saveUserAdd.html‘, ‘21FAD71BFE974AA1E053433210AC638C‘); insert into smse_access_permission (ID, NAME, URL, MENU_ID) values (‘21FAD71BFE9C4AA1E053433210AC638C‘, ‘异步加载列表数据‘, ‘system!getUserList.html‘, ‘21FAD71BFE9A4AA1E053433210AC638C‘); insert into smse_access_permission (ID, NAME, URL, MENU_ID) values (‘21FAD71BFE9D4AA1E053433210AC638C‘, ‘用户明细页面初始化‘, ‘system!initUserDetail.html‘, ‘21FAD71BFE9A4AA1E053433210AC638C‘); insert into smse_access_permission (ID, NAME, URL, MENU_ID) values (‘21FAD71BFE9E4AA1E053433210AC638C‘, ‘用户编辑页面初始化‘, ‘system!initUserEdit.html‘, ‘21FAD71BFE9A4AA1E053433210AC638C‘); insert into smse_access_permission (ID, NAME, URL, MENU_ID) values (‘21FAD71BFE9F4AA1E053433210AC638C‘, ‘用户删除‘, ‘system!deleteUser.html‘, ‘21FAD71BFE9A4AA1E053433210AC638C‘); insert into smse_access_permission (ID, NAME, URL, MENU_ID) values (‘21FAD71BFEA04AA1E053433210AC638C‘, ‘用户编辑页面数据保存‘, ‘system!saveUserEdit.html‘, ‘21FAD71BFE9A4AA1E053433210AC638C‘); insert into smse_access_permission (ID, NAME, URL, MENU_ID) values (‘21FAD71BFEA24AA1E053433210AC638C‘, ‘角色新增页面初始化‘, ‘system!initRoleAdd.html‘, ‘21FAD71BFEA14AA1E053433210AC638C‘); insert into smse_access_permission (ID, NAME, URL, MENU_ID) values (‘21FAD71BFEA34AA1E053433210AC638C‘, ‘角色新增页面数据保存‘, ‘system!saveRoleAdd.html‘, ‘21FAD71BFEA14AA1E053433210AC638C‘); insert into smse_access_permission (ID, NAME, URL, MENU_ID) values (‘21FAD71BFEA54AA1E053433210AC638C‘, ‘角色列表页面初始化‘, ‘system!initRoleList.html‘, ‘21FAD71BFEA44AA1E053433210AC638C‘); insert into smse_access_permission (ID, NAME, URL, MENU_ID) values (‘21FAD71BFEA64AA1E053433210AC638C‘, ‘异步加载角色列表数据‘, ‘system!getRoleList.html‘, ‘21FAD71BFEA44AA1E053433210AC638C‘); insert into smse_access_permission (ID, NAME, URL, MENU_ID) values (‘21FAD71BFEA74AA1E053433210AC638C‘, ‘角色明细页面初始化‘, ‘system!initRoleDetail.html‘, ‘21FAD71BFEA44AA1E053433210AC638C‘); insert into smse_access_permission (ID, NAME, URL, MENU_ID) values (‘21FAD71BFEA84AA1E053433210AC638C‘, ‘角色编辑页面初始化‘, ‘system!initRoleEdit.html‘, ‘21FAD71BFEA44AA1E053433210AC638C‘); insert into smse_access_permission (ID, NAME, URL, MENU_ID) values (‘21FAD71BFEA94AA1E053433210AC638C‘, ‘角色编辑页面数据保存‘, ‘system!saveRoleEdit.html‘, ‘21FAD71BFEA44AA1E053433210AC638C‘); insert into smse_access_permission (ID, NAME, URL, MENU_ID) values (‘21FAD71BFEAA4AA1E053433210AC638C‘, ‘角色删除‘, ‘system!deleteRole.html‘, ‘21FAD71BFEA44AA1E053433210AC638C‘);
时间: 2024-10-07 09:57:26