From 511358d4803d00242747af58bf5d9b99e32d940f Mon Sep 17 00:00:00 2001 From: smallchill Date: Tue, 17 Sep 2019 12:33:39 +0800 Subject: [PATCH] =?UTF-8?q?:zap:=20=E6=9B=B4=E6=96=B0sql=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/sql/mysql/bladex-saber-mysql.sql | 8 + doc/sql/mysql/bladex-sword-mysql.sql | 8 + doc/sql/oracle/bladex-saber-oracle.sql | 142 +++++++++--------- doc/sql/oracle/bladex-sword-oracle.sql | 140 +++++++++-------- .../postgresql/bladex-saber-postgresql.sql | 8 + .../postgresql/bladex-sword-postgresql.sql | 8 + doc/sql/update/mysql-update-2.0.6~2.0.7.sql | 75 --------- doc/sql/update/mysql-update-2.0.7~2.0.8.sql | 16 ++ doc/sql/update/oracle-update-2.0.6~2.0.7.sql | 97 ------------ doc/sql/update/oracle-update-2.0.7~2.0.8.sql | 17 +++ .../update/postgresql-update-2.0.6~2.0.7.sql | 103 ------------- .../update/postgresql-update-2.0.7~2.0.8.sql | 16 ++ 12 files changed, 230 insertions(+), 408 deletions(-) delete mode 100644 doc/sql/update/mysql-update-2.0.6~2.0.7.sql create mode 100644 doc/sql/update/mysql-update-2.0.7~2.0.8.sql delete mode 100644 doc/sql/update/oracle-update-2.0.6~2.0.7.sql create mode 100644 doc/sql/update/oracle-update-2.0.7~2.0.8.sql delete mode 100644 doc/sql/update/postgresql-update-2.0.6~2.0.7.sql create mode 100644 doc/sql/update/postgresql-update-2.0.7~2.0.8.sql diff --git a/doc/sql/mysql/bladex-saber-mysql.sql b/doc/sql/mysql/bladex-saber-mysql.sql index bd607c81..5a8ae408 100644 --- a/doc/sql/mysql/bladex-saber-mysql.sql +++ b/doc/sql/mysql/bladex-saber-mysql.sql @@ -258,6 +258,10 @@ CREATE TABLE `blade_menu` ( -- ---------------------------- BEGIN; INSERT INTO `blade_menu` VALUES (1123598815738675201, 0, 'desk', '工作台', 'menu', '/desk', 'iconfont iconicon_airplay', 1, 1, 0, 1, NULL, 0), (1123598815738675202, 1123598815738675201, 'notice', '通知公告', 'menu', '/desk/notice', 'iconfont iconicon_sms', 1, 1, 0, 1, NULL, 0), (1123598815738675203, 0, 'system', '系统管理', 'menu', '/system', 'iconfont iconicon_setting', 99, 1, 0, 1, NULL, 0), (1123598815738675204, 1123598815738675203, 'user', '用户管理', 'menu', '/system/user', 'iconfont iconicon_principal', 1, 1, 0, 1, NULL, 0), (1123598815738675205, 1123598815738675203, 'dept', '机构管理', 'menu', '/system/dept', 'iconfont iconicon_group', 2, 1, 0, 1, NULL, 0), (1123598815738675206, 1123598815738675203, 'dict', '字典管理', 'menu', '/system/dict', 'iconfont iconicon_addresslist', 3, 1, 0, 1, NULL, 0), (1123598815738675207, 1123598815738675203, 'menu', '菜单管理', 'menu', '/system/menu', 'iconfont iconicon_subordinate', 4, 1, 0, 1, NULL, 0), (1123598815738675208, 1123598815738675203, 'topmenu', '顶部菜单', 'menu', '/system/topmenu', 'iconfont icon-canshu', 5, 1, 0, 1, NULL, 0), (1123598815738675209, 1123598815738675203, 'param', '参数管理', 'menu', '/system/param', 'iconfont iconicon_community_line', 6, 1, 0, 1, NULL, 0), (1123598815738675210, 0, 'monitor', '系统监控', 'menu', '/monitor', 'iconfont icon-yanzhengma', 3, 1, 0, 1, NULL, 0), (1123598815738675211, 1123598815738675210, 'doc', '接口文档', 'menu', 'http://localhost/doc.html', 'iconfont iconicon_study', 1, 1, 0, 2, NULL, 0), (1123598815738675212, 1123598815738675210, 'admin', '服务治理', 'menu', 'http://localhost:7002', 'iconfont icon-canshu', 2, 1, 0, 2, NULL, 0), (1123598815738675213, 1123598815738675210, 'log', '日志管理', 'menu', '/monitor/log', 'iconfont iconicon_doc', 3, 1, 0, 1, NULL, 0), (1123598815738675214, 1123598815738675213, 'log_usual', '通用日志', 'menu', '/monitor/log/usual', NULL, 1, 1, 0, 1, NULL, 0), (1123598815738675215, 1123598815738675213, 'log_api', '接口日志', 'menu', '/monitor/log/api', NULL, 2, 1, 0, 1, NULL, 0), (1123598815738675216, 1123598815738675213, 'log_error', '错误日志', 'menu', '/monitor/log/error', NULL, 3, 1, 0, 1, NULL, 0), (1123598815738675217, 0, 'tool', '研发工具', 'menu', '/tool', 'iconfont icon-wxbgongju', 4, 1, 0, 1, NULL, 0), (1123598815738675218, 1123598815738675217, 'code', '代码生成', 'menu', '/tool/code', 'iconfont iconicon_savememo', 1, 1, 0, 1, NULL, 0), (1123598815738675219, 1123598815738675202, 'notice_add', '新增', 'add', '/desk/notice/add', 'plus', 1, 2, 1, 1, NULL, 0), (1123598815738675220, 1123598815738675202, 'notice_edit', '修改', 'edit', '/desk/notice/edit', 'form', 2, 2, 2, 1, NULL, 0), (1123598815738675221, 1123598815738675202, 'notice_delete', '删除', 'delete', '/api/blade-desk/notice/remove', 'delete', 3, 2, 3, 1, NULL, 0), (1123598815738675222, 1123598815738675202, 'notice_view', '查看', 'view', '/desk/notice/view', 'file-text', 4, 2, 2, 1, NULL, 0), (1123598815738675223, 1123598815738675204, 'user_add', '新增', 'add', '/system/user/add', 'plus', 1, 2, 1, 1, NULL, 0), (1123598815738675224, 1123598815738675204, 'user_edit', '修改', 'edit', '/system/user/edit', 'form', 2, 2, 2, 1, NULL, 0), (1123598815738675225, 1123598815738675204, 'user_delete', '删除', 'delete', '/api/blade-user/remove', 'delete', 3, 2, 3, 1, NULL, 0), (1123598815738675226, 1123598815738675204, 'user_role', '角色配置', 'role', NULL, 'user-add', 4, 2, 1, 1, NULL, 0), (1123598815738675227, 1123598815738675204, 'user_reset', '密码重置', 'reset-password', '/api/blade-user/reset-password', 'retweet', 5, 2, 1, 1, NULL, 0), (1123598815738675228, 1123598815738675204, 'user_view', '查看', 'view', '/system/user/view', 'file-text', 6, 2, 2, 1, NULL, 0), (1123598815738675229, 1123598815738675205, 'dept_add', '新增', 'add', '/system/dept/add', 'plus', 1, 2, 1, 1, NULL, 0), (1123598815738675230, 1123598815738675205, 'dept_edit', '修改', 'edit', '/system/dept/edit', 'form', 2, 2, 2, 1, NULL, 0), (1123598815738675231, 1123598815738675205, 'dept_delete', '删除', 'delete', '/api/blade-system/dept/remove', 'delete', 3, 2, 3, 1, NULL, 0), (1123598815738675232, 1123598815738675205, 'dept_view', '查看', 'view', '/system/dept/view', 'file-text', 4, 2, 2, 1, NULL, 0), (1123598815738675233, 1123598815738675206, 'dict_add', '新增', 'add', '/system/dict/add', 'plus', 1, 2, 1, 1, NULL, 0), (1123598815738675234, 1123598815738675206, 'dict_edit', '修改', 'edit', '/system/dict/edit', 'form', 2, 2, 2, 1, NULL, 0), (1123598815738675235, 1123598815738675206, 'dict_delete', '删除', 'delete', '/api/blade-system/dict/remove', 'delete', 3, 2, 3, 1, NULL, 0), (1123598815738675236, 1123598815738675206, 'dict_view', '查看', 'view', '/system/dict/view', 'file-text', 4, 2, 2, 1, NULL, 0), (1123598815738675237, 1123598815738675207, 'menu_add', '新增', 'add', '/system/menu/add', 'plus', 1, 2, 1, 1, NULL, 0), (1123598815738675238, 1123598815738675207, 'menu_edit', '修改', 'edit', '/system/menu/edit', 'form', 2, 2, 2, 1, NULL, 0), (1123598815738675239, 1123598815738675207, 'menu_delete', '删除', 'delete', '/api/blade-system/menu/remove', 'delete', 3, 2, 3, 1, NULL, 0), (1123598815738675240, 1123598815738675207, 'menu_view', '查看', 'view', '/system/menu/view', 'file-text', 4, 2, 2, 1, NULL, 0), (1123598815738675241, 1123598815738675308, 'role_add', '新增', 'add', '/authority/role/add', 'plus', 1, 2, 1, 1, NULL, 0), (1123598815738675242, 1123598815738675308, 'role_edit', '修改', 'edit', '/authority/role/edit', 'form', 2, 2, 2, 1, NULL, 0), (1123598815738675243, 1123598815738675308, 'role_delete', '删除', 'delete', '/api/blade-system/role/remove', 'delete', 3, 2, 3, 1, NULL, 0), (1123598815738675244, 1123598815738675308, 'role_view', '查看', 'view', '/authority/role/view', 'file-text', 4, 2, 2, 1, NULL, 0), (1123598815738675245, 1123598815738675209, 'param_add', '新增', 'add', '/system/param/add', 'plus', 1, 2, 1, 1, NULL, 0), (1123598815738675246, 1123598815738675209, 'param_edit', '修改', 'edit', '/system/param/edit', 'form', 2, 2, 2, 1, NULL, 0), (1123598815738675247, 1123598815738675209, 'param_delete', '删除', 'delete', '/api/blade-system/param/remove', 'delete', 3, 2, 3, 1, NULL, 0), (1123598815738675248, 1123598815738675209, 'param_view', '查看', 'view', '/system/param/view', 'file-text', 4, 2, 2, 1, NULL, 0), (1123598815738675249, 1123598815738675214, 'log_usual_view', '查看', 'view', '/monitor/log/usual/view', 'file-text', 4, 2, 2, 1, NULL, 0), (1123598815738675250, 1123598815738675215, 'log_api_view', '查看', 'view', '/monitor/log/api/view', 'file-text', 4, 2, 2, 1, NULL, 0), (1123598815738675251, 1123598815738675216, 'log_error_view', '查看', 'view', '/monitor/log/error/view', 'file-text', 4, 2, 2, 1, NULL, 0), (1123598815738675252, 1123598815738675218, 'code_add', '新增', 'add', '/tool/code/add', 'plus', 1, 2, 1, 1, NULL, 0), (1123598815738675253, 1123598815738675218, 'code_edit', '修改', 'edit', '/tool/code/edit', 'form', 2, 2, 2, 1, NULL, 0), (1123598815738675254, 1123598815738675218, 'code_delete', '删除', 'delete', '/api/blade-system/code/remove', 'delete', 3, 2, 3, 1, NULL, 0), (1123598815738675255, 1123598815738675218, 'code_view', '查看', 'view', '/tool/code/view', 'file-text', 4, 2, 2, 1, NULL, 0), (1123598815738675256, 1123598815738675203, 'tenant', '租户管理', 'menu', '/system/tenant', 'iconfont icon-quanxian', 7, 1, 0, 1, NULL, 0), (1123598815738675257, 1123598815738675256, 'tenant_add', '新增', 'add', '/system/tenant/add', 'plus', 1, 2, 1, 1, NULL, 0), (1123598815738675258, 1123598815738675256, 'tenant_edit', '修改', 'edit', '/system/tenant/edit', 'form', 2, 2, 2, 1, NULL, 0), (1123598815738675259, 1123598815738675256, 'tenant_delete', '删除', 'delete', '/api/blade-system/tenant/remove', 'delete', 3, 2, 3, 1, NULL, 0), (1123598815738675260, 1123598815738675256, 'tenant_view', '查看', 'view', '/system/tenant/view', 'file-text', 4, 2, 2, 1, NULL, 0), (1123598815738675261, 1123598815738675203, 'client', '应用管理', 'menu', '/system/client', 'iconfont iconicon_mobilephone', 8, 1, 0, 1, NULL, 0), (1123598815738675262, 1123598815738675261, 'client_add', '新增', 'add', '/system/client/add', 'plus', 1, 2, 1, 1, NULL, 0), (1123598815738675263, 1123598815738675261, 'client_edit', '修改', 'edit', '/system/client/edit', 'form', 2, 2, 2, 2, NULL, 0), (1123598815738675264, 1123598815738675261, 'client_delete', '删除', 'delete', '/api/blade-system/client/remove', 'delete', 3, 2, 3, 3, NULL, 0), (1123598815738675265, 1123598815738675261, 'client_view', '查看', 'view', '/system/client/view', 'file-text', 4, 2, 2, 2, NULL, 0), (1123598815738675266, 0, 'flow', '流程管理', 'menu', '/flow', 'iconfont iconicon_send', 5, 1, 0, 1, '', 0), (1123598815738675267, 1123598815738675266, 'flow_model', '模型管理', 'menu', '/flow/model', 'iconfont iconicon_discovery', 1, 1, 0, 1, '', 0), (1123598815738675268, 1123598815738675267, 'flow_model_create', '创建', 'create', '', 'plus', 1, 2, 1, 1, NULL, 0), (1123598815738675269, 1123598815738675267, 'flow_model_update', '编辑', 'update', '', 'form', 2, 2, 2, 1, NULL, 0), (1123598815738675270, 1123598815738675267, 'flow_model_deploy', '部署', 'deploy', '', 'cloud-upload', 3, 2, 2, 1, NULL, 0), (1123598815738675271, 1123598815738675267, 'flow_model_download', '下载', 'download', '', 'download', 4, 2, 2, 1, NULL, 0), (1123598815738675272, 1123598815738675267, 'flow_model_delete', '删除', 'delete', '/api/blade-flow/model/remove', 'delete', 5, 2, 3, 1, NULL, 0), (1123598815738675273, 1123598815738675266, 'flow_deploy', '流程部署', 'menu', '/flow/deploy', 'iconfont iconicon_cspace', 2, 1, 0, 1, '', 0), (1123598815738675274, 1123598815738675266, 'flow_manager', '流程管理', 'menu', '/flow/manager', 'iconfont iconicon_cloud_history', 3, 1, 0, 1, '', 0), (1123598815738675275, 1123598815738675274, 'flow_manager_state', '变更状态', 'state', '', 'plus', 1, 2, 2, 1, NULL, 0), (1123598815738675276, 1123598815738675274, 'flow_manager_image', '流程图', 'image', '', 'image', 2, 2, 2, 1, NULL, 0), (1123598815738675277, 1123598815738675274, 'flow_manager_remove', '删除', 'remove', '', 'delete', 3, 2, 3, 1, NULL, 0), (1123598815738675278, 1123598815738675266, 'flow_follow', '流程跟踪', 'menu', '/flow/follow', 'iconfont iconicon_GPS', 4, 1, 0, 1, '', 0), (1123598815738675279, 1123598815738675278, 'flow_follow_delete', '删除', 'remove', '', 'remove', 1, 2, 2, 1, NULL, 0), (1123598815738675280, 0, 'work', '我的事务', 'menu', '/work', 'iconfont iconicon_notice', 2, 1, 0, 1, '', 0), (1123598815738675281, 1123598815738675280, 'work_start', '发起事务', 'menu', '/work/start', 'iconfont iconicon_compile', 1, 1, 0, 1, '', 0), (1123598815738675282, 1123598815738675281, 'work_start_flow', '发起', 'flow', '', 'flow', 1, 2, 2, 1, NULL, 0), (1123598815738675283, 1123598815738675281, 'work_start_image', '流程图', 'image', '', 'image', 2, 2, 2, 1, NULL, 0), (1123598815738675284, 1123598815738675280, 'work_claim', '待签事务', 'menu', '/work/claim', 'iconfont iconicon_ding', 2, 1, 0, 1, '', 0), (1123598815738675285, 1123598815738675284, 'work_claim_sign', '签收', 'sign', '', 'sign', 1, 2, 2, 1, NULL, 0), (1123598815738675286, 1123598815738675284, 'work_claim_detail', '详情', 'detail', '', 'detail', 2, 2, 2, 1, NULL, 0), (1123598815738675287, 1123598815738675284, 'work_claim_follow', '跟踪', 'follow', '', 'follow', 3, 2, 2, 1, NULL, 0), (1123598815738675288, 1123598815738675280, 'work_todo', '待办事务', 'menu', '/work/todo', 'iconfont iconicon_savememo', 2, 1, 0, 1, '', 0), (1123598815738675289, 1123598815738675288, 'work_todo_handle', '办理', 'handle', '', 'handle', 1, 2, 2, 1, NULL, 0), (1123598815738675290, 1123598815738675288, 'work_todo_detail', '详情', 'detail', '', 'detail', 2, 2, 2, 1, NULL, 0), (1123598815738675291, 1123598815738675288, 'work_todo_follow', '跟踪', 'follow', '', 'follow', 3, 2, 2, 1, NULL, 0), (1123598815738675292, 1123598815738675280, 'work_send', '已发事务', 'menu', '/work/send', 'iconfont iconicon_doc', 3, 1, 0, 1, '', 0), (1123598815738675293, 1123598815738675292, 'work_send_detail', '详情', 'detail', '', 'detail', 1, 2, 2, 1, NULL, 0), (1123598815738675294, 1123598815738675292, 'work_send_follow', '跟踪', 'follow', '', 'follow', 2, 2, 2, 1, NULL, 0), (1123598815738675295, 1123598815738675280, 'work_done', '办结事务', 'menu', '/work/done', 'iconfont iconicon_dispose', 4, 1, 0, 1, '', 0), (1123598815738675296, 1123598815738675295, 'work_done_detail', '详情', 'detail', '', 'detail', 1, 2, 2, 1, NULL, 0), (1123598815738675297, 1123598815738675295, 'work_done_follow', '跟踪', 'follow', '', 'follow', 2, 2, 2, 1, NULL, 0), (1123598815738675298, 0, 'resource', '资源管理', 'menu', '/resource', 'iconfont iconicon_coinpurse_line', 6, 1, 0, 1, '', 0), (1123598815738675299, 1123598815738675298, 'oss', '对象存储', 'menu', '/resource/oss', 'iconfont iconicon_subordinate', 1, 1, 0, 1, '', 0), (1123598815738675301, 1123598815738675299, 'oss_add', '新增', 'add', '/resource/oss/add', 'plus', 1, 2, 1, 1, NULL, 0), (1123598815738675302, 1123598815738675299, 'oss_edit', '修改', 'edit', '/resource/oss/edit', 'form', 2, 2, 2, 2, NULL, 0), (1123598815738675303, 1123598815738675299, 'oss_delete', '删除', 'delete', '/api/blade-resource/oss/remove', 'delete', 3, 2, 3, 3, NULL, 0), (1123598815738675304, 1123598815738675299, 'oss_view', '查看', 'view', '/resource/oss/view', 'file-text', 4, 2, 2, 2, NULL, 0), (1123598815738675305, 1123598815738675299, 'oss_enable', '启用', 'enable', '/api/blade-resource/oss/enable', 'key', 5, 2, 2, 2, NULL, 0), (1123598815738675307, 0, 'authority', '权限管理', 'menu', '/authority', 'iconfont icon-bofangqi-suoping', 98, 1, 0, 1, '', 0), (1123598815738675308, 1123598815738675307, 'role', '角色管理', 'menu', '/authority/role', 'iconfont iconicon_boss', 1, 1, 0, 1, NULL, 0), (1123598815738675309, 1123598815738675307, 'data_scope', '数据权限', 'menu', '/authority/datascope', 'iconfont icon-shujuzhanshi2', 2, 1, 0, 1, '', 0), (1123598815738675310, 1123598815738675309, 'data_scope_setting', '权限配置', 'setting', NULL, 'setting', 1, 2, 2, 1, NULL, 0), (1123598815738675311, 1123598815738675307, 'api_scope', '接口权限', 'menu', '/authority/apiscope', 'iconfont icon-iconset0216', 3, 1, 0, 1, '', 0), (1123598815738675312, 1123598815738675311, 'api_scope_setting', '权限配置', 'setting', NULL, 'setting', 1, 2, 2, 1, NULL, 0), (1123598815738675313, 1123598815738675208, 'topmenu_add', '新增', 'add', '/system/topmenu/add', 'plus', 1, 2, 1, 1, NULL, 0), (1123598815738675314, 1123598815738675208, 'topmenu_edit', '修改', 'edit', '/system/topmenu/edit', 'form', 2, 2, 2, 1, NULL, 0), (1123598815738675315, 1123598815738675208, 'topmenu_delete', '删除', 'delete', '/api/blade-system/topmenu/remove', 'delete', 3, 2, 3, 1, NULL, 0), (1123598815738675316, 1123598815738675208, 'topmenu_view', '查看', 'view', '/system/topmenu/view', 'file-text', 4, 2, 2, 1, NULL, 0), (1123598815738675317, 1123598815738675208, 'topmenu_setting', '菜单配置', 'setting', NULL, 'setting', 5, 2, 1, 1, NULL, 0), (1161272593873321991, 1123598815738675217, 'datasource', '数据源管理', 'menu', '/tool/datasource', 'iconfont icon-caidanguanli', 2, 1, 0, 1, NULL, 0), (1161272593873321992, 1161272593873321991, 'datasource_add', '新增', 'add', '/tool/datasource/add', 'plus', 1, 2, 1, 1, NULL, 0), (1161272593873321993, 1161272593873321991, 'datasource_edit', '修改', 'edit', '/tool/datasource/edit', 'form', 2, 2, 2, 2, NULL, 0), (1161272593873321994, 1161272593873321991, 'datasource_delete', '删除', 'delete', '/api/blade-develop/datasource/remove', 'delete', 3, 2, 3, 3, NULL, 0), (1161272593873321995, 1161272593873321991, 'datasource_view', '查看', 'view', '/tool/datasource/view', 'file-text', 4, 2, 2, 2, NULL, 0); +INSERT INTO `blade_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) +VALUES ('1164733121140551682', '1123598815738675217', 'form', '表单设计', 'form', 'https://form.avuejs.com/', 'iconfont iconicon_compile', 3, 1, 0, 2, '', 0); +INSERT INTO `blade_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) +VALUES ('1164733349637844993', '1123598815738675217', 'crud', '表格设计', 'crud', 'https://crud.avuejs.com/', 'iconfont iconicon_work', 4, 1, 0, 2, '', 0); COMMIT; -- ---------------------------- @@ -406,6 +410,10 @@ CREATE TABLE `blade_role_menu` ( -- ---------------------------- BEGIN; INSERT INTO `blade_role_menu` VALUES (1123598817738675363, 1123598815738675201, 1123598816738675202), (1123598817738675364, 1123598815738675202, 1123598816738675202), (1123598817738675365, 1123598815738675219, 1123598816738675202), (1123598817738675366, 1123598815738675220, 1123598816738675202), (1123598817738675367, 1123598815738675221, 1123598816738675202), (1123598817738675368, 1123598815738675222, 1123598816738675202), (1123598817738675369, 1123598815738675280, 1123598816738675202), (1123598817738675370, 1123598815738675281, 1123598816738675202), (1123598817738675371, 1123598815738675282, 1123598816738675202), (1123598817738675372, 1123598815738675283, 1123598816738675202), (1123598817738675373, 1123598815738675284, 1123598816738675202), (1123598817738675374, 1123598815738675285, 1123598816738675202), (1123598817738675375, 1123598815738675286, 1123598816738675202), (1123598817738675376, 1123598815738675287, 1123598816738675202), (1123598817738675377, 1123598815738675288, 1123598816738675202), (1123598817738675378, 1123598815738675289, 1123598816738675202), (1123598817738675379, 1123598815738675290, 1123598816738675202), (1123598817738675380, 1123598815738675291, 1123598816738675202), (1123598817738675381, 1123598815738675292, 1123598816738675202), (1123598817738675382, 1123598815738675293, 1123598816738675202), (1123598817738675383, 1123598815738675294, 1123598816738675202), (1123598817738675384, 1123598815738675295, 1123598816738675202), (1123598817738675385, 1123598815738675296, 1123598816738675202), (1123598817738675386, 1123598815738675297, 1123598816738675202), (1123598817738675387, 1123598815738675201, 1123598816738675203), (1123598817738675388, 1123598815738675202, 1123598816738675203), (1123598817738675389, 1123598815738675219, 1123598816738675203), (1123598817738675390, 1123598815738675220, 1123598816738675203), (1123598817738675391, 1123598815738675221, 1123598816738675203), (1123598817738675392, 1123598815738675222, 1123598816738675203), (1123598817738675393, 1123598815738675280, 1123598816738675203), (1123598817738675394, 1123598815738675281, 1123598816738675203), (1123598817738675395, 1123598815738675282, 1123598816738675203), (1123598817738675396, 1123598815738675283, 1123598816738675203), (1123598817738675397, 1123598815738675284, 1123598816738675203), (1123598817738675398, 1123598815738675285, 1123598816738675203), (1123598817738675399, 1123598815738675286, 1123598816738675203), (1123598817738675400, 1123598815738675287, 1123598816738675203), (1123598817738675401, 1123598815738675288, 1123598816738675203), (1123598817738675402, 1123598815738675289, 1123598816738675203), (1123598817738675403, 1123598815738675290, 1123598816738675203), (1123598817738675404, 1123598815738675291, 1123598816738675203), (1123598817738675405, 1123598815738675292, 1123598816738675203), (1123598817738675406, 1123598815738675293, 1123598816738675203), (1123598817738675407, 1123598815738675294, 1123598816738675203), (1123598817738675408, 1123598815738675295, 1123598816738675203), (1123598817738675409, 1123598815738675296, 1123598816738675203), (1123598817738675410, 1123598815738675297, 1123598816738675203), (1123598817738675411, 1123598815738675201, 1123598816738675204), (1123598817738675412, 1123598815738675202, 1123598816738675204), (1123598817738675413, 1123598815738675219, 1123598816738675204), (1123598817738675414, 1123598815738675220, 1123598816738675204), (1123598817738675415, 1123598815738675221, 1123598816738675204), (1123598817738675416, 1123598815738675222, 1123598816738675204), (1123598817738675417, 1123598815738675280, 1123598816738675204), (1123598817738675418, 1123598815738675281, 1123598816738675204), (1123598817738675419, 1123598815738675282, 1123598816738675204), (1123598817738675420, 1123598815738675283, 1123598816738675204), (1123598817738675421, 1123598815738675284, 1123598816738675204), (1123598817738675422, 1123598815738675285, 1123598816738675204), (1123598817738675423, 1123598815738675286, 1123598816738675204), (1123598817738675424, 1123598815738675287, 1123598816738675204), (1123598817738675425, 1123598815738675288, 1123598816738675204), (1123598817738675426, 1123598815738675289, 1123598816738675204), (1123598817738675427, 1123598815738675290, 1123598816738675204), (1123598817738675428, 1123598815738675291, 1123598816738675204), (1123598817738675429, 1123598815738675292, 1123598816738675204), (1123598817738675430, 1123598815738675293, 1123598816738675204), (1123598817738675431, 1123598815738675294, 1123598816738675204), (1123598817738675432, 1123598815738675295, 1123598816738675204), (1123598817738675433, 1123598815738675296, 1123598816738675204), (1123598817738675434, 1123598815738675297, 1123598816738675204), (1123598817738675435, 1123598815738675201, 1123598816738675205), (1123598817738675436, 1123598815738675202, 1123598816738675205), (1123598817738675437, 1123598815738675219, 1123598816738675205), (1123598817738675438, 1123598815738675220, 1123598816738675205), (1123598817738675439, 1123598815738675221, 1123598816738675205), (1123598817738675440, 1123598815738675222, 1123598816738675205), (1123598817738675441, 1123598815738675280, 1123598816738675205), (1123598817738675442, 1123598815738675281, 1123598816738675205), (1123598817738675443, 1123598815738675282, 1123598816738675205), (1123598817738675444, 1123598815738675283, 1123598816738675205), (1123598817738675445, 1123598815738675284, 1123598816738675205), (1123598817738675446, 1123598815738675285, 1123598816738675205), (1123598817738675447, 1123598815738675286, 1123598816738675205), (1123598817738675448, 1123598815738675287, 1123598816738675205), (1123598817738675449, 1123598815738675288, 1123598816738675205), (1123598817738675450, 1123598815738675289, 1123598816738675205), (1123598817738675451, 1123598815738675290, 1123598816738675205), (1123598817738675452, 1123598815738675291, 1123598816738675205), (1123598817738675453, 1123598815738675292, 1123598816738675205), (1123598817738675454, 1123598815738675293, 1123598816738675205), (1123598817738675455, 1123598815738675294, 1123598816738675205), (1123598817738675456, 1123598815738675295, 1123598816738675205), (1123598817738675457, 1123598815738675296, 1123598816738675205), (1123598817738675458, 1123598815738675297, 1123598816738675205), (1149888292426575874, 1123598815738675201, 1123598816738675201), (1149888292476907522, 1123598815738675202, 1123598816738675201), (1149888292489490433, 1123598815738675219, 1123598816738675201), (1149888292502073345, 1123598815738675220, 1123598816738675201), (1149888292518850561, 1123598815738675221, 1123598816738675201), (1149888292535627777, 1123598815738675222, 1123598816738675201), (1149888292548210690, 1123598815738675280, 1123598816738675201), (1149888292560793602, 1123598815738675281, 1123598816738675201), (1149888292577570817, 1123598815738675282, 1123598816738675201), (1149888292594348033, 1123598815738675283, 1123598816738675201), (1149888292611125249, 1123598815738675284, 1123598816738675201), (1149888292623708162, 1123598815738675285, 1123598816738675201), (1149888292640485377, 1123598815738675286, 1123598816738675201), (1149888292653068289, 1123598815738675287, 1123598816738675201), (1149888292669845506, 1123598815738675288, 1123598816738675201), (1149888292682428417, 1123598815738675289, 1123598816738675201), (1149888292699205634, 1123598815738675290, 1123598816738675201), (1149888292711788545, 1123598815738675291, 1123598816738675201), (1149888292724371458, 1123598815738675292, 1123598816738675201), (1149888292741148674, 1123598815738675293, 1123598816738675201), (1149888292753731585, 1123598815738675294, 1123598816738675201), (1149888292766314497, 1123598815738675295, 1123598816738675201), (1149888292778897410, 1123598815738675296, 1123598816738675201), (1149888292791480321, 1123598815738675297, 1123598816738675201), (1149888292808257537, 1123598815738675210, 1123598816738675201), (1149888292820840449, 1123598815738675211, 1123598816738675201), (1149888292833423362, 1123598815738675212, 1123598816738675201), (1149888292846006274, 1123598815738675213, 1123598816738675201), (1149888292862783489, 1123598815738675214, 1123598816738675201), (1149888292875366401, 1123598815738675249, 1123598816738675201), (1149888292887949313, 1123598815738675215, 1123598816738675201), (1149888292904726530, 1123598815738675250, 1123598816738675201), (1149888292917309442, 1123598815738675216, 1123598816738675201), (1149888292929892353, 1123598815738675251, 1123598816738675201), (1149888292942475265, 1123598815738675217, 1123598816738675201), (1149888292959252482, 1123598815738675218, 1123598816738675201), (1149888292971835393, 1123598815738675252, 1123598816738675201), (1149888292984418306, 1123598815738675253, 1123598816738675201), (1149888292997001217, 1123598815738675254, 1123598816738675201), (1149888293009584129, 1123598815738675255, 1123598816738675201), (1149888293026361346, 1123598815738675266, 1123598816738675201), (1149888293043138562, 1123598815738675267, 1123598816738675201), (1149888293055721473, 1123598815738675268, 1123598816738675201), (1149888293072498690, 1123598815738675269, 1123598816738675201), (1149888293089275906, 1123598815738675270, 1123598816738675201), (1149888293101858817, 1123598815738675271, 1123598816738675201), (1149888293114441729, 1123598815738675272, 1123598816738675201), (1149888293127024642, 1123598815738675273, 1123598816738675201), (1149888293139607554, 1123598815738675274, 1123598816738675201), (1149888293152190465, 1123598815738675275, 1123598816738675201), (1149888293164773377, 1123598815738675276, 1123598816738675201), (1149888293177356290, 1123598815738675277, 1123598816738675201), (1149888293189939201, 1123598815738675278, 1123598816738675201), (1149888293202522113, 1123598815738675279, 1123598816738675201), (1149888293215105026, 1123598815738675298, 1123598816738675201), (1149888293227687938, 1123598815738675299, 1123598816738675201), (1149888293240270850, 1123598815738675301, 1123598816738675201), (1149888293252853762, 1123598815738675302, 1123598816738675201), (1149888293265436674, 1123598815738675303, 1123598816738675201), (1149888293278019586, 1123598815738675304, 1123598816738675201), (1149888293290602497, 1123598815738675305, 1123598816738675201), (1149888293303185410, 1123598815738675307, 1123598816738675201), (1149888293315768322, 1123598815738675308, 1123598816738675201), (1149888293328351234, 1123598815738675241, 1123598816738675201), (1149888293336739841, 1123598815738675242, 1123598816738675201), (1149888293349322753, 1123598815738675243, 1123598816738675201), (1149888293361905666, 1123598815738675244, 1123598816738675201), (1149888293374488578, 1123598815738675309, 1123598816738675201), (1149888293387071489, 1123598815738675310, 1123598816738675201), (1149888293399654402, 1123598815738675311, 1123598816738675201), (1149888293412237313, 1123598815738675312, 1123598816738675201), (1149888293424820226, 1123598815738675203, 1123598816738675201), (1149888293454180354, 1123598815738675204, 1123598816738675201), (1149888293483540481, 1123598815738675223, 1123598816738675201), (1149888293512900609, 1123598815738675224, 1123598816738675201), (1149888293529677826, 1123598815738675225, 1123598816738675201), (1149888293554843649, 1123598815738675226, 1123598816738675201), (1149888293571620866, 1123598815738675227, 1123598816738675201), (1149888293588398081, 1123598815738675228, 1123598816738675201), (1149888293605175297, 1123598815738675205, 1123598816738675201), (1149888293617758209, 1123598815738675229, 1123598816738675201), (1149888293630341121, 1123598815738675230, 1123598816738675201), (1149888293642924033, 1123598815738675231, 1123598816738675201), (1149888293659701250, 1123598815738675232, 1123598816738675201), (1149888293672284162, 1123598815738675206, 1123598816738675201), (1149888293684867074, 1123598815738675233, 1123598816738675201), (1149888293697449986, 1123598815738675234, 1123598816738675201), (1149888293710032897, 1123598815738675235, 1123598816738675201), (1149888293722615809, 1123598815738675236, 1123598816738675201), (1149888293735198722, 1123598815738675207, 1123598816738675201), (1149888293747781633, 1123598815738675237, 1123598816738675201), (1149888293760364545, 1123598815738675238, 1123598816738675201), (1149888293772947458, 1123598815738675239, 1123598816738675201), (1149888293785530370, 1123598815738675240, 1123598816738675201), (1149888293798113282, 1123598815738675306, 1123598816738675201), (1149888293810696194, 1123598815738675208, 1123598816738675201), (1149888293819084802, 1123598815738675313, 1123598816738675201), (1149888293831667714, 1123598815738675314, 1123598816738675201), (1149888293844250626, 1123598815738675315, 1123598816738675201), (1149888293856833538, 1123598815738675316, 1123598816738675201), (1149888293856833539, 1123598815738675317, 1123598816738675201), (1149888293869416450, 1123598815738675209, 1123598816738675201), (1149888293881999362, 1123598815738675245, 1123598816738675201), (1149888293894582274, 1123598815738675246, 1123598816738675201), (1149888293907165186, 1123598815738675247, 1123598816738675201), (1149888293919748097, 1123598815738675248, 1123598816738675201), (1149888293932331010, 1123598815738675256, 1123598816738675201), (1149888293940719618, 1123598815738675257, 1123598816738675201), (1149888293953302530, 1123598815738675258, 1123598816738675201), (1149888293965885441, 1123598815738675259, 1123598816738675201), (1149888293978468354, 1123598815738675260, 1123598816738675201), (1149888293986856962, 1123598815738675261, 1123598816738675201), (1149888293999439874, 1123598815738675262, 1123598816738675201), (1149888294007828482, 1123598815738675263, 1123598816738675201), (1149888294020411393, 1123598815738675264, 1123598816738675201), (1149888294028800002, 1123598815738675265, 1123598816738675201), (1161272593873322991, 1161272593873321991, 1123598816738675201), (1161272593873322992, 1161272593873321992, 1123598816738675201), (1161272593873322993, 1161272593873321993, 1123598816738675201), (1161272593873322994, 1161272593873321994, 1123598816738675201), (1161272593873322995, 1161272593873321995, 1123598816738675201); +INSERT INTO `blade_role_menu`(`id`,`menu_id`,`role_id`) +VALUES ('1161272593873322996', '1164733121140551682', '1123598816738675201'); +INSERT INTO `blade_role_menu`(`id`,`menu_id`,`role_id`) +VALUES ('1161272593873322997', '1164733349637844993', '1123598816738675201'); COMMIT; -- ---------------------------- diff --git a/doc/sql/mysql/bladex-sword-mysql.sql b/doc/sql/mysql/bladex-sword-mysql.sql index f29662e2..6cff7d8d 100644 --- a/doc/sql/mysql/bladex-sword-mysql.sql +++ b/doc/sql/mysql/bladex-sword-mysql.sql @@ -258,6 +258,10 @@ CREATE TABLE `blade_menu` ( -- ---------------------------- BEGIN; INSERT INTO `blade_menu` VALUES (1123598815738675201, 0, 'desk', '工作台', 'menu', '/desk', 'desktop', 1, 1, 0, 1, NULL, 0), (1123598815738675202, 1123598815738675201, 'notice', '通知公告', 'menu', '/desk/notice', NULL, 1, 1, 0, 1, NULL, 0), (1123598815738675203, 0, 'system', '系统管理', 'menu', '/system', 'setting', 99, 1, 0, 1, NULL, 0), (1123598815738675204, 1123598815738675203, 'user', '用户管理', 'menu', '/system/user', NULL, 1, 1, 0, 1, NULL, 0), (1123598815738675205, 1123598815738675203, 'dept', '机构管理', 'menu', '/system/dept', NULL, 2, 1, 0, 1, NULL, 0), (1123598815738675206, 1123598815738675203, 'dict', '字典管理', 'menu', '/system/dict', NULL, 3, 1, 0, 1, NULL, 0), (1123598815738675207, 1123598815738675203, 'menu', '菜单管理', 'menu', '/system/menu', NULL, 4, 1, 0, 1, NULL, 0), (1123598815738675208, 1123598815738675203, 'topmenu', '顶部菜单', 'menu', '/system/topmenu', '', 5, 1, 0, 1, NULL, 0), (1123598815738675209, 1123598815738675203, 'param', '参数管理', 'menu', '/system/param', NULL, 6, 1, 0, 1, NULL, 0), (1123598815738675210, 0, 'monitor', '系统监控', 'menu', '/monitor', 'fund', 3, 1, 0, 1, NULL, 0), (1123598815738675211, 1123598815738675210, 'doc', '接口文档', 'menu', 'http://localhost/doc.html', NULL, 1, 1, 0, 2, NULL, 0), (1123598815738675212, 1123598815738675210, 'admin', '服务治理', 'menu', 'http://localhost:7002', NULL, 2, 1, 0, 2, NULL, 0), (1123598815738675213, 1123598815738675210, 'log', '日志管理', 'menu', '/monitor/log', NULL, 3, 1, 0, 1, NULL, 0), (1123598815738675214, 1123598815738675213, 'log_usual', '通用日志', 'menu', '/monitor/log/usual', NULL, 1, 1, 0, 1, NULL, 0), (1123598815738675215, 1123598815738675213, 'log_api', '接口日志', 'menu', '/monitor/log/api', NULL, 2, 1, 0, 1, NULL, 0), (1123598815738675216, 1123598815738675213, 'log_error', '错误日志', 'menu', '/monitor/log/error', NULL, 3, 1, 0, 1, NULL, 0), (1123598815738675217, 0, 'tool', '研发工具', 'menu', '/tool', 'tool', 4, 1, 0, 1, NULL, 0), (1123598815738675218, 1123598815738675217, 'code', '代码生成', 'menu', '/tool/code', NULL, 1, 1, 0, 1, NULL, 0), (1123598815738675219, 1123598815738675202, 'notice_add', '新增', 'add', '/desk/notice/add', 'plus', 1, 2, 1, 1, NULL, 0), (1123598815738675220, 1123598815738675202, 'notice_edit', '修改', 'edit', '/desk/notice/edit', 'form', 2, 2, 2, 1, NULL, 0), (1123598815738675221, 1123598815738675202, 'notice_delete', '删除', 'delete', '/api/blade-desk/notice/remove', 'delete', 3, 2, 3, 1, NULL, 0), (1123598815738675222, 1123598815738675202, 'notice_view', '查看', 'view', '/desk/notice/view', 'file-text', 4, 2, 2, 1, NULL, 0), (1123598815738675223, 1123598815738675204, 'user_add', '新增', 'add', '/system/user/add', 'plus', 1, 2, 1, 1, NULL, 0), (1123598815738675224, 1123598815738675204, 'user_edit', '修改', 'edit', '/system/user/edit', 'form', 2, 2, 2, 1, NULL, 0), (1123598815738675225, 1123598815738675204, 'user_delete', '删除', 'delete', '/api/blade-user/remove', 'delete', 3, 2, 3, 1, NULL, 0), (1123598815738675226, 1123598815738675204, 'user_role', '角色配置', 'role', NULL, 'user-add', 4, 2, 1, 1, NULL, 0), (1123598815738675227, 1123598815738675204, 'user_reset', '密码重置', 'reset-password', '/api/blade-user/reset-password', 'retweet', 5, 2, 1, 1, NULL, 0), (1123598815738675228, 1123598815738675204, 'user_view', '查看', 'view', '/system/user/view', 'file-text', 6, 2, 2, 1, NULL, 0), (1123598815738675229, 1123598815738675205, 'dept_add', '新增', 'add', '/system/dept/add', 'plus', 1, 2, 1, 1, NULL, 0), (1123598815738675230, 1123598815738675205, 'dept_edit', '修改', 'edit', '/system/dept/edit', 'form', 2, 2, 2, 1, NULL, 0), (1123598815738675231, 1123598815738675205, 'dept_delete', '删除', 'delete', '/api/blade-system/dept/remove', 'delete', 3, 2, 3, 1, NULL, 0), (1123598815738675232, 1123598815738675205, 'dept_view', '查看', 'view', '/system/dept/view', 'file-text', 4, 2, 2, 1, NULL, 0), (1123598815738675233, 1123598815738675206, 'dict_add', '新增', 'add', '/system/dict/add', 'plus', 1, 2, 1, 1, NULL, 0), (1123598815738675234, 1123598815738675206, 'dict_edit', '修改', 'edit', '/system/dict/edit', 'form', 2, 2, 2, 1, NULL, 0), (1123598815738675235, 1123598815738675206, 'dict_delete', '删除', 'delete', '/api/blade-system/dict/remove', 'delete', 3, 2, 3, 1, NULL, 0), (1123598815738675236, 1123598815738675206, 'dict_view', '查看', 'view', '/system/dict/view', 'file-text', 4, 2, 2, 1, NULL, 0), (1123598815738675237, 1123598815738675207, 'menu_add', '新增', 'add', '/system/menu/add', 'plus', 1, 2, 1, 1, NULL, 0), (1123598815738675238, 1123598815738675207, 'menu_edit', '修改', 'edit', '/system/menu/edit', 'form', 2, 2, 2, 1, NULL, 0), (1123598815738675239, 1123598815738675207, 'menu_delete', '删除', 'delete', '/api/blade-system/menu/remove', 'delete', 3, 2, 3, 1, NULL, 0), (1123598815738675240, 1123598815738675207, 'menu_view', '查看', 'view', '/system/menu/view', 'file-text', 4, 2, 2, 1, NULL, 0), (1123598815738675241, 1123598815738675308, 'role_add', '新增', 'add', '/authority/role/add', 'plus', 1, 2, 1, 1, NULL, 0), (1123598815738675242, 1123598815738675308, 'role_edit', '修改', 'edit', '/authority/role/edit', 'form', 2, 2, 2, 1, NULL, 0), (1123598815738675243, 1123598815738675308, 'role_delete', '删除', 'delete', '/api/blade-system/role/remove', 'delete', 3, 2, 3, 1, NULL, 0), (1123598815738675244, 1123598815738675308, 'role_view', '查看', 'view', '/authority/role/view', 'file-text', 4, 2, 2, 1, NULL, 0), (1123598815738675245, 1123598815738675209, 'param_add', '新增', 'add', '/system/param/add', 'plus', 1, 2, 1, 1, NULL, 0), (1123598815738675246, 1123598815738675209, 'param_edit', '修改', 'edit', '/system/param/edit', 'form', 2, 2, 2, 1, NULL, 0), (1123598815738675247, 1123598815738675209, 'param_delete', '删除', 'delete', '/api/blade-system/param/remove', 'delete', 3, 2, 3, 1, NULL, 0), (1123598815738675248, 1123598815738675209, 'param_view', '查看', 'view', '/system/param/view', 'file-text', 4, 2, 2, 1, NULL, 0), (1123598815738675249, 1123598815738675214, 'log_usual_view', '查看', 'view', '/monitor/log/usual/view', 'file-text', 4, 2, 2, 1, NULL, 0), (1123598815738675250, 1123598815738675215, 'log_api_view', '查看', 'view', '/monitor/log/api/view', 'file-text', 4, 2, 2, 1, NULL, 0), (1123598815738675251, 1123598815738675216, 'log_error_view', '查看', 'view', '/monitor/log/error/view', 'file-text', 4, 2, 2, 1, NULL, 0), (1123598815738675252, 1123598815738675218, 'code_add', '新增', 'add', '/tool/code/add', 'plus', 1, 2, 1, 1, NULL, 0), (1123598815738675253, 1123598815738675218, 'code_edit', '修改', 'edit', '/tool/code/edit', 'form', 2, 2, 2, 1, NULL, 0), (1123598815738675254, 1123598815738675218, 'code_delete', '删除', 'delete', '/api/blade-develop/code/remove', 'delete', 3, 2, 3, 1, NULL, 0), (1123598815738675255, 1123598815738675218, 'code_view', '查看', 'view', '/tool/code/view', 'file-text', 4, 2, 2, 1, NULL, 0), (1123598815738675256, 1123598815738675203, 'tenant', '租户管理', 'menu', '/system/tenant', NULL, 7, 1, 0, 1, NULL, 0), (1123598815738675257, 1123598815738675256, 'tenant_add', '新增', 'add', '/system/tenant/add', 'plus', 1, 2, 1, 1, NULL, 0), (1123598815738675258, 1123598815738675256, 'tenant_edit', '修改', 'edit', '/system/tenant/edit', 'form', 2, 2, 2, 1, NULL, 0), (1123598815738675259, 1123598815738675256, 'tenant_delete', '删除', 'delete', '/api/blade-system/tenant/remove', 'delete', 3, 2, 3, 1, NULL, 0), (1123598815738675260, 1123598815738675256, 'tenant_view', '查看', 'view', '/system/tenant/view', 'file-text', 4, 2, 2, 1, NULL, 0), (1123598815738675261, 1123598815738675203, 'client', '应用管理', 'menu', '/system/client', NULL, 8, 1, 0, 1, NULL, 0), (1123598815738675262, 1123598815738675261, 'client_add', '新增', 'add', '/system/client/add', 'plus', 1, 2, 1, 1, NULL, 0), (1123598815738675263, 1123598815738675261, 'client_edit', '修改', 'edit', '/system/client/edit', 'form', 2, 2, 2, 2, NULL, 0), (1123598815738675264, 1123598815738675261, 'client_delete', '删除', 'delete', '/api/blade-system/client/remove', 'delete', 3, 2, 3, 3, NULL, 0), (1123598815738675265, 1123598815738675261, 'client_view', '查看', 'view', '/system/client/view', 'file-text', 4, 2, 2, 2, NULL, 0), (1123598815738675266, 0, 'flow', '流程管理', 'menu', '/flow', 'stock', 5, 1, 0, 1, NULL, 0), (1123598815738675267, 1123598815738675266, 'flow_model', '模型管理', 'menu', '/flow/model', NULL, 1, 1, 0, 1, NULL, 0), (1123598815738675268, 1123598815738675267, 'flow_model_create', '创建', 'create', '', 'plus', 1, 2, 1, 1, NULL, 0), (1123598815738675269, 1123598815738675267, 'flow_model_update', '编辑', 'update', '', 'form', 2, 2, 2, 1, NULL, 0), (1123598815738675270, 1123598815738675267, 'flow_model_deploy', '部署', 'deploy', '', 'cloud-upload', 3, 2, 2, 1, NULL, 0), (1123598815738675271, 1123598815738675267, 'flow_model_download', '下载', 'download', '', 'download', 4, 2, 2, 1, NULL, 0), (1123598815738675272, 1123598815738675267, 'flow_model_delete', '删除', 'delete', '/api/blade-flow/model/remove', 'delete', 5, 2, 3, 1, NULL, 0), (1123598815738675273, 1123598815738675266, 'flow_deploy', '流程部署', 'menu', '/flow/deploy', NULL, 2, 1, 0, 1, NULL, 0), (1123598815738675274, 1123598815738675266, 'flow_manager', '流程管理', 'menu', '/flow/manager', NULL, 3, 1, 0, 1, NULL, 0), (1123598815738675275, 1123598815738675274, 'flow_manager_state', '变更状态', 'state', '', 'plus', 1, 2, 2, 1, NULL, 0), (1123598815738675276, 1123598815738675274, 'flow_manager_image', '流程图', 'image', '', 'image', 2, 2, 2, 1, NULL, 0), (1123598815738675277, 1123598815738675274, 'flow_manager_remove', '删除', 'remove', '', 'delete', 3, 2, 3, 1, NULL, 0), (1123598815738675278, 1123598815738675266, 'flow_follow', '流程跟踪', 'menu', '/flow/follow', NULL, 4, 1, 0, 1, NULL, 0), (1123598815738675279, 1123598815738675278, 'flow_follow_delete', '删除', 'remove', '', 'remove', 1, 2, 2, 1, NULL, 0), (1123598815738675280, 0, 'work', '我的事务', 'menu', '/work', 'bell', 2, 1, 0, 1, '', 0), (1123598815738675281, 1123598815738675280, 'work_start', '发起事务', 'menu', '/work/start', NULL, 1, 1, 0, 1, NULL, 0), (1123598815738675282, 1123598815738675281, 'work_start_flow', '发起', 'flow', '', 'flow', 1, 2, 2, 1, NULL, 0), (1123598815738675283, 1123598815738675281, 'work_start_image', '流程图', 'image', '', 'image', 2, 2, 2, 1, NULL, 0), (1123598815738675284, 1123598815738675280, 'work_claim', '待签事务', 'menu', '/work/claim', NULL, 2, 1, 0, 1, NULL, 0), (1123598815738675285, 1123598815738675284, 'work_claim_sign', '签收', 'sign', '', 'sign', 1, 2, 2, 1, NULL, 0), (1123598815738675286, 1123598815738675284, 'work_claim_detail', '详情', 'detail', '', 'detail', 2, 2, 2, 1, NULL, 0), (1123598815738675287, 1123598815738675284, 'work_claim_follow', '跟踪', 'follow', '', 'follow', 3, 2, 2, 1, NULL, 0), (1123598815738675288, 1123598815738675280, 'work_todo', '待办事务', 'menu', '/work/todo', NULL, 2, 1, 0, 1, NULL, 0), (1123598815738675289, 1123598815738675288, 'work_todo_handle', '办理', 'handle', '', 'handle', 1, 2, 2, 1, NULL, 0), (1123598815738675290, 1123598815738675288, 'work_todo_detail', '详情', 'detail', '', 'detail', 2, 2, 2, 1, NULL, 0), (1123598815738675291, 1123598815738675288, 'work_todo_follow', '跟踪', 'follow', '', 'follow', 3, 2, 2, 1, NULL, 0), (1123598815738675292, 1123598815738675280, 'work_send', '已发事务', 'menu', '/work/send', NULL, 3, 1, 0, 1, NULL, 0), (1123598815738675293, 1123598815738675292, 'work_send_detail', '详情', 'detail', '', 'detail', 1, 2, 2, 1, NULL, 0), (1123598815738675294, 1123598815738675292, 'work_send_follow', '跟踪', 'follow', '', 'follow', 2, 2, 2, 1, NULL, 0), (1123598815738675295, 1123598815738675280, 'work_done', '办结事务', 'menu', '/work/done', NULL, 4, 1, 0, 1, NULL, 0), (1123598815738675296, 1123598815738675295, 'work_done_detail', '详情', 'detail', '', 'detail', 1, 2, 2, 1, NULL, 0), (1123598815738675297, 1123598815738675295, 'work_done_follow', '跟踪', 'follow', '', 'follow', 2, 2, 2, 1, NULL, 0), (1123598815738675298, 0, 'resource', '资源管理', 'menu', '/resource', 'bg-colors', 6, 1, 0, 1, '', 0), (1123598815738675299, 1123598815738675298, 'oss', '对象存储', 'menu', '/resource/oss', NULL, 1, 1, 0, 1, NULL, 0), (1123598815738675301, 1123598815738675299, 'oss_add', '新增', 'add', '/resource/oss/add', 'plus', 1, 2, 1, 1, NULL, 0), (1123598815738675302, 1123598815738675299, 'oss_edit', '修改', 'edit', '/resource/oss/edit', 'form', 2, 2, 2, 2, NULL, 0), (1123598815738675303, 1123598815738675299, 'oss_delete', '删除', 'delete', '/api/blade-resource/oss/remove', 'delete', 3, 2, 3, 3, NULL, 0), (1123598815738675304, 1123598815738675299, 'oss_view', '查看', 'view', '/resource/oss/view', 'file-text', 4, 2, 2, 2, NULL, 0), (1123598815738675305, 1123598815738675299, 'oss_enable', '启用', 'enable', '/api/blade-resource/oss/enable', 'key', 5, 2, 2, 2, '', 0), (1123598815738675307, 0, 'authority', '权限管理', 'menu', '/authority', 'safety-certificate', 98, 1, 0, 1, '', 0), (1123598815738675308, 1123598815738675307, 'role', '角色管理', 'menu', '/authority/role', '', 1, 1, 0, 1, NULL, 0), (1123598815738675309, 1123598815738675307, 'data_scope', '数据权限', 'menu', '/authority/datascope', '', 2, 1, 0, 1, '', 0), (1123598815738675310, 1123598815738675309, 'data_scope_setting', '权限配置', 'setting', NULL, 'setting', 1, 2, 2, 1, NULL, 0), (1123598815738675311, 1123598815738675307, 'api_scope', '接口权限', 'menu', '/authority/apiscope', '', 3, 1, 0, 1, '', 0), (1123598815738675312, 1123598815738675311, 'api_scope_setting', '权限配置', 'setting', NULL, 'setting', 1, 2, 2, 1, NULL, 0), (1123598815738675313, 1123598815738675208, 'topmenu_add', '新增', 'add', '/system/topmenu/add', 'plus', 1, 2, 1, 1, NULL, 0), (1123598815738675314, 1123598815738675208, 'topmenu_edit', '修改', 'edit', '/system/topmenu/edit', 'form', 2, 2, 2, 1, NULL, 0), (1123598815738675315, 1123598815738675208, 'topmenu_delete', '删除', 'delete', '/api/blade-system/topmenu/remove', 'delete', 3, 2, 3, 1, NULL, 0), (1123598815738675316, 1123598815738675208, 'topmenu_view', '查看', 'view', '/system/topmenu/view', 'file-text', 4, 2, 2, 1, NULL, 0), (1123598815738675317, 1123598815738675208, 'topmenu_setting', '菜单配置', 'setting', NULL, 'setting', 5, 2, 1, 1, NULL, 0), (1161272593873321991, 1123598815738675217, 'datasource', '数据源管理', 'menu', '/tool/datasource', 'iconfont icon-caidanguanli', 2, 1, 0, 1, NULL, 0), (1161272593873321992, 1161272593873321991, 'datasource_add', '新增', 'add', '/tool/datasource/add', 'plus', 1, 2, 1, 1, NULL, 0), (1161272593873321993, 1161272593873321991, 'datasource_edit', '修改', 'edit', '/tool/datasource/edit', 'form', 2, 2, 2, 2, NULL, 0), (1161272593873321994, 1161272593873321991, 'datasource_delete', '删除', 'delete', '/api/blade-develop/datasource/remove', 'delete', 3, 2, 3, 3, NULL, 0), (1161272593873321995, 1161272593873321991, 'datasource_view', '查看', 'view', '/tool/datasource/view', 'file-text', 4, 2, 2, 2, NULL, 0); +INSERT INTO `blade_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) +VALUES ('1164733121140551682', '1123598815738675217', 'form', '表单设计', 'form', 'https://form.avuejs.com/', 'iconfont iconicon_compile', 3, 1, 0, 2, '', 0); +INSERT INTO `blade_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) +VALUES ('1164733349637844993', '1123598815738675217', 'crud', '表格设计', 'crud', 'https://crud.avuejs.com/', 'iconfont iconicon_work', 4, 1, 0, 2, '', 0); COMMIT; -- ---------------------------- @@ -406,6 +410,10 @@ CREATE TABLE `blade_role_menu` ( -- ---------------------------- BEGIN; INSERT INTO `blade_role_menu` VALUES (1123598817738675363, 1123598815738675201, 1123598816738675202), (1123598817738675364, 1123598815738675202, 1123598816738675202), (1123598817738675365, 1123598815738675219, 1123598816738675202), (1123598817738675366, 1123598815738675220, 1123598816738675202), (1123598817738675367, 1123598815738675221, 1123598816738675202), (1123598817738675368, 1123598815738675222, 1123598816738675202), (1123598817738675369, 1123598815738675280, 1123598816738675202), (1123598817738675370, 1123598815738675281, 1123598816738675202), (1123598817738675371, 1123598815738675282, 1123598816738675202), (1123598817738675372, 1123598815738675283, 1123598816738675202), (1123598817738675373, 1123598815738675284, 1123598816738675202), (1123598817738675374, 1123598815738675285, 1123598816738675202), (1123598817738675375, 1123598815738675286, 1123598816738675202), (1123598817738675376, 1123598815738675287, 1123598816738675202), (1123598817738675377, 1123598815738675288, 1123598816738675202), (1123598817738675378, 1123598815738675289, 1123598816738675202), (1123598817738675379, 1123598815738675290, 1123598816738675202), (1123598817738675380, 1123598815738675291, 1123598816738675202), (1123598817738675381, 1123598815738675292, 1123598816738675202), (1123598817738675382, 1123598815738675293, 1123598816738675202), (1123598817738675383, 1123598815738675294, 1123598816738675202), (1123598817738675384, 1123598815738675295, 1123598816738675202), (1123598817738675385, 1123598815738675296, 1123598816738675202), (1123598817738675386, 1123598815738675297, 1123598816738675202), (1123598817738675387, 1123598815738675201, 1123598816738675203), (1123598817738675388, 1123598815738675202, 1123598816738675203), (1123598817738675389, 1123598815738675219, 1123598816738675203), (1123598817738675390, 1123598815738675220, 1123598816738675203), (1123598817738675391, 1123598815738675221, 1123598816738675203), (1123598817738675392, 1123598815738675222, 1123598816738675203), (1123598817738675393, 1123598815738675280, 1123598816738675203), (1123598817738675394, 1123598815738675281, 1123598816738675203), (1123598817738675395, 1123598815738675282, 1123598816738675203), (1123598817738675396, 1123598815738675283, 1123598816738675203), (1123598817738675397, 1123598815738675284, 1123598816738675203), (1123598817738675398, 1123598815738675285, 1123598816738675203), (1123598817738675399, 1123598815738675286, 1123598816738675203), (1123598817738675400, 1123598815738675287, 1123598816738675203), (1123598817738675401, 1123598815738675288, 1123598816738675203), (1123598817738675402, 1123598815738675289, 1123598816738675203), (1123598817738675403, 1123598815738675290, 1123598816738675203), (1123598817738675404, 1123598815738675291, 1123598816738675203), (1123598817738675405, 1123598815738675292, 1123598816738675203), (1123598817738675406, 1123598815738675293, 1123598816738675203), (1123598817738675407, 1123598815738675294, 1123598816738675203), (1123598817738675408, 1123598815738675295, 1123598816738675203), (1123598817738675409, 1123598815738675296, 1123598816738675203), (1123598817738675410, 1123598815738675297, 1123598816738675203), (1123598817738675411, 1123598815738675201, 1123598816738675204), (1123598817738675412, 1123598815738675202, 1123598816738675204), (1123598817738675413, 1123598815738675219, 1123598816738675204), (1123598817738675414, 1123598815738675220, 1123598816738675204), (1123598817738675415, 1123598815738675221, 1123598816738675204), (1123598817738675416, 1123598815738675222, 1123598816738675204), (1123598817738675417, 1123598815738675280, 1123598816738675204), (1123598817738675418, 1123598815738675281, 1123598816738675204), (1123598817738675419, 1123598815738675282, 1123598816738675204), (1123598817738675420, 1123598815738675283, 1123598816738675204), (1123598817738675421, 1123598815738675284, 1123598816738675204), (1123598817738675422, 1123598815738675285, 1123598816738675204), (1123598817738675423, 1123598815738675286, 1123598816738675204), (1123598817738675424, 1123598815738675287, 1123598816738675204), (1123598817738675425, 1123598815738675288, 1123598816738675204), (1123598817738675426, 1123598815738675289, 1123598816738675204), (1123598817738675427, 1123598815738675290, 1123598816738675204), (1123598817738675428, 1123598815738675291, 1123598816738675204), (1123598817738675429, 1123598815738675292, 1123598816738675204), (1123598817738675430, 1123598815738675293, 1123598816738675204), (1123598817738675431, 1123598815738675294, 1123598816738675204), (1123598817738675432, 1123598815738675295, 1123598816738675204), (1123598817738675433, 1123598815738675296, 1123598816738675204), (1123598817738675434, 1123598815738675297, 1123598816738675204), (1123598817738675435, 1123598815738675201, 1123598816738675205), (1123598817738675436, 1123598815738675202, 1123598816738675205), (1123598817738675437, 1123598815738675219, 1123598816738675205), (1123598817738675438, 1123598815738675220, 1123598816738675205), (1123598817738675439, 1123598815738675221, 1123598816738675205), (1123598817738675440, 1123598815738675222, 1123598816738675205), (1123598817738675441, 1123598815738675280, 1123598816738675205), (1123598817738675442, 1123598815738675281, 1123598816738675205), (1123598817738675443, 1123598815738675282, 1123598816738675205), (1123598817738675444, 1123598815738675283, 1123598816738675205), (1123598817738675445, 1123598815738675284, 1123598816738675205), (1123598817738675446, 1123598815738675285, 1123598816738675205), (1123598817738675447, 1123598815738675286, 1123598816738675205), (1123598817738675448, 1123598815738675287, 1123598816738675205), (1123598817738675449, 1123598815738675288, 1123598816738675205), (1123598817738675450, 1123598815738675289, 1123598816738675205), (1123598817738675451, 1123598815738675290, 1123598816738675205), (1123598817738675452, 1123598815738675291, 1123598816738675205), (1123598817738675453, 1123598815738675292, 1123598816738675205), (1123598817738675454, 1123598815738675293, 1123598816738675205), (1123598817738675455, 1123598815738675294, 1123598816738675205), (1123598817738675456, 1123598815738675295, 1123598816738675205), (1123598817738675457, 1123598815738675296, 1123598816738675205), (1123598817738675458, 1123598815738675297, 1123598816738675205), (1149888293856833539, 1123598815738675317, 1123598816738675201), (1149891666312130561, 1123598815738675201, 1123598816738675201), (1149891666370850818, 1123598815738675202, 1123598816738675201), (1149891666437959682, 1123598815738675219, 1123598816738675201), (1149891666505068546, 1123598815738675220, 1123598816738675201), (1149891666555400193, 1123598815738675221, 1123598816738675201), (1149891666614120449, 1123598815738675222, 1123598816738675201), (1149891666651869185, 1123598815738675280, 1123598816738675201), (1149891666723172353, 1123598815738675281, 1123598816738675201), (1149891666765115393, 1123598815738675282, 1123598816738675201), (1149891666815447041, 1123598815738675283, 1123598816738675201), (1149891666844807170, 1123598815738675284, 1123598816738675201), (1149891666886750210, 1123598815738675285, 1123598816738675201), (1149891666924498946, 1123598815738675286, 1123598816738675201), (1149891666966441986, 1123598815738675287, 1123598816738675201), (1149891667012579330, 1123598815738675288, 1123598816738675201), (1149891667054522370, 1123598815738675289, 1123598816738675201), (1149891667109048322, 1123598815738675290, 1123598816738675201), (1149891667146797058, 1123598815738675291, 1123598816738675201), (1149891667197128706, 1123598815738675292, 1123598816738675201), (1149891667234877441, 1123598815738675293, 1123598816738675201), (1149891667272626178, 1123598815738675294, 1123598816738675201), (1149891667314569218, 1123598815738675295, 1123598816738675201), (1149891667343929346, 1123598815738675296, 1123598816738675201), (1149891667398455298, 1123598815738675297, 1123598816738675201), (1149891667440398338, 1123598815738675210, 1123598816738675201), (1149891667478147073, 1123598815738675211, 1123598816738675201), (1149891667524284417, 1123598815738675212, 1123598816738675201), (1149891667574616065, 1123598815738675213, 1123598816738675201), (1149891667608170498, 1123598815738675214, 1123598816738675201), (1149891667641724929, 1123598815738675249, 1123598816738675201), (1149891667671085058, 1123598815738675215, 1123598816738675201), (1149891667708833793, 1123598815738675250, 1123598816738675201), (1149891667746582529, 1123598815738675216, 1123598816738675201), (1149891667784331265, 1123598815738675251, 1123598816738675201), (1149891667822080001, 1123598815738675217, 1123598816738675201), (1149891667843051522, 1123598815738675218, 1123598816738675201), (1149891667889188865, 1123598815738675252, 1123598816738675201), (1149891667926937602, 1123598815738675253, 1123598816738675201), (1149891667947909121, 1123598815738675254, 1123598816738675201), (1149891667989852161, 1123598815738675255, 1123598816738675201), (1149891668015017986, 1123598815738675266, 1123598816738675201), (1149891668061155330, 1123598815738675267, 1123598816738675201), (1149891668086321154, 1123598815738675268, 1123598816738675201), (1149891668136652802, 1123598815738675269, 1123598816738675201), (1149891668199567362, 1123598815738675270, 1123598816738675201), (1149891668262481922, 1123598815738675271, 1123598816738675201), (1149891668321202177, 1123598815738675272, 1123598816738675201), (1149891668367339521, 1123598815738675273, 1123598816738675201), (1149891668405088257, 1123598815738675274, 1123598816738675201), (1149891668438642689, 1123598815738675275, 1123598816738675201), (1149891668472197121, 1123598815738675276, 1123598816738675201), (1149891668509945858, 1123598815738675277, 1123598816738675201), (1149891668568666113, 1123598815738675278, 1123598816738675201), (1149891668631580673, 1123598815738675279, 1123598816738675201), (1149891668669329410, 1123598815738675298, 1123598816738675201), (1149891668719661057, 1123598815738675299, 1123598816738675201), (1149891668757409793, 1123598815738675301, 1123598816738675201), (1149891668803547138, 1123598815738675302, 1123598816738675201), (1149891668849684481, 1123598815738675303, 1123598816738675201), (1149891668883238913, 1123598815738675304, 1123598816738675201), (1149891668920987650, 1123598815738675305, 1123598816738675201), (1149891668950347777, 1123598815738675307, 1123598816738675201), (1149891668983902209, 1123598815738675308, 1123598816738675201), (1149891669013262338, 1123598815738675241, 1123598816738675201), (1149891669034233857, 1123598815738675242, 1123598816738675201), (1149891669055205378, 1123598815738675243, 1123598816738675201), (1149891669105537025, 1123598815738675244, 1123598816738675201), (1149891669164257282, 1123598815738675309, 1123598816738675201), (1149891669210394626, 1123598815738675310, 1123598816738675201), (1149891669243949058, 1123598815738675311, 1123598816738675201), (1149891669285892097, 1123598815738675312, 1123598816738675201), (1149891669336223745, 1123598815738675203, 1123598816738675201), (1149891669365583873, 1123598815738675204, 1123598816738675201), (1149891669394944001, 1123598815738675223, 1123598816738675201), (1149891669441081346, 1123598815738675224, 1123598816738675201), (1149891669487218689, 1123598815738675225, 1123598816738675201), (1149891669533356033, 1123598815738675226, 1123598816738675201), (1149891669571104770, 1123598815738675227, 1123598816738675201), (1149891669642407937, 1123598815738675228, 1123598816738675201), (1149891669671768065, 1123598815738675205, 1123598816738675201), (1149891669696933889, 1123598815738675229, 1123598816738675201), (1149891669743071234, 1123598815738675230, 1123598816738675201), (1149891669797597186, 1123598815738675231, 1123598816738675201), (1149891669847928834, 1123598815738675232, 1123598816738675201), (1149891669919232001, 1123598815738675206, 1123598816738675201), (1149891669973757954, 1123598815738675233, 1123598816738675201), (1149891670019895298, 1123598815738675234, 1123598816738675201), (1149891670045061121, 1123598815738675235, 1123598816738675201), (1149891670095392770, 1123598815738675236, 1123598816738675201), (1149891670137335809, 1123598815738675207, 1123598816738675201), (1149891670196056065, 1123598815738675237, 1123598816738675201), (1149891670229610498, 1123598815738675238, 1123598816738675201), (1149891670267359234, 1123598815738675239, 1123598816738675201), (1149891670292525057, 1123598815738675240, 1123598816738675201), (1149891670355439617, 1123598815738675306, 1123598816738675201), (1149891670380605442, 1123598815738675208, 1123598816738675201), (1149891670443520001, 1123598815738675313, 1123598816738675201), (1149891670481268737, 1123598815738675314, 1123598816738675201), (1149891670506434561, 1123598815738675315, 1123598816738675201), (1149891670569349121, 1123598815738675316, 1123598816738675201), (1149891670594514945, 1123598815738675209, 1123598816738675201), (1149891670657429506, 1123598815738675245, 1123598816738675201), (1149891670682595330, 1123598815738675246, 1123598816738675201), (1149891670711955457, 1123598815738675247, 1123598816738675201), (1149891670745509889, 1123598815738675248, 1123598816738675201), (1149891670804230146, 1123598815738675256, 1123598816738675201), (1149891670841978881, 1123598815738675257, 1123598816738675201), (1149891670879727617, 1123598815738675258, 1123598816738675201), (1149891670913282050, 1123598815738675259, 1123598816738675201), (1149891670959419394, 1123598815738675260, 1123598816738675201), (1149891670988779521, 1123598815738675261, 1123598816738675201), (1149891671039111170, 1123598815738675262, 1123598816738675201), (1149891671068471297, 1123598815738675263, 1123598816738675201), (1149891671110414338, 1123598815738675264, 1123598816738675201), (1149891671152357378, 1123598815738675265, 1123598816738675201), (1161272593873322991, 1161272593873321991, 1123598816738675201), (1161272593873322992, 1161272593873321992, 1123598816738675201), (1161272593873322993, 1161272593873321993, 1123598816738675201), (1161272593873322994, 1161272593873321994, 1123598816738675201), (1161272593873322995, 1161272593873321995, 1123598816738675201); +INSERT INTO `blade_role_menu`(`id`,`menu_id`,`role_id`) +VALUES ('1161272593873322996', '1164733121140551682', '1123598816738675201'); +INSERT INTO `blade_role_menu`(`id`,`menu_id`,`role_id`) +VALUES ('1161272593873322997', '1164733349637844993', '1123598816738675201'); COMMIT; -- ---------------------------- diff --git a/doc/sql/oracle/bladex-saber-oracle.sql b/doc/sql/oracle/bladex-saber-oracle.sql index ca651b5e..c29d2458 100644 --- a/doc/sql/oracle/bladex-saber-oracle.sql +++ b/doc/sql/oracle/bladex-saber-oracle.sql @@ -38,7 +38,7 @@ CREATE TABLE "BLADE_CLIENT" ( "UPDATE_USER" NUMBER(20) , "UPDATE_TIME" DATE , "STATUS" NUMBER(11) NOT NULL , - "IS_DELETED" NUMBER(11) NOT NULL + "IS_DELETED" NUMBER(11) NOT NULL ) TABLESPACE "BLADEX" LOGGING @@ -46,8 +46,8 @@ NOCOMPRESS PCTFREE 10 INITRANS 1 STORAGE ( - INITIAL 65536 - NEXT 1048576 + INITIAL 65536 + NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 BUFFER_POOL DEFAULT @@ -101,7 +101,7 @@ CREATE TABLE "BLADE_CODE" ( "WRAP_MODE" NUMBER(11), "API_PATH" NCLOB , "WEB_PATH" NCLOB , - "IS_DELETED" NUMBER(11) + "IS_DELETED" NUMBER(11) ) TABLESPACE "BLADEX" LOGGING @@ -109,8 +109,8 @@ NOCOMPRESS PCTFREE 10 INITRANS 1 STORAGE ( - INITIAL 65536 - NEXT 1048576 + INITIAL 65536 + NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 BUFFER_POOL DEFAULT @@ -137,7 +137,7 @@ COMMENT ON TABLE "BLADE_CODE" IS '代码生成表'; -- ---------------------------- -- Records of BLADE_CODE -- ---------------------------- -INSERT INTO "BLADE_CODE" VALUES ('1123598812738675201', '1161483357481541634', 'blade-demo', '通知公告', 'BLADE_NOTICE', 'blade_', 'id', 'org.springblade.desktop', '1', '1', 'D:\Develop\WorkSpace\Git\SpringBlade\blade-ops\blade-develop', 'D:\Develop\WorkSpace\Git\Sword', '0'); +INSERT INTO "BLADE_CODE" VALUES ('1123598812738675201', '1161483357481541634', 'blade-demo', '通知公告', 'BLADE_NOTICE', 'blade_', 'ID', 'org.springblade.desktop', '1', '1', 'D:\Develop\WorkSpace\Git\SpringBlade\blade-ops\blade-develop', 'D:\Develop\WorkSpace\Git\Sword', '0'); COMMIT; -- ---------------------------- @@ -158,7 +158,7 @@ CREATE TABLE "BLADE_DATASOURCE" ( "UPDATE_USER" NUMBER(20) , "UPDATE_TIME" DATE , "STATUS" NUMBER(11) , - "IS_DELETED" NUMBER(11) + "IS_DELETED" NUMBER(11) ) TABLESPACE "BLADEX" LOGGING @@ -166,8 +166,8 @@ NOCOMPRESS PCTFREE 10 INITRANS 1 STORAGE ( - INITIAL 65536 - NEXT 1048576 + INITIAL 65536 + NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 BUFFER_POOL DEFAULT @@ -214,7 +214,7 @@ CREATE TABLE "BLADE_DEPT" ( "FULL_NAME" NVARCHAR2(45) , "SORT" NUMBER(11) , "REMARK" NVARCHAR2(255) , - "IS_DELETED" NUMBER(11) + "IS_DELETED" NUMBER(11) ) TABLESPACE "BLADEX" LOGGING @@ -222,8 +222,8 @@ NOCOMPRESS PCTFREE 10 INITRANS 1 STORAGE ( - INITIAL 65536 - NEXT 1048576 + INITIAL 65536 + NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 BUFFER_POOL DEFAULT @@ -264,7 +264,7 @@ CREATE TABLE "BLADE_DICT" ( "DICT_VALUE" NVARCHAR2(255) , "SORT" NUMBER(11) , "REMARK" NVARCHAR2(255) , - "IS_DELETED" NUMBER(11) + "IS_DELETED" NUMBER(11) ) TABLESPACE "BLADEX" LOGGING @@ -272,8 +272,8 @@ NOCOMPRESS PCTFREE 10 INITRANS 1 STORAGE ( - INITIAL 65536 - NEXT 1048576 + INITIAL 65536 + NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 BUFFER_POOL DEFAULT @@ -361,7 +361,7 @@ CREATE TABLE "BLADE_LOG_API" ( "PARAMS" NCLOB , "TIME" NVARCHAR2(64) , "CREATE_BY" NVARCHAR2(64) , - "CREATE_TIME" DATE + "CREATE_TIME" DATE ) TABLESPACE "BLADEX" LOGGING @@ -369,8 +369,8 @@ NOCOMPRESS PCTFREE 10 INITRANS 1 STORAGE ( - INITIAL 65536 - NEXT 1048576 + INITIAL 65536 + NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 BUFFER_POOL DEFAULT @@ -422,7 +422,7 @@ CREATE TABLE "BLADE_LOG_ERROR" ( "METHOD_NAME" NVARCHAR2(255) , "PARAMS" NCLOB , "CREATE_BY" NVARCHAR2(64) , - "CREATE_TIME" DATE + "CREATE_TIME" DATE ) TABLESPACE "BLADEX" LOGGING @@ -430,8 +430,8 @@ NOCOMPRESS PCTFREE 10 INITRANS 1 STORAGE ( - INITIAL 65536 - NEXT 1048576 + INITIAL 65536 + NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 BUFFER_POOL DEFAULT @@ -480,7 +480,7 @@ CREATE TABLE "BLADE_LOG_USUAL" ( "USER_AGENT" NVARCHAR2(1000) , "PARAMS" NCLOB , "CREATE_BY" NVARCHAR2(64) , - "CREATE_TIME" DATE + "CREATE_TIME" DATE ) TABLESPACE "BLADEX" LOGGING @@ -488,8 +488,8 @@ NOCOMPRESS PCTFREE 10 INITRANS 1 STORAGE ( - INITIAL 65536 - NEXT 1048576 + INITIAL 65536 + NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 BUFFER_POOL DEFAULT @@ -532,7 +532,7 @@ CREATE TABLE "BLADE_MENU" ( "ACTION" NUMBER(11) , "IS_OPEN" NUMBER(11) , "REMARK" NVARCHAR2(255) , - "IS_DELETED" NUMBER(11) + "IS_DELETED" NUMBER(11) ) TABLESPACE "BLADEX" LOGGING @@ -540,8 +540,8 @@ NOCOMPRESS PCTFREE 10 INITRANS 1 STORAGE ( - INITIAL 65536 - NEXT 1048576 + INITIAL 65536 + NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 BUFFER_POOL DEFAULT @@ -688,6 +688,10 @@ INSERT INTO "BLADE_MENU" VALUES ('1161272593873321992', '1161272593873321991', ' INSERT INTO "BLADE_MENU" VALUES ('1161272593873321993', '1161272593873321991', 'datasource_edit', '修改', 'edit', '/tool/datasource/edit', 'form', '2', '2', '2', '2', NULL, '0'); INSERT INTO "BLADE_MENU" VALUES ('1161272593873321994', '1161272593873321991', 'datasource_delete', '删除', 'delete', '/api/blade-develop/datasource/remove', 'delete', '3', '2', '3', '3', NULL, '0'); INSERT INTO "BLADE_MENU" VALUES ('1161272593873321995', '1161272593873321991', 'datasource_view', '查看', 'view', '/tool/datasource/view', 'file-text', '4', '2', '2', '2', NULL, '0'); +INSERT INTO "BLADE_MENU"("ID", "PARENT_ID", "CODE", "NAME", "ALIAS", "PATH", "SOURCE", "SORT", "CATEGORY", "ACTION", "IS_OPEN", "REMARK", "IS_DELETED") +VALUES ('1164733121140551682', '1123598815738675217', 'form', '表单设计', 'form', 'https://form.avuejs.com/', 'iconfont iconicon_compile', 3, 1, 0, 2, '', 0); +INSERT INTO "BLADE_MENU"("ID", "PARENT_ID", "CODE", "NAME", "ALIAS", "PATH", "SOURCE", "SORT", "CATEGORY", "ACTION", "IS_OPEN", "REMARK", "IS_DELETED") +VALUES ('1164733349637844993', '1123598815738675217', 'crud', '表格设计', 'crud', 'https://crud.avuejs.com/', 'iconfont iconicon_work', 4, 1, 0, 2, '', 0); COMMIT; -- ---------------------------- @@ -707,7 +711,7 @@ CREATE TABLE "BLADE_NOTICE" ( "UPDATE_USER" NUMBER(20) , "UPDATE_TIME" DATE , "STATUS" NUMBER(11) , - "IS_DELETED" NUMBER(11) + "IS_DELETED" NUMBER(11) ) TABLESPACE "BLADEX" LOGGING @@ -715,8 +719,8 @@ NOCOMPRESS PCTFREE 10 INITRANS 1 STORAGE ( - INITIAL 65536 - NEXT 1048576 + INITIAL 65536 + NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 BUFFER_POOL DEFAULT @@ -767,7 +771,7 @@ CREATE TABLE "BLADE_OSS" ( "UPDATE_USER" NUMBER(20) , "UPDATE_TIME" DATE , "STATUS" NUMBER(11) , - "IS_DELETED" NUMBER(11) + "IS_DELETED" NUMBER(11) ) TABLESPACE "BLADEX" LOGGING @@ -775,8 +779,8 @@ NOCOMPRESS PCTFREE 10 INITRANS 1 STORAGE ( - INITIAL 65536 - NEXT 1048576 + INITIAL 65536 + NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 BUFFER_POOL DEFAULT @@ -825,7 +829,7 @@ CREATE TABLE "BLADE_PARAM" ( "UPDATE_USER" NUMBER(20) , "UPDATE_TIME" DATE , "STATUS" NUMBER(11) , - "IS_DELETED" NUMBER(11) + "IS_DELETED" NUMBER(11) ) TABLESPACE "BLADEX" LOGGING @@ -833,8 +837,8 @@ NOCOMPRESS PCTFREE 10 INITRANS 1 STORAGE ( - INITIAL 65536 - NEXT 1048576 + INITIAL 65536 + NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 BUFFER_POOL DEFAULT @@ -883,7 +887,7 @@ CREATE TABLE "BLADE_PROCESS_LEAVE" ( "UPDATE_USER" NUMBER(20) , "UPDATE_TIME" DATE , "STATUS" NUMBER(11) , - "IS_DELETED" NUMBER(11) + "IS_DELETED" NUMBER(11) ) TABLESPACE "BLADEX" LOGGING @@ -891,8 +895,8 @@ NOCOMPRESS PCTFREE 10 INITRANS 1 STORAGE ( - INITIAL 65536 - NEXT 1048576 + INITIAL 65536 + NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 BUFFER_POOL DEFAULT @@ -929,7 +933,7 @@ CREATE TABLE "BLADE_ROLE" ( "ROLE_NAME" NVARCHAR2(255) , "SORT" NUMBER(11) , "ROLE_ALIAS" NVARCHAR2(255) , - "IS_DELETED" NUMBER(11) + "IS_DELETED" NUMBER(11) ) TABLESPACE "BLADEX" LOGGING @@ -937,8 +941,8 @@ NOCOMPRESS PCTFREE 10 INITRANS 1 STORAGE ( - INITIAL 65536 - NEXT 1048576 + INITIAL 65536 + NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 BUFFER_POOL DEFAULT @@ -973,7 +977,7 @@ COMMIT; CREATE TABLE "BLADE_ROLE_MENU" ( "ID" NUMBER(20) NOT NULL , "MENU_ID" NUMBER(20) , - "ROLE_ID" NUMBER(20) + "ROLE_ID" NUMBER(20) ) TABLESPACE "BLADEX" LOGGING @@ -981,8 +985,8 @@ NOCOMPRESS PCTFREE 10 INITRANS 1 STORAGE ( - INITIAL 65536 - NEXT 1048576 + INITIAL 65536 + NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 BUFFER_POOL DEFAULT @@ -1216,6 +1220,10 @@ INSERT INTO "BLADE_ROLE_MENU" VALUES ('1161272593873322992', '116127259387332199 INSERT INTO "BLADE_ROLE_MENU" VALUES ('1161272593873322993', '1161272593873321993', '1123598816738675201'); INSERT INTO "BLADE_ROLE_MENU" VALUES ('1161272593873322994', '1161272593873321994', '1123598816738675201'); INSERT INTO "BLADE_ROLE_MENU" VALUES ('1161272593873322995', '1161272593873321995', '1123598816738675201'); +INSERT INTO "BLADE_ROLE_MENU"(ID,MENU_ID,ROLE_ID) +VALUES ('1161272593873322996', '1164733121140551682', '1123598816738675201'); +INSERT INTO "BLADE_ROLE_MENU"(ID,MENU_ID,ROLE_ID) +VALUES ('1161272593873322997', '1164733349637844993', '1123598816738675201'); COMMIT; -- ---------------------------- @@ -1226,7 +1234,7 @@ CREATE TABLE "BLADE_ROLE_SCOPE" ( "ID" NUMBER(20) NOT NULL , "SCOPE_CATEGORY" NUMBER(11) , "SCOPE_ID" NUMBER(20) , - "ROLE_ID" NUMBER(20) + "ROLE_ID" NUMBER(20) ) TABLESPACE "BLADEX" LOGGING @@ -1234,8 +1242,8 @@ NOCOMPRESS PCTFREE 10 INITRANS 1 STORAGE ( - INITIAL 65536 - NEXT 1048576 + INITIAL 65536 + NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 BUFFER_POOL DEFAULT @@ -1268,7 +1276,7 @@ CREATE TABLE "BLADE_SCOPE_API" ( "UPDATE_USER" NUMBER(20) , "UPDATE_TIME" DATE , "STATUS" NUMBER(11) , - "IS_DELETED" NUMBER(11) + "IS_DELETED" NUMBER(11) ) TABLESPACE "BLADEX" LOGGING @@ -1276,8 +1284,8 @@ NOCOMPRESS PCTFREE 10 INITRANS 1 STORAGE ( - INITIAL 65536 - NEXT 1048576 + INITIAL 65536 + NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 BUFFER_POOL DEFAULT @@ -1323,7 +1331,7 @@ CREATE TABLE "BLADE_SCOPE_DATA" ( "UPDATE_USER" NUMBER(20) , "UPDATE_TIME" DATE , "STATUS" NUMBER(11) , - "IS_DELETED" NUMBER(11) + "IS_DELETED" NUMBER(11) ) TABLESPACE "BLADEX" LOGGING @@ -1331,8 +1339,8 @@ NOCOMPRESS PCTFREE 10 INITRANS 1 STORAGE ( - INITIAL 65536 - NEXT 1048576 + INITIAL 65536 + NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 BUFFER_POOL DEFAULT @@ -1377,7 +1385,7 @@ CREATE TABLE "BLADE_TENANT" ( "UPDATE_USER" NUMBER(20) , "UPDATE_TIME" DATE , "STATUS" NUMBER(11) , - "IS_DELETED" NUMBER(11) + "IS_DELETED" NUMBER(11) ) TABLESPACE "BLADEX" LOGGING @@ -1385,8 +1393,8 @@ NOCOMPRESS PCTFREE 10 INITRANS 1 STORAGE ( - INITIAL 65536 - NEXT 1048576 + INITIAL 65536 + NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 BUFFER_POOL DEFAULT @@ -1433,7 +1441,7 @@ CREATE TABLE "BLADE_TOP_MENU" ( "UPDATE_USER" NUMBER(20) , "UPDATE_TIME" DATE , "STATUS" NUMBER(11) , - "IS_DELETED" NUMBER(11) + "IS_DELETED" NUMBER(11) ) TABLESPACE "BLADEX" LOGGING @@ -1441,8 +1449,8 @@ NOCOMPRESS PCTFREE 10 INITRANS 1 STORAGE ( - INITIAL 65536 - NEXT 1048576 + INITIAL 65536 + NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 BUFFER_POOL DEFAULT @@ -1473,7 +1481,7 @@ COMMENT ON TABLE "BLADE_TOP_MENU" IS '顶部菜单表'; CREATE TABLE "BLADE_TOP_MENU_SETTING" ( "ID" NUMBER(20) NOT NULL , "TOP_MENU_ID" NUMBER(20) , - "MENU_ID" NUMBER(20) + "MENU_ID" NUMBER(20) ) TABLESPACE "BLADEX" LOGGING @@ -1481,8 +1489,8 @@ NOCOMPRESS PCTFREE 10 INITRANS 1 STORAGE ( - INITIAL 65536 - NEXT 1048576 + INITIAL 65536 + NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 BUFFER_POOL DEFAULT @@ -1520,7 +1528,7 @@ CREATE TABLE "BLADE_USER" ( "UPDATE_USER" NUMBER(20) , "UPDATE_TIME" DATE , "STATUS" NUMBER(11) , - "IS_DELETED" NUMBER(11) + "IS_DELETED" NUMBER(11) ) TABLESPACE "BLADEX" LOGGING @@ -1528,8 +1536,8 @@ NOCOMPRESS PCTFREE 10 INITRANS 1 STORAGE ( - INITIAL 65536 - NEXT 1048576 + INITIAL 65536 + NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 BUFFER_POOL DEFAULT diff --git a/doc/sql/oracle/bladex-sword-oracle.sql b/doc/sql/oracle/bladex-sword-oracle.sql index de2be57f..62786a0c 100644 --- a/doc/sql/oracle/bladex-sword-oracle.sql +++ b/doc/sql/oracle/bladex-sword-oracle.sql @@ -38,7 +38,7 @@ CREATE TABLE "BLADE_CLIENT" ( "UPDATE_USER" NUMBER(20) , "UPDATE_TIME" DATE , "STATUS" NUMBER(11) NOT NULL , - "IS_DELETED" NUMBER(11) NOT NULL + "IS_DELETED" NUMBER(11) NOT NULL ) TABLESPACE "BLADEX" LOGGING @@ -46,8 +46,8 @@ NOCOMPRESS PCTFREE 10 INITRANS 1 STORAGE ( - INITIAL 65536 - NEXT 1048576 + INITIAL 65536 + NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 BUFFER_POOL DEFAULT @@ -109,8 +109,8 @@ NOCOMPRESS PCTFREE 10 INITRANS 1 STORAGE ( - INITIAL 65536 - NEXT 1048576 + INITIAL 65536 + NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 BUFFER_POOL DEFAULT @@ -137,7 +137,7 @@ COMMENT ON TABLE "BLADE_CODE" IS '代码生成表'; -- ---------------------------- -- Records of BLADE_CODE -- ---------------------------- -INSERT INTO "BLADE_CODE" VALUES ('1123598812738675201', '1161483357481541634', 'blade-demo', '通知公告', 'BLADE_NOTICE', 'blade_', 'id', 'org.springblade.desktop', '1', '1', 'D:\Develop\WorkSpace\Git\SpringBlade\blade-ops\blade-develop', 'D:\Develop\WorkSpace\Git\Sword', '0'); +INSERT INTO "BLADE_CODE" VALUES ('1123598812738675201', '1161483357481541634', 'blade-demo', '通知公告', 'BLADE_NOTICE', 'blade_', 'ID', 'org.springblade.desktop', '1', '1', 'D:\Develop\WorkSpace\Git\SpringBlade\blade-ops\blade-develop', 'D:\Develop\WorkSpace\Git\Sword', '0'); COMMIT; -- ---------------------------- @@ -158,7 +158,7 @@ CREATE TABLE "BLADE_DATASOURCE" ( "UPDATE_USER" NUMBER(20) , "UPDATE_TIME" DATE , "STATUS" NUMBER(11) , - "IS_DELETED" NUMBER(11) + "IS_DELETED" NUMBER(11) ) TABLESPACE "BLADEX" LOGGING @@ -166,8 +166,8 @@ NOCOMPRESS PCTFREE 10 INITRANS 1 STORAGE ( - INITIAL 65536 - NEXT 1048576 + INITIAL 65536 + NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 BUFFER_POOL DEFAULT @@ -214,7 +214,7 @@ CREATE TABLE "BLADE_DEPT" ( "FULL_NAME" NVARCHAR2(45) , "SORT" NUMBER(11) , "REMARK" NVARCHAR2(255) , - "IS_DELETED" NUMBER(11) + "IS_DELETED" NUMBER(11) ) TABLESPACE "BLADEX" LOGGING @@ -222,8 +222,8 @@ NOCOMPRESS PCTFREE 10 INITRANS 1 STORAGE ( - INITIAL 65536 - NEXT 1048576 + INITIAL 65536 + NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 BUFFER_POOL DEFAULT @@ -264,7 +264,7 @@ CREATE TABLE "BLADE_DICT" ( "DICT_VALUE" NVARCHAR2(255) , "SORT" NUMBER(11) , "REMARK" NVARCHAR2(255) , - "IS_DELETED" NUMBER(11) + "IS_DELETED" NUMBER(11) ) TABLESPACE "BLADEX" LOGGING @@ -272,8 +272,8 @@ NOCOMPRESS PCTFREE 10 INITRANS 1 STORAGE ( - INITIAL 65536 - NEXT 1048576 + INITIAL 65536 + NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 BUFFER_POOL DEFAULT @@ -361,7 +361,7 @@ CREATE TABLE "BLADE_LOG_API" ( "PARAMS" NCLOB , "TIME" NVARCHAR2(64) , "CREATE_BY" NVARCHAR2(64) , - "CREATE_TIME" DATE + "CREATE_TIME" DATE ) TABLESPACE "BLADEX" LOGGING @@ -369,8 +369,8 @@ NOCOMPRESS PCTFREE 10 INITRANS 1 STORAGE ( - INITIAL 65536 - NEXT 1048576 + INITIAL 65536 + NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 BUFFER_POOL DEFAULT @@ -422,7 +422,7 @@ CREATE TABLE "BLADE_LOG_ERROR" ( "METHOD_NAME" NVARCHAR2(255) , "PARAMS" NCLOB , "CREATE_BY" NVARCHAR2(64) , - "CREATE_TIME" DATE + "CREATE_TIME" DATE ) TABLESPACE "BLADEX" LOGGING @@ -430,8 +430,8 @@ NOCOMPRESS PCTFREE 10 INITRANS 1 STORAGE ( - INITIAL 65536 - NEXT 1048576 + INITIAL 65536 + NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 BUFFER_POOL DEFAULT @@ -480,7 +480,7 @@ CREATE TABLE "BLADE_LOG_USUAL" ( "USER_AGENT" NVARCHAR2(1000) , "PARAMS" NCLOB , "CREATE_BY" NVARCHAR2(64) , - "CREATE_TIME" DATE + "CREATE_TIME" DATE ) TABLESPACE "BLADEX" LOGGING @@ -488,8 +488,8 @@ NOCOMPRESS PCTFREE 10 INITRANS 1 STORAGE ( - INITIAL 65536 - NEXT 1048576 + INITIAL 65536 + NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 BUFFER_POOL DEFAULT @@ -532,7 +532,7 @@ CREATE TABLE "BLADE_MENU" ( "ACTION" NUMBER(11) , "IS_OPEN" NUMBER(11) , "REMARK" NVARCHAR2(255) , - "IS_DELETED" NUMBER(11) + "IS_DELETED" NUMBER(11) ) TABLESPACE "BLADEX" LOGGING @@ -540,8 +540,8 @@ NOCOMPRESS PCTFREE 10 INITRANS 1 STORAGE ( - INITIAL 65536 - NEXT 1048576 + INITIAL 65536 + NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 BUFFER_POOL DEFAULT @@ -688,6 +688,10 @@ INSERT INTO "BLADE_MENU" VALUES ('1161272593873321992', '1161272593873321991', ' INSERT INTO "BLADE_MENU" VALUES ('1161272593873321993', '1161272593873321991', 'datasource_edit', '修改', 'edit', '/tool/datasource/edit', 'form', '2', '2', '2', '2', NULL, '0'); INSERT INTO "BLADE_MENU" VALUES ('1161272593873321994', '1161272593873321991', 'datasource_delete', '删除', 'delete', '/api/blade-develop/datasource/remove', 'delete', '3', '2', '3', '3', NULL, '0'); INSERT INTO "BLADE_MENU" VALUES ('1161272593873321995', '1161272593873321991', 'datasource_view', '查看', 'view', '/tool/datasource/view', 'file-text', '4', '2', '2', '2', NULL, '0'); +INSERT INTO "BLADE_MENU"("ID", "PARENT_ID", "CODE", "NAME", "ALIAS", "PATH", "SOURCE", "SORT", "CATEGORY", "ACTION", "IS_OPEN", "REMARK", "IS_DELETED") +VALUES ('1164733121140551682', '1123598815738675217', 'form', '表单设计', 'form', 'https://form.avuejs.com/', 'iconfont iconicon_compile', 3, 1, 0, 2, '', 0); +INSERT INTO "BLADE_MENU"("ID", "PARENT_ID", "CODE", "NAME", "ALIAS", "PATH", "SOURCE", "SORT", "CATEGORY", "ACTION", "IS_OPEN", "REMARK", "IS_DELETED") +VALUES ('1164733349637844993', '1123598815738675217', 'crud', '表格设计', 'crud', 'https://crud.avuejs.com/', 'iconfont iconicon_work', 4, 1, 0, 2, '', 0); COMMIT; -- ---------------------------- @@ -707,7 +711,7 @@ CREATE TABLE "BLADE_NOTICE" ( "UPDATE_USER" NUMBER(20) , "UPDATE_TIME" DATE , "STATUS" NUMBER(11) , - "IS_DELETED" NUMBER(11) + "IS_DELETED" NUMBER(11) ) TABLESPACE "BLADEX" LOGGING @@ -715,8 +719,8 @@ NOCOMPRESS PCTFREE 10 INITRANS 1 STORAGE ( - INITIAL 65536 - NEXT 1048576 + INITIAL 65536 + NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 BUFFER_POOL DEFAULT @@ -767,7 +771,7 @@ CREATE TABLE "BLADE_OSS" ( "UPDATE_USER" NUMBER(20) , "UPDATE_TIME" DATE , "STATUS" NUMBER(11) , - "IS_DELETED" NUMBER(11) + "IS_DELETED" NUMBER(11) ) TABLESPACE "BLADEX" LOGGING @@ -775,8 +779,8 @@ NOCOMPRESS PCTFREE 10 INITRANS 1 STORAGE ( - INITIAL 65536 - NEXT 1048576 + INITIAL 65536 + NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 BUFFER_POOL DEFAULT @@ -825,7 +829,7 @@ CREATE TABLE "BLADE_PARAM" ( "UPDATE_USER" NUMBER(20) , "UPDATE_TIME" DATE , "STATUS" NUMBER(11) , - "IS_DELETED" NUMBER(11) + "IS_DELETED" NUMBER(11) ) TABLESPACE "BLADEX" LOGGING @@ -833,8 +837,8 @@ NOCOMPRESS PCTFREE 10 INITRANS 1 STORAGE ( - INITIAL 65536 - NEXT 1048576 + INITIAL 65536 + NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 BUFFER_POOL DEFAULT @@ -883,7 +887,7 @@ CREATE TABLE "BLADE_PROCESS_LEAVE" ( "UPDATE_USER" NUMBER(20) , "UPDATE_TIME" DATE , "STATUS" NUMBER(11) , - "IS_DELETED" NUMBER(11) + "IS_DELETED" NUMBER(11) ) TABLESPACE "BLADEX" LOGGING @@ -891,8 +895,8 @@ NOCOMPRESS PCTFREE 10 INITRANS 1 STORAGE ( - INITIAL 65536 - NEXT 1048576 + INITIAL 65536 + NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 BUFFER_POOL DEFAULT @@ -929,7 +933,7 @@ CREATE TABLE "BLADE_ROLE" ( "ROLE_NAME" NVARCHAR2(255) , "SORT" NUMBER(11) , "ROLE_ALIAS" NVARCHAR2(255) , - "IS_DELETED" NUMBER(11) + "IS_DELETED" NUMBER(11) ) TABLESPACE "BLADEX" LOGGING @@ -937,8 +941,8 @@ NOCOMPRESS PCTFREE 10 INITRANS 1 STORAGE ( - INITIAL 65536 - NEXT 1048576 + INITIAL 65536 + NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 BUFFER_POOL DEFAULT @@ -973,7 +977,7 @@ COMMIT; CREATE TABLE "BLADE_ROLE_MENU" ( "ID" NUMBER(20) NOT NULL , "MENU_ID" NUMBER(20) , - "ROLE_ID" NUMBER(20) + "ROLE_ID" NUMBER(20) ) TABLESPACE "BLADEX" LOGGING @@ -981,8 +985,8 @@ NOCOMPRESS PCTFREE 10 INITRANS 1 STORAGE ( - INITIAL 65536 - NEXT 1048576 + INITIAL 65536 + NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 BUFFER_POOL DEFAULT @@ -1216,6 +1220,10 @@ INSERT INTO "BLADE_ROLE_MENU" VALUES ('1161272593873322992', '116127259387332199 INSERT INTO "BLADE_ROLE_MENU" VALUES ('1161272593873322993', '1161272593873321993', '1123598816738675201'); INSERT INTO "BLADE_ROLE_MENU" VALUES ('1161272593873322994', '1161272593873321994', '1123598816738675201'); INSERT INTO "BLADE_ROLE_MENU" VALUES ('1161272593873322995', '1161272593873321995', '1123598816738675201'); +INSERT INTO "BLADE_ROLE_MENU"(ID,MENU_ID,ROLE_ID) +VALUES ('1161272593873322996', '1164733121140551682', '1123598816738675201'); +INSERT INTO "BLADE_ROLE_MENU"(ID,MENU_ID,ROLE_ID) +VALUES ('1161272593873322997', '1164733349637844993', '1123598816738675201'); COMMIT; -- ---------------------------- @@ -1226,7 +1234,7 @@ CREATE TABLE "BLADE_ROLE_SCOPE" ( "ID" NUMBER(20) NOT NULL , "SCOPE_CATEGORY" NUMBER(11) , "SCOPE_ID" NUMBER(20) , - "ROLE_ID" NUMBER(20) + "ROLE_ID" NUMBER(20) ) TABLESPACE "BLADEX" LOGGING @@ -1234,8 +1242,8 @@ NOCOMPRESS PCTFREE 10 INITRANS 1 STORAGE ( - INITIAL 65536 - NEXT 1048576 + INITIAL 65536 + NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 BUFFER_POOL DEFAULT @@ -1268,7 +1276,7 @@ CREATE TABLE "BLADE_SCOPE_API" ( "UPDATE_USER" NUMBER(20) , "UPDATE_TIME" DATE , "STATUS" NUMBER(11) , - "IS_DELETED" NUMBER(11) + "IS_DELETED" NUMBER(11) ) TABLESPACE "BLADEX" LOGGING @@ -1276,8 +1284,8 @@ NOCOMPRESS PCTFREE 10 INITRANS 1 STORAGE ( - INITIAL 65536 - NEXT 1048576 + INITIAL 65536 + NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 BUFFER_POOL DEFAULT @@ -1323,7 +1331,7 @@ CREATE TABLE "BLADE_SCOPE_DATA" ( "UPDATE_USER" NUMBER(20) , "UPDATE_TIME" DATE , "STATUS" NUMBER(11) , - "IS_DELETED" NUMBER(11) + "IS_DELETED" NUMBER(11) ) TABLESPACE "BLADEX" LOGGING @@ -1331,8 +1339,8 @@ NOCOMPRESS PCTFREE 10 INITRANS 1 STORAGE ( - INITIAL 65536 - NEXT 1048576 + INITIAL 65536 + NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 BUFFER_POOL DEFAULT @@ -1377,7 +1385,7 @@ CREATE TABLE "BLADE_TENANT" ( "UPDATE_USER" NUMBER(20) , "UPDATE_TIME" DATE , "STATUS" NUMBER(11) , - "IS_DELETED" NUMBER(11) + "IS_DELETED" NUMBER(11) ) TABLESPACE "BLADEX" LOGGING @@ -1385,8 +1393,8 @@ NOCOMPRESS PCTFREE 10 INITRANS 1 STORAGE ( - INITIAL 65536 - NEXT 1048576 + INITIAL 65536 + NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 BUFFER_POOL DEFAULT @@ -1433,7 +1441,7 @@ CREATE TABLE "BLADE_TOP_MENU" ( "UPDATE_USER" NUMBER(20) , "UPDATE_TIME" DATE , "STATUS" NUMBER(11) , - "IS_DELETED" NUMBER(11) + "IS_DELETED" NUMBER(11) ) TABLESPACE "BLADEX" LOGGING @@ -1441,8 +1449,8 @@ NOCOMPRESS PCTFREE 10 INITRANS 1 STORAGE ( - INITIAL 65536 - NEXT 1048576 + INITIAL 65536 + NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 BUFFER_POOL DEFAULT @@ -1473,7 +1481,7 @@ COMMENT ON TABLE "BLADE_TOP_MENU" IS '顶部菜单表'; CREATE TABLE "BLADE_TOP_MENU_SETTING" ( "ID" NUMBER(20) NOT NULL , "TOP_MENU_ID" NUMBER(20) , - "MENU_ID" NUMBER(20) + "MENU_ID" NUMBER(20) ) TABLESPACE "BLADEX" LOGGING @@ -1481,8 +1489,8 @@ NOCOMPRESS PCTFREE 10 INITRANS 1 STORAGE ( - INITIAL 65536 - NEXT 1048576 + INITIAL 65536 + NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 BUFFER_POOL DEFAULT @@ -1520,7 +1528,7 @@ CREATE TABLE "BLADE_USER" ( "UPDATE_USER" NUMBER(20) , "UPDATE_TIME" DATE , "STATUS" NUMBER(11) , - "IS_DELETED" NUMBER(11) + "IS_DELETED" NUMBER(11) ) TABLESPACE "BLADEX" LOGGING @@ -1528,8 +1536,8 @@ NOCOMPRESS PCTFREE 10 INITRANS 1 STORAGE ( - INITIAL 65536 - NEXT 1048576 + INITIAL 65536 + NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 BUFFER_POOL DEFAULT diff --git a/doc/sql/postgresql/bladex-saber-postgresql.sql b/doc/sql/postgresql/bladex-saber-postgresql.sql index e2cb4197..4bad0487 100644 --- a/doc/sql/postgresql/bladex-saber-postgresql.sql +++ b/doc/sql/postgresql/bladex-saber-postgresql.sql @@ -560,6 +560,10 @@ INSERT INTO "blade_menu" VALUES (1161272593873321992, 1161272593873321991, 'data INSERT INTO "blade_menu" VALUES (1161272593873321993, 1161272593873321991, 'datasource_edit', '修改', 'edit', '/tool/datasource/edit', 'form', 2, 2, 2, 2, NULL, 0); INSERT INTO "blade_menu" VALUES (1161272593873321994, 1161272593873321991, 'datasource_delete', '删除', 'delete', '/api/blade-develop/datasource/remove', 'delete', 3, 2, 3, 3, NULL, 0); INSERT INTO "blade_menu" VALUES (1161272593873321995, 1161272593873321991, 'datasource_view', '查看', 'view', '/tool/datasource/view', 'file-text', 4, 2, 2, 2, NULL, 0); +INSERT INTO "blade_menu"("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "remark", "is_deleted") +VALUES ('1164733121140551682', '1123598815738675217', 'form', '表单设计', 'form', 'https://form.avuejs.com/', 'iconfont iconicon_compile', 3, 1, 0, 2, '', 0); +INSERT INTO "blade_menu"("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "remark", "is_deleted") +VALUES ('1164733349637844993', '1123598815738675217', 'crud', '表格设计', 'crud', 'https://crud.avuejs.com/', 'iconfont iconicon_work', 4, 1, 0, 2, '', 0); COMMIT; -- ---------------------------- @@ -1003,6 +1007,10 @@ INSERT INTO "blade_role_menu" VALUES (1161272593873322992, 1161272593873321992, INSERT INTO "blade_role_menu" VALUES (1161272593873322993, 1161272593873321993, 1123598816738675201); INSERT INTO "blade_role_menu" VALUES (1161272593873322994, 1161272593873321994, 1123598816738675201); INSERT INTO "blade_role_menu" VALUES (1161272593873322995, 1161272593873321995, 1123598816738675201); +INSERT INTO "blade_role_menu"("id","menu_id","role_id") +VALUES ('1161272593873322996', '1164733121140551682', '1123598816738675201'); +INSERT INTO "blade_role_menu"("id","menu_id","role_id") +VALUES ('1161272593873322997', '1164733349637844993', '1123598816738675201'); COMMIT; -- ---------------------------- diff --git a/doc/sql/postgresql/bladex-sword-postgresql.sql b/doc/sql/postgresql/bladex-sword-postgresql.sql index 84030ad8..eedd5e11 100644 --- a/doc/sql/postgresql/bladex-sword-postgresql.sql +++ b/doc/sql/postgresql/bladex-sword-postgresql.sql @@ -560,6 +560,10 @@ INSERT INTO "blade_menu" VALUES (1161272593873321992, 1161272593873321991, 'data INSERT INTO "blade_menu" VALUES (1161272593873321993, 1161272593873321991, 'datasource_edit', '修改', 'edit', '/tool/datasource/edit', 'form', 2, 2, 2, 2, NULL, 0); INSERT INTO "blade_menu" VALUES (1161272593873321994, 1161272593873321991, 'datasource_delete', '删除', 'delete', '/api/blade-develop/datasource/remove', 'delete', 3, 2, 3, 3, NULL, 0); INSERT INTO "blade_menu" VALUES (1161272593873321995, 1161272593873321991, 'datasource_view', '查看', 'view', '/tool/datasource/view', 'file-text', 4, 2, 2, 2, NULL, 0); +INSERT INTO "blade_menu"("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "remark", "is_deleted") +VALUES ('1164733121140551682', '1123598815738675217', 'form', '表单设计', 'form', 'https://form.avuejs.com/', 'iconfont iconicon_compile', 3, 1, 0, 2, '', 0); +INSERT INTO "blade_menu"("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "remark", "is_deleted") +VALUES ('1164733349637844993', '1123598815738675217', 'crud', '表格设计', 'crud', 'https://crud.avuejs.com/', 'iconfont iconicon_work', 4, 1, 0, 2, '', 0); COMMIT; -- ---------------------------- @@ -1003,6 +1007,10 @@ INSERT INTO "blade_role_menu" VALUES (1161272593873322992, 1161272593873321992, INSERT INTO "blade_role_menu" VALUES (1161272593873322993, 1161272593873321993, 1123598816738675201); INSERT INTO "blade_role_menu" VALUES (1161272593873322994, 1161272593873321994, 1123598816738675201); INSERT INTO "blade_role_menu" VALUES (1161272593873322995, 1161272593873321995, 1123598816738675201); +INSERT INTO "blade_role_menu"("id","menu_id","role_id") +VALUES ('1161272593873322996', '1164733121140551682', '1123598816738675201'); +INSERT INTO "blade_role_menu"("id","menu_id","role_id") +VALUES ('1161272593873322997', '1164733349637844993', '1123598816738675201'); COMMIT; -- ---------------------------- diff --git a/doc/sql/update/mysql-update-2.0.6~2.0.7.sql b/doc/sql/update/mysql-update-2.0.6~2.0.7.sql deleted file mode 100644 index f12b908b..00000000 --- a/doc/sql/update/mysql-update-2.0.6~2.0.7.sql +++ /dev/null @@ -1,75 +0,0 @@ --- ---------------------------- --- 用户表增加头像字段 --- ---------------------------- -ALTER TABLE `blade_user` - ADD COLUMN `avatar` varchar(500) NULL COMMENT '头像' AFTER `real_name`; - --- ---------------------------- --- 创建数据源配置表 --- ---------------------------- -CREATE TABLE `blade_datasource` ( - `id` bigint(64) NOT NULL COMMENT '主键', - `name` varchar(100) NULL COMMENT '名称', - `driver_class` varchar(100) NULL COMMENT '驱动类', - `url` varchar(500) NULL COMMENT '连接地址', - `username` varchar(50) NULL COMMENT '用户名', - `password` varchar(50) NULL COMMENT '密码', - `remark` varchar(255) NULL COMMENT '备注', - `create_user` bigint(64) NULL DEFAULT NULL COMMENT '创建人', - `create_dept` bigint(64) NULL DEFAULT NULL COMMENT '创建部门', - `create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间', - `update_user` bigint(64) NULL DEFAULT NULL COMMENT '修改人', - `update_time` datetime(0) NULL DEFAULT NULL COMMENT '修改时间', - `status` int(2) NULL DEFAULT NULL COMMENT '状态', - `is_deleted` int(2) NULL DEFAULT NULL COMMENT '是否已删除', - PRIMARY KEY (`id`) -) COMMENT = '数据源配置表' ; - --- ---------------------------- --- 插入数据源默认数据 --- ---------------------------- -INSERT INTO `blade_datasource`(`id`, `name`, `driver_class`, `url`, `username`, `password`, `remark`, `create_user`, `create_dept`, `create_time`, `update_user`, `update_time`, `status`, `is_deleted`) VALUES (1161483357481541634, 'mysql', 'com.mysql.cj.jdbc.Driver', 'jdbc:mysql://localhost:3306/bladex?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true', 'root', 'root', 'mysql', 1123598821738675201, 1123598813738675201, '2019-08-14 11:43:06', 1123598821738675201, '2019-08-14 11:43:06', 1, 0); -INSERT INTO `blade_datasource`(`id`, `name`, `driver_class`, `url`, `username`, `password`, `remark`, `create_user`, `create_dept`, `create_time`, `update_user`, `update_time`, `status`, `is_deleted`) VALUES (1161483504353484802, 'postgresql', 'org.postgresql.Driver', 'jdbc:postgresql://127.0.0.1:5432/bladex', 'postgres', '123456', 'postgresql', 1123598821738675201, 1123598813738675201, '2019-08-14 11:43:41', 1123598821738675201, '2019-08-14 11:43:41', 1, 0); -INSERT INTO `blade_datasource`(`id`, `name`, `driver_class`, `url`, `username`, `password`, `remark`, `create_user`, `create_dept`, `create_time`, `update_user`, `update_time`, `status`, `is_deleted`) VALUES (1161483594023510018, 'oracle', 'oracle.jdbc.OracleDriver', 'jdbc:oracle:thin:@127.0.0.1:49161:orcl', 'BLADEX', 'bladex', 'oracle', 1123598821738675201, 1123598813738675201, '2019-08-14 11:44:03', 1123598821738675201, '2019-08-14 11:44:03', 1, 0); - --- ---------------------------- --- 插入数据源菜单数据 --- ---------------------------- -INSERT INTO `blade_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) -VALUES ('1161272593873321991', '1123598815738675217', 'datasource', '数据源管理', 'menu', '/tool/datasource', 'iconfont icon-caidanguanli', 2, 1, 0, 1, NULL, 0); -INSERT INTO `blade_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) -VALUES ('1161272593873321992', '1161272593873321991', 'datasource_add', '新增', 'add', '/tool/datasource/add', 'plus', 1, 2, 1, 1, NULL, 0); -INSERT INTO `blade_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) -VALUES ('1161272593873321993', '1161272593873321991', 'datasource_edit', '修改', 'edit', '/tool/datasource/edit', 'form', 2, 2, 2, 2, NULL, 0); -INSERT INTO `blade_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) -VALUES ('1161272593873321994', '1161272593873321991', 'datasource_delete', '删除', 'delete', '/api/blade-develop/datasource/remove', 'delete', 3, 2, 3, 3, NULL, 0); -INSERT INTO `blade_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) -VALUES ('1161272593873321995', '1161272593873321991', 'datasource_view', '查看', 'view', '/tool/datasource/view', 'file-text', 4, 2, 2, 2, NULL, 0); - --- ---------------------------- --- 插入数据源角色权限数据 --- ---------------------------- -INSERT INTO `blade_role_menu`(`id`,`menu_id`,`role_id`) -VALUES ('1161272593873322991', '1161272593873321991', '1123598816738675201'); -INSERT INTO `blade_role_menu`(`id`,`menu_id`,`role_id`) -VALUES ('1161272593873322992', '1161272593873321992', '1123598816738675201'); -INSERT INTO `blade_role_menu`(`id`,`menu_id`,`role_id`) -VALUES ('1161272593873322993', '1161272593873321993', '1123598816738675201'); -INSERT INTO `blade_role_menu`(`id`,`menu_id`,`role_id`) -VALUES ('1161272593873322994', '1161272593873321994', '1123598816738675201'); -INSERT INTO `blade_role_menu`(`id`,`menu_id`,`role_id`) -VALUES ('1161272593873322995', '1161272593873321995', '1123598816738675201'); - --- ---------------------------- --- 代码生成表增加数据源字段 --- ---------------------------- -ALTER TABLE `blade_code` - ADD COLUMN `datasource_id` bigint(64) NULL COMMENT '数据源主键' AFTER `id`, - ADD COLUMN `base_mode` int(2) NULL COMMENT '基础业务模式' AFTER `package_name`, - ADD COLUMN `wrap_mode` int(2) NULL COMMENT '包装器模式' AFTER `base_mode`; - - --- ---------------------------- --- 代码生成记录增加数据源字段 --- ---------------------------- -UPDATE `blade_code` SET `datasource_id` = 1161483357481541634, `base_mode` = 1, `wrap_mode` = 1 WHERE `id` = 1123598812738675201; diff --git a/doc/sql/update/mysql-update-2.0.7~2.0.8.sql b/doc/sql/update/mysql-update-2.0.7~2.0.8.sql new file mode 100644 index 00000000..081e89bc --- /dev/null +++ b/doc/sql/update/mysql-update-2.0.7~2.0.8.sql @@ -0,0 +1,16 @@ + +-- ---------------------------- +-- 插入菜单数据 +-- ---------------------------- +INSERT INTO `blade_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) +VALUES ('1164733121140551682', '1123598815738675217', 'form', '表单设计', 'form', 'https://form.avuejs.com/', 'iconfont iconicon_compile', 3, 1, 0, 2, '', 0); +INSERT INTO `blade_menu`(`id`, `parent_id`, `code`, `name`, `alias`, `path`, `source`, `sort`, `category`, `action`, `is_open`, `remark`, `is_deleted`) +VALUES ('1164733349637844993', '1123598815738675217', 'crud', '表格设计', 'crud', 'https://crud.avuejs.com/', 'iconfont iconicon_work', 4, 1, 0, 2, '', 0); + +-- ---------------------------- +-- 插入数据源角色权限数据 +-- ---------------------------- +INSERT INTO `blade_role_menu`(`id`,`menu_id`,`role_id`) +VALUES ('1161272593873322996', '1164733121140551682', '1123598816738675201'); +INSERT INTO `blade_role_menu`(`id`,`menu_id`,`role_id`) +VALUES ('1161272593873322997', '1164733349637844993', '1123598816738675201'); diff --git a/doc/sql/update/oracle-update-2.0.6~2.0.7.sql b/doc/sql/update/oracle-update-2.0.6~2.0.7.sql deleted file mode 100644 index 592943e9..00000000 --- a/doc/sql/update/oracle-update-2.0.6~2.0.7.sql +++ /dev/null @@ -1,97 +0,0 @@ -ALTER TABLE "BLADEX"."BLADE_USER" - ADD ("AVATAR" VARCHAR2(500) ); - -COMMENT ON COLUMN "BLADEX"."BLADE_USER"."AVATAR" IS '头像' - - -CREATE TABLE "BLADE_DATASOURCE" ( -"ID" NUMBER(20) NOT NULL , -"NAME" NVARCHAR2(100) , -"DRIVER_CLASS" NVARCHAR2(100) , -"URL" NVARCHAR2(500) , -"USERNAME" NVARCHAR2(45) , -"PASSWORD" NVARCHAR2(45) , -"REMARK" NVARCHAR2(500) , -"CREATE_USER" NUMBER(20) , -"CREATE_DEPT" NUMBER(20) , -"CREATE_TIME" DATE , -"UPDATE_USER" NUMBER(20) , -"UPDATE_TIME" DATE , -"STATUS" NUMBER(11) , -"IS_DELETED" NUMBER(11), -PRIMARY KEY ("ID") -); -COMMENT ON COLUMN "BLADE_DATASOURCE"."ID" IS '主键'; -COMMENT ON COLUMN "BLADE_DATASOURCE"."NAME" IS '名称'; -COMMENT ON COLUMN "BLADE_DATASOURCE"."DRIVER_CLASS" IS '驱动类'; -COMMENT ON COLUMN "BLADE_DATASOURCE"."URL" IS '链接地址'; -COMMENT ON COLUMN "BLADE_DATASOURCE"."USERNAME" IS '用户名'; -COMMENT ON COLUMN "BLADE_DATASOURCE"."PASSWORD" IS '密码'; -COMMENT ON COLUMN "BLADE_DATASOURCE"."REMARK" IS '备注'; -COMMENT ON COLUMN "BLADE_DATASOURCE"."CREATE_USER" IS '创建人'; -COMMENT ON COLUMN "BLADE_DATASOURCE"."CREATE_DEPT" IS '创建部门'; -COMMENT ON COLUMN "BLADE_DATASOURCE"."CREATE_TIME" IS '创建时间'; -COMMENT ON COLUMN "BLADE_DATASOURCE"."UPDATE_USER" IS '修改人'; -COMMENT ON COLUMN "BLADE_DATASOURCE"."UPDATE_TIME" IS '修改时间'; -COMMENT ON COLUMN "BLADE_DATASOURCE"."STATUS" IS '状态'; -COMMENT ON COLUMN "BLADE_DATASOURCE"."IS_DELETED" IS '是否已删除'; -COMMENT ON TABLE "BLADE_DATASOURCE" IS '数据源配置表'; - --- ---------------------------- --- 插入数据源默认数据 --- ---------------------------- -INSERT INTO "BLADEX"."BLADE_DATASOURCE"("ID", "NAME", "DRIVER_CLASS", "URL", "USERNAME", "PASSWORD", "REMARK", "CREATE_USER", "CREATE_DEPT", "CREATE_TIME", "UPDATE_USER", "UPDATE_TIME", "STATUS", "IS_DELETED") -VALUES (1161483357481541634, 'mysql', 'com.mysql.cj.jdbc.Driver', 'jdbc:mysql://localhost:3306/bladex?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true', 'root', 'root', 'mysql', 1123598821738675201, 1123598813738675201, TO_DATE('2019-08-14 11:43:06', 'SYYYY-MM-DD HH24:MI:SS'), 1123598821738675201, TO_DATE('2019-08-14 11:43:06', 'SYYYY-MM-DD HH24:MI:SS'), 1, 0); -INSERT INTO "BLADEX"."BLADE_DATASOURCE"("ID", "NAME", "DRIVER_CLASS", "URL", "USERNAME", "PASSWORD", "REMARK", "CREATE_USER", "CREATE_DEPT", "CREATE_TIME", "UPDATE_USER", "UPDATE_TIME", "STATUS", "IS_DELETED") -VALUES (1161483504353484802, 'postgresql', 'org.postgresql.Driver', 'jdbc:postgresql://127.0.0.1:5432/bladex', 'postgres', '123456', 'postgresql', 1123598821738675201, 1123598813738675201, TO_DATE('2019-08-14 11:43:41', 'SYYYY-MM-DD HH24:MI:SS'), 1123598821738675201, TO_DATE('2019-08-14 11:43:41', 'SYYYY-MM-DD HH24:MI:SS'), 1, 0); -INSERT INTO "BLADEX"."BLADE_DATASOURCE"("ID", "NAME", "DRIVER_CLASS", "URL", "USERNAME", "PASSWORD", "REMARK", "CREATE_USER", "CREATE_DEPT", "CREATE_TIME", "UPDATE_USER", "UPDATE_TIME", "STATUS", "IS_DELETED") -VALUES (1161483594023510018, 'oracle', 'oracle.jdbc.OracleDriver', 'jdbc:oracle:thin:@127.0.0.1:49161:orcl', 'BLADEX', 'bladex', 'oracle', 1123598821738675201, 1123598813738675201, TO_DATE('2019-08-14 11:44:03', 'SYYYY-MM-DD HH24:MI:SS'), 1123598821738675201, TO_DATE('2019-08-14 11:44:03', 'SYYYY-MM-DD HH24:MI:SS'), 1, 0); - --- ---------------------------- --- 插入数据源菜单数据 --- ---------------------------- -INSERT INTO "BLADEX"."BLADE_MENU"("ID", "PARENT_ID", "CODE", "NAME", "ALIAS", "PATH", "SOURCE", "SORT", "CATEGORY", "ACTION", "IS_OPEN", "REMARK", "IS_DELETED") -VALUES ('1161272593873321991', '1123598815738675217', 'datasource', '数据源管理', 'menu', '/tool/datasource', 'iconfont icon-caidanguanli', 2, 1, 0, 1, NULL, 0); -INSERT INTO "BLADEX"."BLADE_MENU"("ID", "PARENT_ID", "CODE", "NAME", "ALIAS", "PATH", "SOURCE", "SORT", "CATEGORY", "ACTION", "IS_OPEN", "REMARK", "IS_DELETED") -VALUES ('1161272593873321992', '1161272593873321991', 'datasource_add', '新增', 'add', '/tool/datasource/add', 'plus', 1, 2, 1, 1, NULL, 0); -INSERT INTO "BLADEX"."BLADE_MENU"("ID", "PARENT_ID", "CODE", "NAME", "ALIAS", "PATH", "SOURCE", "SORT", "CATEGORY", "ACTION", "IS_OPEN", "REMARK", "IS_DELETED") -VALUES ('1161272593873321993', '1161272593873321991', 'datasource_edit', '修改', 'edit', '/tool/datasource/edit', 'form', 2, 2, 2, 2, NULL, 0); -INSERT INTO "BLADEX"."BLADE_MENU"("ID", "PARENT_ID", "CODE", "NAME", "ALIAS", "PATH", "SOURCE", "SORT", "CATEGORY", "ACTION", "IS_OPEN", "REMARK", "IS_DELETED") -VALUES ('1161272593873321994', '1161272593873321991', 'datasource_delete', '删除', 'delete', '/api/blade-develop/datasource/remove', 'delete', 3, 2, 3, 3, NULL, 0); -INSERT INTO "BLADEX"."BLADE_MENU"("ID", "PARENT_ID", "CODE", "NAME", "ALIAS", "PATH", "SOURCE", "SORT", "CATEGORY", "ACTION", "IS_OPEN", "REMARK", "IS_DELETED") -VALUES ('1161272593873321995', '1161272593873321991', 'datasource_view', '查看', 'view', '/tool/datasource/view', 'file-text', 4, 2, 2, 2, NULL, 0); - - --- ---------------------------- --- 插入数据源角色权限数据 --- ---------------------------- -INSERT INTO "BLADEX"."BLADE_ROLE_MENU"(ID,MENU_ID,ROLE_ID) -VALUES ('1161272593873322991', '1161272593873321991', '1123598816738675201'); -INSERT INTO "BLADEX"."BLADE_ROLE_MENU"(ID,MENU_ID,ROLE_ID) -VALUES ('1161272593873322992', '1161272593873321992', '1123598816738675201'); -INSERT INTO "BLADEX"."BLADE_ROLE_MENU"(ID,MENU_ID,ROLE_ID) -VALUES ('1161272593873322993', '1161272593873321993', '1123598816738675201'); -INSERT INTO "BLADEX"."BLADE_ROLE_MENU"(ID,MENU_ID,ROLE_ID) -VALUES ('1161272593873322994', '1161272593873321994', '1123598816738675201'); -INSERT INTO "BLADEX"."BLADE_ROLE_MENU"(ID,MENU_ID,ROLE_ID) -VALUES ('1161272593873322995', '1161272593873321995', '1123598816738675201'); - - --- ---------------------------- --- 代码生成表增加数据源字段 --- ---------------------------- -ALTER TABLE "BLADEX"."BLADE_CODE" - ADD ("DATASOURCE_ID" NUMBER(20) ) - ADD ("BASE_MODE" NUMBER(11) ) - ADD ("WRAP_MODE" NUMBER(11) ); - -COMMENT ON COLUMN "BLADE_CODE"."DATASOURCE_ID" IS '数据源主键'; -COMMENT ON COLUMN "BLADE_CODE"."BASE_MODE" IS '基础业务模式'; -COMMENT ON COLUMN "BLADE_CODE"."WRAP_MODE" IS '包装器模式'; - - --- ---------------------------- --- 代码生成记录增加数据源字段 --- ---------------------------- -UPDATE "BLADEX"."BLADE_CODE" SET "DATASOURCE_ID" = 1161483357481541634, "BASE_MODE" = 1, "WRAP_MODE" = 1 WHERE "ID" = 1123598812738675201; - diff --git a/doc/sql/update/oracle-update-2.0.7~2.0.8.sql b/doc/sql/update/oracle-update-2.0.7~2.0.8.sql new file mode 100644 index 00000000..0e2dae07 --- /dev/null +++ b/doc/sql/update/oracle-update-2.0.7~2.0.8.sql @@ -0,0 +1,17 @@ + +-- ---------------------------- +-- 插入菜单数据 +-- ---------------------------- +INSERT INTO "BLADEX"."BLADE_MENU"("ID", "PARENT_ID", "CODE", "NAME", "ALIAS", "PATH", "SOURCE", "SORT", "CATEGORY", "ACTION", "IS_OPEN", "REMARK", "IS_DELETED") +VALUES ('1164733121140551682', '1123598815738675217', 'form', '表单设计', 'form', 'https://form.avuejs.com/', 'iconfont iconicon_compile', 3, 1, 0, 2, '', 0); +INSERT INTO "BLADEX"."BLADE_MENU"("ID", "PARENT_ID", "CODE", "NAME", "ALIAS", "PATH", "SOURCE", "SORT", "CATEGORY", "ACTION", "IS_OPEN", "REMARK", "IS_DELETED") +VALUES ('1164733349637844993', '1123598815738675217', 'crud', '表格设计', 'crud', 'https://crud.avuejs.com/', 'iconfont iconicon_work', 4, 1, 0, 2, '', 0); + +-- ---------------------------- +-- 插入数据源角色权限数据 +-- ---------------------------- +INSERT INTO "BLADEX"."BLADE_ROLE_MENU"(ID,MENU_ID,ROLE_ID) +VALUES ('1161272593873322996', '1164733121140551682', '1123598816738675201'); +INSERT INTO "BLADEX"."BLADE_ROLE_MENU"(ID,MENU_ID,ROLE_ID) +VALUES ('1161272593873322997', '1164733349637844993', '1123598816738675201'); + diff --git a/doc/sql/update/postgresql-update-2.0.6~2.0.7.sql b/doc/sql/update/postgresql-update-2.0.6~2.0.7.sql deleted file mode 100644 index a5e5334c..00000000 --- a/doc/sql/update/postgresql-update-2.0.6~2.0.7.sql +++ /dev/null @@ -1,103 +0,0 @@ --- ---------------------------- --- 用户表增加头像字段 --- ---------------------------- -ALTER TABLE "public"."blade_user" - ADD COLUMN "avatar" varchar(500); - -COMMENT ON COLUMN "public"."blade_user"."avatar" IS '头像'; - --- ---------------------------- --- 创建数据源配置表 --- ---------------------------- -DROP TABLE IF EXISTS "blade_datasource"; -CREATE TABLE "blade_datasource" ( - "id" int8 NOT NULL, - "name" varchar(100) COLLATE "pg_catalog"."default", - "driver_class" varchar(100) COLLATE "pg_catalog"."default", - "url" varchar(500) COLLATE "pg_catalog"."default", - "username" varchar(45) COLLATE "pg_catalog"."default", - "password" varchar(45) COLLATE "pg_catalog"."default", - "remark" varchar(500) COLLATE "pg_catalog"."default", - "create_user" int8, - "create_dept" int8, - "create_time" timestamp(6), - "update_user" int8, - "update_time" timestamp(6), - "status" int4, - "is_deleted" int4 -) -; -COMMENT ON COLUMN "blade_datasource"."id" IS '主键'; -COMMENT ON COLUMN "blade_datasource"."name" IS '名称'; -COMMENT ON COLUMN "blade_datasource"."driver_class" IS '驱动类'; -COMMENT ON COLUMN "blade_datasource"."url" IS '链接地址'; -COMMENT ON COLUMN "blade_datasource"."username" IS '用户名'; -COMMENT ON COLUMN "blade_datasource"."password" IS '密码'; -COMMENT ON COLUMN "blade_datasource"."remark" IS '备注'; -COMMENT ON COLUMN "blade_datasource"."create_user" IS '创建人'; -COMMENT ON COLUMN "blade_datasource"."create_dept" IS '创建部门'; -COMMENT ON COLUMN "blade_datasource"."create_time" IS '创建时间'; -COMMENT ON COLUMN "blade_datasource"."update_user" IS '修改人'; -COMMENT ON COLUMN "blade_datasource"."update_time" IS '修改时间'; -COMMENT ON COLUMN "blade_datasource"."status" IS '状态'; -COMMENT ON COLUMN "blade_datasource"."is_deleted" IS '是否已删除'; -COMMENT ON TABLE "blade_datasource" IS '数据源配置表'; - --- ---------------------------- --- 插入数据源默认数据 --- ---------------------------- -INSERT INTO "blade_datasource"("id", "name", "driver_class", "url", "username", "password", "remark", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (1161483357481541634, 'mysql', 'com.mysql.cj.jdbc.Driver', 'jdbc:mysql://localhost:3306/bladex?useSSL=false&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&transformedBitIsBoolean=true&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true', 'root', 'root', 'mysql', 1123598821738675201, 1123598813738675201, '2019-08-14 11:43:06', 1123598821738675201, '2019-08-14 11:43:06', 1, 0); -INSERT INTO "blade_datasource"("id", "name", "driver_class", "url", "username", "password", "remark", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (1161483504353484802, 'postgresql', 'org.postgresql.Driver', 'jdbc:postgresql://127.0.0.1:5432/bladex', 'postgres', '123456', 'postgresql', 1123598821738675201, 1123598813738675201, '2019-08-14 11:43:41', 1123598821738675201, '2019-08-14 11:43:41', 1, 0); -INSERT INTO "blade_datasource"("id", "name", "driver_class", "url", "username", "password", "remark", "create_user", "create_dept", "create_time", "update_user", "update_time", "status", "is_deleted") VALUES (1161483594023510018, 'oracle', 'oracle.jdbc.OracleDriver', 'jdbc:oracle:thin:@127.0.0.1:49161:orcl', 'BLADEX', 'bladex', 'oracle', 1123598821738675201, 1123598813738675201, '2019-08-14 11:44:03', 1123598821738675201, '2019-08-14 11:44:03', 1, 0); - --- ---------------------------- --- 设置主键 --- ---------------------------- -ALTER TABLE "blade_datasource" ADD CONSTRAINT "blade_datasource_pkey" PRIMARY KEY ("id"); - --- ---------------------------- --- 插入数据源菜单数据 --- ---------------------------- -INSERT INTO "blade_menu"("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "remark", "is_deleted") -VALUES ('1161272593873321991', '1123598815738675217', 'datasource', '数据源管理', 'menu', '/tool/datasource', 'iconfont icon-caidanguanli', 2, 1, 0, 1, NULL, 0); -INSERT INTO "blade_menu"("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "remark", "is_deleted") -VALUES ('1161272593873321992', '1161272593873321991', 'datasource_add', '新增', 'add', '/tool/datasource/add', 'plus', 1, 2, 1, 1, NULL, 0); -INSERT INTO "blade_menu"("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "remark", "is_deleted") -VALUES ('1161272593873321993', '1161272593873321991', 'datasource_edit', '修改', 'edit', '/tool/datasource/edit', 'form', 2, 2, 2, 2, NULL, 0); -INSERT INTO "blade_menu"("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "remark", "is_deleted") -VALUES ('1161272593873321994', '1161272593873321991', 'datasource_delete', '删除', 'delete', '/api/blade-develop/datasource/remove', 'delete', 3, 2, 3, 3, NULL, 0); -INSERT INTO "blade_menu"("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "remark", "is_deleted") -VALUES ('1161272593873321995', '1161272593873321991', 'datasource_view', '查看', 'view', '/tool/datasource/view', 'file-text', 4, 2, 2, 2, NULL, 0); - --- ---------------------------- --- 插入数据源角色权限数据 --- ---------------------------- -INSERT INTO "blade_role_menu"("id","menu_id","role_id") -VALUES ('1161272593873322991', '1161272593873321991', '1123598816738675201'); -INSERT INTO "blade_role_menu"("id","menu_id","role_id") -VALUES ('1161272593873322992', '1161272593873321992', '1123598816738675201'); -INSERT INTO "blade_role_menu"("id","menu_id","role_id") -VALUES ('1161272593873322993', '1161272593873321993', '1123598816738675201'); -INSERT INTO "blade_role_menu"("id","menu_id","role_id") -VALUES ('1161272593873322994', '1161272593873321994', '1123598816738675201'); -INSERT INTO "blade_role_menu"("id","menu_id","role_id") -VALUES ('1161272593873322995', '1161272593873321995', '1123598816738675201'); - - --- ---------------------------- --- 代码生成表增加数据源字段 --- ---------------------------- -ALTER TABLE "public"."blade_code" - ADD COLUMN "datasource_id" int8, - ADD COLUMN "base_mode" int2, - ADD COLUMN "wrap_mode" int2; - -COMMENT ON COLUMN "public"."blade_code"."datasource_id" IS '数据源主键'; -COMMENT ON COLUMN "public"."blade_code"."base_mode" IS '基础业务模式'; -COMMENT ON COLUMN "public"."blade_code"."wrap_mode" IS '包装器模式'; - - --- ---------------------------- --- 代码生成记录增加数据源字段 --- ---------------------------- -UPDATE "blade_code" SET "datasource_id" = 1161483357481541634, "base_mode" = 1, "wrap_mode" = 1 WHERE "id" = 1123598812738675201; diff --git a/doc/sql/update/postgresql-update-2.0.7~2.0.8.sql b/doc/sql/update/postgresql-update-2.0.7~2.0.8.sql new file mode 100644 index 00000000..9c0eed7a --- /dev/null +++ b/doc/sql/update/postgresql-update-2.0.7~2.0.8.sql @@ -0,0 +1,16 @@ + +-- ---------------------------- +-- 插入菜单数据 +-- ---------------------------- +INSERT INTO "blade_menu"("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "remark", "is_deleted") +VALUES ('1164733121140551682', '1123598815738675217', 'form', '表单设计', 'form', 'https://form.avuejs.com/', 'iconfont iconicon_compile', 3, 1, 0, 2, '', 0); +INSERT INTO "blade_menu"("id", "parent_id", "code", "name", "alias", "path", "source", "sort", "category", "action", "is_open", "remark", "is_deleted") +VALUES ('1164733349637844993', '1123598815738675217', 'crud', '表格设计', 'crud', 'https://crud.avuejs.com/', 'iconfont iconicon_work', 4, 1, 0, 2, '', 0); + +-- ---------------------------- +-- 插入数据源角色权限数据 +-- ---------------------------- +INSERT INTO "blade_role_menu"("id","menu_id","role_id") +VALUES ('1161272593873322996', '1164733121140551682', '1123598816738675201'); +INSERT INTO "blade_role_menu"("id","menu_id","role_id") +VALUES ('1161272593873322997', '1164733349637844993', '1123598816738675201');