Skip to content

Commit

Permalink
2024年12月16日 优化初始化数据
Browse files Browse the repository at this point in the history
  • Loading branch information
ss1917 committed Dec 16, 2024
1 parent 8eead54 commit e14c82a
Show file tree
Hide file tree
Showing 10 changed files with 1,180 additions and 847 deletions.
515 changes: 335 additions & 180 deletions docs/sql/codo_a_functions.sql

Large diffs are not rendered by default.

128 changes: 74 additions & 54 deletions docs/sql/codo_a_menus.sql

Large diffs are not rendered by default.

1,021 changes: 575 additions & 446 deletions docs/sql/codo_a_role_functions.sql

Large diffs are not rendered by default.

266 changes: 132 additions & 134 deletions docs/sql/codo_a_role_menus.sql

Large diffs are not rendered by default.

21 changes: 12 additions & 9 deletions docs/sql/codo_a_roles.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
INSERT INTO `codo_a_roles` (`create_time`, `update_time`, `id`, `role_name`, `details`, `status`, `role_type`, `role_subs`, `is_conf`) VALUES ('2023-08-09 19:53:50', '2023-08-25 15:38:28', 1, '管理员组', '管理员组', '0', 'normal', '[24, 26, 20, 22]', 'no');
INSERT INTO `codo_a_roles` (`create_time`, `update_time`, `id`, `role_name`, `details`, `status`, `role_type`, `role_subs`, `is_conf`) VALUES ('2023-08-09 19:54:03', '2023-12-05 10:01:32', 2, '运维组', '运维组', '0', 'normal', '[20, 21, 22, 24, 26]', 'no');
INSERT INTO `codo_a_roles` (`create_time`, `update_time`, `id`, `role_name`, `details`, `status`, `role_type`, `role_subs`, `is_conf`) VALUES ('2023-08-09 19:54:15', '2023-08-25 15:40:49', 3, 'IT安全组', 'IT安全组', '0', 'normal', '[]', 'no');
INSERT INTO `codo_a_roles` (`create_time`, `update_time`, `id`, `role_name`, `details`, `status`, `role_type`, `role_subs`, `is_conf`) VALUES ('2023-08-09 19:54:31', '2023-12-28 21:10:55', 4, '行云开发组', '行云开发组', '0', 'normal', '[40, 15, 18, 19, 20, 21]', 'no');
INSERT INTO `codo_a_roles` (`create_time`, `update_time`, `id`, `role_name`, `details`, `status`, `role_type`, `role_subs`, `is_conf`) VALUES ('2023-08-09 19:53:50', '2023-08-25 15:38:28', 1, '管理员组', '管理员组', '0', 'normal', '[]', 'no');
INSERT INTO `codo_a_roles` (`create_time`, `update_time`, `id`, `role_name`, `details`, `status`, `role_type`, `role_subs`, `is_conf`) VALUES ('2023-08-09 19:54:03', '2024-11-12 15:42:08', 2, '运维组', '运维组', '0', 'normal', '[]', 'no');
INSERT INTO `codo_a_roles` (`create_time`, `update_time`, `id`, `role_name`, `details`, `status`, `role_type`, `role_subs`, `is_conf`) VALUES ('2023-08-09 19:54:15', '2024-10-25 15:54:12', 3, 'IT组', 'IT支持组', '0', 'normal', '[]', 'no');
INSERT INTO `codo_a_roles` (`create_time`, `update_time`, `id`, `role_name`, `details`, `status`, `role_type`, `role_subs`, `is_conf`) VALUES ('2023-08-09 20:13:07', '2023-08-23 16:33:49', 15, '任务平台-订单工作台', '任务平台-订单工作台', '0', 'base', '[]', 'no');
INSERT INTO `codo_a_roles` (`create_time`, `update_time`, `id`, `role_name`, `details`, `status`, `role_type`, `role_subs`, `is_conf`) VALUES ('2023-08-23 16:33:08', '2023-08-23 16:33:08', 18, '任务平台-基础权限', '任务平台-基础权限', '0', 'base', '[]', 'no');
INSERT INTO `codo_a_roles` (`create_time`, `update_time`, `id`, `role_name`, `details`, `status`, `role_type`, `role_subs`, `is_conf`) VALUES ('2023-08-23 16:33:21', '2023-08-23 16:33:21', 19, '任务平台-流程管理和元数据', '任务平台-流程管理和元数据', '0', 'base', '[]', 'no');
Expand All @@ -12,11 +11,15 @@ INSERT INTO `codo_a_roles` (`create_time`, `update_time`, `id`, `role_name`, `de
INSERT INTO `codo_a_roles` (`create_time`, `update_time`, `id`, `role_name`, `details`, `status`, `role_type`, `role_subs`, `is_conf`) VALUES ('2023-08-23 19:09:21', '2023-08-23 19:09:21', 24, '配置中心-管理员', '配置中心-管理员', '0', 'base', '[]', 'no');
INSERT INTO `codo_a_roles` (`create_time`, `update_time`, `id`, `role_name`, `details`, `status`, `role_type`, `role_subs`, `is_conf`) VALUES ('2023-08-23 19:09:43', '2023-08-23 19:09:43', 25, '配置中心-普通用户', '配置中心-普通用户', '0', 'base', '[]', 'no');
INSERT INTO `codo_a_roles` (`create_time`, `update_time`, `id`, `role_name`, `details`, `status`, `role_type`, `role_subs`, `is_conf`) VALUES ('2023-08-23 19:10:18', '2023-08-23 19:10:18', 26, '管理后台-管理员', '管理后台-管理员', '0', 'base', '[]', 'no');
INSERT INTO `codo_a_roles` (`create_time`, `update_time`, `id`, `role_name`, `details`, `status`, `role_type`, `role_subs`, `is_conf`) VALUES ('2023-08-23 19:10:39', '2023-08-23 19:10:39', 27, '管理后台-通用权限', '管理后台-通用权限', '0', 'base', '[]', 'no');
INSERT INTO `codo_a_roles` (`create_time`, `update_time`, `id`, `role_name`, `details`, `status`, `role_type`, `role_subs`, `is_conf`) VALUES ('2023-08-23 19:11:00', '2023-08-23 19:11:00', 28, '管理后台-操作员', '管理后台-操作员', '0', 'base', '[]', 'no');
INSERT INTO `codo_a_roles` (`create_time`, `update_time`, `id`, `role_name`, `details`, `status`, `role_type`, `role_subs`, `is_conf`) VALUES ('2023-08-23 20:34:54', '2023-08-23 20:35:14', 29, '沈硕测试用', '沈硕测试用', '0', 'normal', '[26]', 'no');
INSERT INTO `codo_a_roles` (`create_time`, `update_time`, `id`, `role_name`, `details`, `status`, `role_type`, `role_subs`, `is_conf`) VALUES ('2023-08-25 15:38:43', '2023-08-25 15:39:24', 33, 'devops接口', '开发账号', '0', 'normal', '[]', 'no');
INSERT INTO `codo_a_roles` (`create_time`, `update_time`, `id`, `role_name`, `details`, `status`, `role_type`, `role_subs`, `is_conf`) VALUES ('2023-10-25 10:29:45', '2023-10-25 10:30:27', 35, 'ro-deploy', 'ro-deploy', '0', 'normal', '[24, 22]', 'no');
INSERT INTO `codo_a_roles` (`create_time`, `update_time`, `id`, `role_name`, `details`, `status`, `role_type`, `role_subs`, `is_conf`) VALUES ('2023-10-31 15:15:19', '2023-10-31 15:15:19', 37, '任务平台-任务中心-常用流程', '任务平台-任务中心-常用流程', '0', 'base', '[]', 'no');
INSERT INTO `codo_a_roles` (`create_time`, `update_time`, `id`, `role_name`, `details`, `status`, `role_type`, `role_subs`, `is_conf`) VALUES ('2023-12-13 20:30:56', '2023-12-13 20:30:56', 40, '通知中心-管理员', '通知中心-管理员', '0', 'base', '[]', 'no');
INSERT INTO `codo_a_roles` (`create_time`, `update_time`, `id`, `role_name`, `details`, `status`, `role_type`, `role_subs`, `is_conf`) VALUES ('2023-12-13 20:31:57', '2023-12-13 20:33:03', 41, '通知SDK组', '通知接口角色', '0', 'normal', '[40]', 'no');
INSERT INTO `codo_a_roles` (`create_time`, `update_time`, `id`, `role_name`, `details`, `status`, `role_type`, `role_subs`, `is_conf`) VALUES ('2023-12-13 20:31:57', '2023-12-13 20:33:03', 41, '通知SDK组', '通知接口角色', '0', 'normal', '[]', 'no');
INSERT INTO `codo_a_roles` (`create_time`, `update_time`, `id`, `role_name`, `details`, `status`, `role_type`, `role_subs`, `is_conf`) VALUES ('2024-04-29 10:19:12', '2024-04-29 10:20:16', 45, '安全中心组', '安全中心的用户组', '0', 'normal', '[]', 'no');
INSERT INTO `codo_a_roles` (`create_time`, `update_time`, `id`, `role_name`, `details`, `status`, `role_type`, `role_subs`, `is_conf`) VALUES ('2024-07-04 14:50:09', '2024-07-04 14:56:51', 49, '任务平台-节点管理(危)', '任务平台-节点管理(管理员权限)', '0', 'base', '[]', 'no');
INSERT INTO `codo_a_roles` (`create_time`, `update_time`, `id`, `role_name`, `details`, `status`, `role_type`, `role_subs`, `is_conf`) VALUES ('2024-10-16 21:44:04', '2024-10-16 21:44:39', 52, '区服管理-运营', '区服正常的查看和操作权限', '0', 'base', '[]', 'no');
INSERT INTO `codo_a_roles` (`create_time`, `update_time`, `id`, `role_name`, `details`, `status`, `role_type`, `role_subs`, `is_conf`) VALUES ('2024-10-16 21:44:21', '2024-10-16 21:44:51', 53, '区服管理-管理员', '区服所有权限', '0', 'base', '[]', 'no');
INSERT INTO `codo_a_roles` (`create_time`, `update_time`, `id`, `role_name`, `details`, `status`, `role_type`, `role_subs`, `is_conf`) VALUES ('2024-10-28 10:14:33', '2024-10-28 10:18:02', 55, '平台开发组', '平台开发部', '0', 'normal', '[]', 'no');
INSERT INTO `codo_a_roles` (`create_time`, `update_time`, `id`, `role_name`, `details`, `status`, `role_type`, `role_subs`, `is_conf`) VALUES ('2024-10-30 11:17:23', '2024-12-16 10:34:58', 57, '灵云-管理员', '灵云-管理员', '0', 'base', '[]', 'no');
INSERT INTO `codo_a_roles` (`create_time`, `update_time`, `id`, `role_name`, `details`, `status`, `role_type`, `role_subs`, `is_conf`) VALUES ('2024-10-30 11:17:44', '2024-12-16 10:35:19', 58, '灵云-普通用户', '灵云-普通用户', '0', 'base', '[]', 'no');
INSERT INTO `codo_a_roles` (`create_time`, `update_time`, `id`, `role_name`, `details`, `status`, `role_type`, `role_subs`, `is_conf`) VALUES ('2024-11-01 14:33:12', '2024-12-16 10:35:29', 61, '灵云-集群管理员', '灵云-集群管理员', '0', 'base', '[]', 'no');
9 changes: 0 additions & 9 deletions docs/sql/codo_a_user_role.sql
Original file line number Diff line number Diff line change
@@ -1,9 +0,0 @@
INSERT INTO `codo_a_user_role` (`id`, `role_id`, `user_id`) VALUES (120, 2, 1);
INSERT INTO `codo_a_user_role` (`id`, `role_id`, `user_id`) VALUES (122, 2, 1054);
INSERT INTO `codo_a_user_role` (`id`, `role_id`, `user_id`) VALUES (121, 2, 1700);
INSERT INTO `codo_a_user_role` (`id`, `role_id`, `user_id`) VALUES (117, 19, 1256);
INSERT INTO `codo_a_user_role` (`id`, `role_id`, `user_id`) VALUES (118, 19, 1257);
INSERT INTO `codo_a_user_role` (`id`, `role_id`, `user_id`) VALUES (119, 19, 1258);
INSERT INTO `codo_a_user_role` (`id`, `role_id`, `user_id`) VALUES (114, 21, 1311);
INSERT INTO `codo_a_user_role` (`id`, `role_id`, `user_id`) VALUES (111, 24, 1054);
INSERT INTO `codo_a_user_role` (`id`, `role_id`, `user_id`) VALUES (113, 24, 1311);
31 changes: 16 additions & 15 deletions docs/sql/codo_apps.sql
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
INSERT INTO `codo_apps` (`create_time`, `update_time`, `id`, `name`, `app_code`, `frontend_code`, `href`, `img`, `icon`, `description`, `classify`) VALUES ('2023-06-06 10:12:34', '2023-06-06 10:12:34', 1, '管理后台', 'p', 'mg', '', 'img', 'mg', '管理CODO权限、系统配置等。', '运维协作与DevOps');
INSERT INTO `codo_apps` (`create_time`, `update_time`, `id`, `name`, `app_code`, `frontend_code`, `href`, `img`, `icon`, `description`, `classify`) VALUES ('2023-06-05 19:09:34', '2023-06-06 10:12:43', 2, '配置管理【CMDB】', 'cmdb', 'cmdb', '', 'img', 'cmdb', '提供配置管理服务', '资源配置管理');
INSERT INTO `codo_apps` (`create_time`, `update_time`, `id`, `name`, `app_code`, `frontend_code`, `href`, `img`, `icon`, `description`, `classify`) VALUES ('2023-07-10 14:14:14', '2023-07-10 14:14:14', 3, '通知中心', 'noc', 'noc', '', '', '', '通知中心', '可观测管理');
INSERT INTO `codo_apps` (`create_time`, `update_time`, `id`, `name`, `app_code`, `frontend_code`, `href`, `img`, `icon`, `description`, `classify`) VALUES ('2023-07-17 16:04:50', '2023-07-17 16:04:50', 5, '天门网关', 'gw', 'gw', '', '', 'gw', '天门网关', '安全访问管理');
INSERT INTO `codo_apps` (`create_time`, `update_time`, `id`, `name`, `app_code`, `frontend_code`, `href`, `img`, `icon`, `description`, `classify`) VALUES ('2023-08-10 15:57:44', '2023-08-10 15:57:48', 6, '任务管理【Flow】', 'flow', 'no', '', 'img', 'flow', '流程调度', '运维协作与DevOps');
INSERT INTO `codo_apps` (`create_time`, `update_time`, `id`, `name`, `app_code`, `frontend_code`, `href`, `img`, `icon`, `description`, `classify`) VALUES ('2023-07-20 16:15:08', '2023-07-20 16:15:08', 10, '研发效能【行云】', 'xingyun', 'no', '', '', 'xingyun', '效能平台', '运维协作与DevOps');
INSERT INTO `codo_apps` (`create_time`, `update_time`, `id`, `name`, `app_code`, `frontend_code`, `href`, `img`, `icon`, `description`, `classify`) VALUES ('2023-10-09 20:20:14', '2023-10-09 20:20:14', 12, '配置中心', 'kerrigan', 'kerrigan', '', '', 'kerrigan', '配置中心', '资源配置管理');
INSERT INTO `codo_apps` (`create_time`, `update_time`, `id`, `name`, `app_code`, `frontend_code`, `href`, `img`, `icon`, `description`, `classify`) VALUES ('2024-06-03 12:16:10', '2024-06-03 12:16:10', 14, '堡垒机', 'jumpserver', 'jumpserver', '', '', 'jumpserver', '堡垒机', '安全访问管理');
INSERT INTO `codo_apps` (`create_time`, `update_time`, `id`, `name`, `app_code`, `frontend_code`, `href`, `img`, `icon`, `description`, `classify`) VALUES ('2024-06-11 11:38:39', '2024-06-11 11:38:39', 15, '运营管理【GMT】', 'gmt', 'gmt', '', '', '', '运营管理平台', '运维协作与DevOps');
INSERT INTO `codo_apps` (`create_time`, `update_time`, `id`, `name`, `app_code`, `frontend_code`, `href`, `img`, `icon`, `description`, `classify`) VALUES ('2024-07-04 14:58:28', '2024-07-04 14:58:28', 16, '节点管理【GSE】', 'agent', 'no', '', '', '', '提供Agent服务的集中管理与配置', '资源配置管理');
INSERT INTO `codo_apps` (`create_time`, `update_time`, `id`, `name`, `app_code`, `frontend_code`, `href`, `img`, `icon`, `description`, `classify`) VALUES ('2024-10-12 15:10:37', '2024-10-12 15:10:37', 17, '云原生管理', 'cnmp', 'cnmp', '', '', 'cnmp', '云原生集群管理-K8S集群', '资源配置管理');
INSERT INTO `codo_apps` (`create_time`, `update_time`, `id`, `name`, `app_code`, `frontend_code`, `href`, `img`, `icon`, `description`, `classify`) VALUES ('2024-10-12 15:11:00', '2024-10-12 15:11:00', 18, '区服管理', 'servermgmt', 'servermgmt', '', '', 'servermgmt', '提供RO3,美食2的区服管理', '资源配置管理');
INSERT INTO `codo_apps` (`create_time`, `update_time`, `id`, `name`, `app_code`, `frontend_code`, `href`, `img`, `icon`, `description`, `classify`) VALUES ('2024-10-25 17:12:03', '2024-10-25 17:12:03', 19, '日志查询【CLS】', 'cls', 'no', '', '', '', '统一日志查询平台', '可观测管理');
INSERT INTO `codo_apps` (`create_time`, `update_time`, `id`, `name`, `app_code`, `frontend_code`, `href`, `img`, `icon`, `description`, `classify`) VALUES ('2024-10-25 17:15:33', '2024-10-25 17:15:33', 20, '监控查询【Grafana】', 'grafana', 'grafana', '', '', '', 'Grafana', '可观测管理');
INSERT INTO `codo_apps` (`create_time`, `update_time`, `id`, `name`, `app_code`, `frontend_code`, `href`, `img`, `icon`, `description`, `classify`) VALUES ('2024-12-03 22:19:16', '2024-12-03 22:19:16', 21, '观测平台', 'monitor', 'monitor', '', '', '', '观测平台', '可观测管理');
INSERT INTO `codo_apps` (`create_time`, `update_time`, `id`, `name`, `app_code`, `frontend_code`, `href`, `img`, `icon`, `classify`, `description`) VALUES ('2023-06-06 10:12:34', '2023-06-06 10:12:34', 1, '管理后台', 'p', 'mg', '', 'img', 'mg', '运维协作与DevOps', '管理CODO权限、系统配置等。');
INSERT INTO `codo_apps` (`create_time`, `update_time`, `id`, `name`, `app_code`, `frontend_code`, `href`, `img`, `icon`, `classify`, `description`) VALUES ('2023-06-05 19:09:34', '2023-06-06 10:12:43', 2, '配置管理【CMDB】', 'cmdb', 'cmdb', '', 'img', 'cmdb', '资源配置管理', '提供配置管理服务');
INSERT INTO `codo_apps` (`create_time`, `update_time`, `id`, `name`, `app_code`, `frontend_code`, `href`, `img`, `icon`, `classify`, `description`) VALUES ('2023-07-10 14:14:14', '2023-07-10 14:14:14', 3, '通知中心', 'noc', 'noc', '', '', '', '可观测管理', '通知中心');
INSERT INTO `codo_apps` (`create_time`, `update_time`, `id`, `name`, `app_code`, `frontend_code`, `href`, `img`, `icon`, `classify`, `description`) VALUES ('2023-07-17 16:04:50', '2023-07-17 16:04:50', 5, '天门网关', 'gw', 'gw', '', '', 'gw', '安全访问管理', '天门网关');
INSERT INTO `codo_apps` (`create_time`, `update_time`, `id`, `name`, `app_code`, `frontend_code`, `href`, `img`, `icon`, `classify`, `description`) VALUES ('2023-08-10 15:57:44', '2023-08-10 15:57:48', 6, '任务管理【Flow】', 'job', 'flow', '', 'img', 'flow', '运维协作与DevOps', '流程调度');
INSERT INTO `codo_apps` (`create_time`, `update_time`, `id`, `name`, `app_code`, `frontend_code`, `href`, `img`, `icon`, `classify`, `description`) VALUES ('2023-07-20 16:15:08', '2023-07-20 16:15:08', 10, '研发效能【行云】', 'xingyun', 'no', '', '', 'xingyun', '运维协作与DevOps', '效能平台');
INSERT INTO `codo_apps` (`create_time`, `update_time`, `id`, `name`, `app_code`, `frontend_code`, `href`, `img`, `icon`, `classify`, `description`) VALUES ('2023-10-09 20:20:14', '2023-10-09 20:20:14', 12, '配置中心', 'kerrigan', 'kerrigan', '', '', 'kerrigan', '资源配置管理', '配置中心');
INSERT INTO `codo_apps` (`create_time`, `update_time`, `id`, `name`, `app_code`, `frontend_code`, `href`, `img`, `icon`, `classify`, `description`) VALUES ('2024-01-23 14:40:56', '2024-01-23 14:40:56', 13, 'kuboard', 'kuboard', 'no', '', '', 'kuboard', '资源配置管理', 'kuboard K8S管理平台');
INSERT INTO `codo_apps` (`create_time`, `update_time`, `id`, `name`, `app_code`, `frontend_code`, `href`, `img`, `icon`, `classify`, `description`) VALUES ('2024-06-03 12:16:10', '2024-06-03 12:16:10', 14, '堡垒机【JMS】', 'jumpserver', 'jumpserver', '', '', 'jumpserver', '安全访问管理', '堡垒机');
INSERT INTO `codo_apps` (`create_time`, `update_time`, `id`, `name`, `app_code`, `frontend_code`, `href`, `img`, `icon`, `classify`, `description`) VALUES ('2024-06-11 11:38:39', '2024-06-11 11:38:39', 15, '运营管理【GMT】', 'gmt', 'gmt', '', '', '', '运维协作与DevOps', '运营管理平台');
INSERT INTO `codo_apps` (`create_time`, `update_time`, `id`, `name`, `app_code`, `frontend_code`, `href`, `img`, `icon`, `classify`, `description`) VALUES ('2024-07-04 14:58:28', '2024-07-04 14:58:28', 16, '节点管理【GSE】', 'agent', 'no', '', '', '', '资源配置管理', '提供Agent服务的集中管理与配置');
INSERT INTO `codo_apps` (`create_time`, `update_time`, `id`, `name`, `app_code`, `frontend_code`, `href`, `img`, `icon`, `classify`, `description`) VALUES ('2024-10-12 15:10:37', '2024-10-12 15:10:37', 17, '灵云【K8S】', 'cnmp', 'cnmp', '', '', 'cnmp', '资源配置管理', '云原生集群管理-K8S集群');
INSERT INTO `codo_apps` (`create_time`, `update_time`, `id`, `name`, `app_code`, `frontend_code`, `href`, `img`, `icon`, `classify`, `description`) VALUES ('2024-10-12 15:11:00', '2024-10-12 15:11:00', 18, '区服管理', 'servermgmt', 'servermgmt', '', '', 'servermgmt', '资源配置管理', '提供RO3,美食2的区服管理');
INSERT INTO `codo_apps` (`create_time`, `update_time`, `id`, `name`, `app_code`, `frontend_code`, `href`, `img`, `icon`, `classify`, `description`) VALUES ('2024-10-25 17:12:03', '2024-10-25 17:12:03', 19, '日志查询【CLS】', 'cls', 'no', '', '', '', '可观测管理', '统一日志查询平台');
INSERT INTO `codo_apps` (`create_time`, `update_time`, `id`, `name`, `app_code`, `frontend_code`, `href`, `img`, `icon`, `classify`, `description`) VALUES ('2024-10-25 17:15:33', '2024-10-25 17:15:33', 20, '监控查询【Grafana】', 'grafana', 'grafana', '', '', '', '可观测管理', 'Grafana');
INSERT INTO `codo_apps` (`create_time`, `update_time`, `id`, `name`, `app_code`, `frontend_code`, `href`, `img`, `icon`, `classify`, `description`) VALUES ('2024-12-03 22:19:16', '2024-12-03 22:19:16', 21, '观测平台', 'monitor', 'monitor', '', '', '', '可观测管理', '观测平台');
Loading

0 comments on commit e14c82a

Please sign in to comment.