Commit ce80c6f9d84a0c4a55f73e11fd7dc89cfa4cf3b8
Committed by
Gitee
!453 代码生成时,增加 UI 类型的选择,可生成 Vue2、Vue3 多种管理后台的代码,支持 CRUD Schema 模式
Merge pull request !453 from 芋道源码/feature/codegen-front
Showing
93 changed files
with
1355 additions
and
723 deletions
sql/mysql/ruoyi-vue-pro.sql
| ... | ... | @@ -11,7 +11,7 @@ |
| 11 | 11 | Target Server Version : 80026 |
| 12 | 12 | File Encoding : 65001 |
| 13 | 13 | |
| 14 | - Date: 10/02/2023 20:54:35 | |
| 14 | + Date: 13/04/2023 07:52:48 | |
| 15 | 15 | */ |
| 16 | 16 | |
| 17 | 17 | SET NAMES utf8mb4; |
| ... | ... | @@ -185,7 +185,7 @@ CREATE TABLE `QRTZ_SCHEDULER_STATE` ( |
| 185 | 185 | -- Records of QRTZ_SCHEDULER_STATE |
| 186 | 186 | -- ---------------------------- |
| 187 | 187 | BEGIN; |
| 188 | -INSERT INTO `QRTZ_SCHEDULER_STATE` (`SCHED_NAME`, `INSTANCE_NAME`, `LAST_CHECKIN_TIME`, `CHECKIN_INTERVAL`) VALUES ('schedulerName', 'Yunai.local1672315990077', 1672316007352, 15000); | |
| 188 | +INSERT INTO `QRTZ_SCHEDULER_STATE` (`SCHED_NAME`, `INSTANCE_NAME`, `LAST_CHECKIN_TIME`, `CHECKIN_INTERVAL`) VALUES ('schedulerName', 'Yunai1677076619095', 1677076631456, 15000); | |
| 189 | 189 | COMMIT; |
| 190 | 190 | |
| 191 | 191 | -- ---------------------------- |
| ... | ... | @@ -279,7 +279,7 @@ CREATE TABLE `QRTZ_TRIGGERS` ( |
| 279 | 279 | -- Records of QRTZ_TRIGGERS |
| 280 | 280 | -- ---------------------------- |
| 281 | 281 | BEGIN; |
| 282 | -INSERT INTO `QRTZ_TRIGGERS` (`SCHED_NAME`, `TRIGGER_NAME`, `TRIGGER_GROUP`, `JOB_NAME`, `JOB_GROUP`, `DESCRIPTION`, `NEXT_FIRE_TIME`, `PREV_FIRE_TIME`, `PRIORITY`, `TRIGGER_STATE`, `TRIGGER_TYPE`, `START_TIME`, `END_TIME`, `CALENDAR_NAME`, `MISFIRE_INSTR`, `JOB_DATA`) VALUES ('schedulerName', 'payNotifyJob', 'DEFAULT', 'payNotifyJob', 'DEFAULT', NULL, 1672316013000, 1672316012000, 5, 'WAITING', 'CRON', 1635294882000, 0, NULL, 0, 0xACED0005737200156F72672E71756172747A2E4A6F62446174614D61709FB083E8BFA9B0CB020000787200266F72672E71756172747A2E7574696C732E537472696E674B65794469727479466C61674D61708208E8C3FBC55D280200015A0013616C6C6F77735472616E7369656E74446174617872001D6F72672E71756172747A2E7574696C732E4469727479466C61674D617013E62EAD28760ACE0200025A000564697274794C00036D617074000F4C6A6176612F7574696C2F4D61703B787001737200116A6176612E7574696C2E486173684D61700507DAC1C31660D103000246000A6C6F6164466163746F724900097468726573686F6C6478703F4000000000000C770800000010000000037400114A4F425F48414E444C45525F504152414D707400124A4F425F52455452595F494E54455256414C737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000074000F4A4F425F52455452595F434F554E5471007E000B7800); | |
| 282 | +INSERT INTO `QRTZ_TRIGGERS` (`SCHED_NAME`, `TRIGGER_NAME`, `TRIGGER_GROUP`, `JOB_NAME`, `JOB_GROUP`, `DESCRIPTION`, `NEXT_FIRE_TIME`, `PREV_FIRE_TIME`, `PRIORITY`, `TRIGGER_STATE`, `TRIGGER_TYPE`, `START_TIME`, `END_TIME`, `CALENDAR_NAME`, `MISFIRE_INSTR`, `JOB_DATA`) VALUES ('schedulerName', 'payNotifyJob', 'DEFAULT', 'payNotifyJob', 'DEFAULT', NULL, 1677076638000, 1677076637000, 5, 'WAITING', 'CRON', 1635294882000, 0, NULL, 0, 0xACED0005737200156F72672E71756172747A2E4A6F62446174614D61709FB083E8BFA9B0CB020000787200266F72672E71756172747A2E7574696C732E537472696E674B65794469727479466C61674D61708208E8C3FBC55D280200015A0013616C6C6F77735472616E7369656E74446174617872001D6F72672E71756172747A2E7574696C732E4469727479466C61674D617013E62EAD28760ACE0200025A000564697274794C00036D617074000F4C6A6176612F7574696C2F4D61703B787001737200116A6176612E7574696C2E486173684D61700507DAC1C31660D103000246000A6C6F6164466163746F724900097468726573686F6C6478703F4000000000000C770800000010000000037400114A4F425F48414E444C45525F504152414D707400124A4F425F52455452595F494E54455256414C737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000074000F4A4F425F52455452595F434F554E5471007E000B7800); | |
| 283 | 283 | COMMIT; |
| 284 | 284 | |
| 285 | 285 | -- ---------------------------- |
| ... | ... | @@ -415,7 +415,7 @@ CREATE TABLE `bpm_task_assign_rule` ( |
| 415 | 415 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', |
| 416 | 416 | `tenant_id` bigint NOT NULL DEFAULT 0 COMMENT '租户编号', |
| 417 | 417 | PRIMARY KEY (`id`) USING BTREE |
| 418 | -) ENGINE = InnoDB AUTO_INCREMENT = 276 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = 'Bpm 任务规则表'; | |
| 418 | +) ENGINE = InnoDB AUTO_INCREMENT = 275 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = 'Bpm 任务规则表'; | |
| 419 | 419 | |
| 420 | 420 | -- ---------------------------- |
| 421 | 421 | -- Records of bpm_task_assign_rule |
| ... | ... | @@ -546,7 +546,7 @@ CREATE TABLE `infra_api_error_log` ( |
| 546 | 546 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', |
| 547 | 547 | `tenant_id` bigint NOT NULL DEFAULT 0 COMMENT '租户编号', |
| 548 | 548 | PRIMARY KEY (`id`) USING BTREE |
| 549 | -) ENGINE = InnoDB AUTO_INCREMENT = 1007 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '系统异常日志'; | |
| 549 | +) ENGINE = InnoDB AUTO_INCREMENT = 1110 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '系统异常日志'; | |
| 550 | 550 | |
| 551 | 551 | -- ---------------------------- |
| 552 | 552 | -- Records of infra_api_error_log |
| ... | ... | @@ -584,7 +584,7 @@ CREATE TABLE `infra_codegen_column` ( |
| 584 | 584 | `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', |
| 585 | 585 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', |
| 586 | 586 | PRIMARY KEY (`id`) USING BTREE |
| 587 | -) ENGINE = InnoDB AUTO_INCREMENT = 1624 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '代码生成表字段定义'; | |
| 587 | +) ENGINE = InnoDB AUTO_INCREMENT = 1688 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '代码生成表字段定义'; | |
| 588 | 588 | |
| 589 | 589 | -- ---------------------------- |
| 590 | 590 | -- Records of infra_codegen_column |
| ... | ... | @@ -609,6 +609,7 @@ CREATE TABLE `infra_codegen_table` ( |
| 609 | 609 | `class_comment` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '类描述', |
| 610 | 610 | `author` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '作者', |
| 611 | 611 | `template_type` tinyint NOT NULL DEFAULT 1 COMMENT '模板类型', |
| 612 | + `front_type` tinyint NOT NULL COMMENT '前端类型', | |
| 612 | 613 | `parent_menu_id` bigint NULL DEFAULT NULL COMMENT '父菜单编号', |
| 613 | 614 | `creator` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '创建者', |
| 614 | 615 | `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间', |
| ... | ... | @@ -616,7 +617,7 @@ CREATE TABLE `infra_codegen_table` ( |
| 616 | 617 | `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', |
| 617 | 618 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', |
| 618 | 619 | PRIMARY KEY (`id`) USING BTREE |
| 619 | -) ENGINE = InnoDB AUTO_INCREMENT = 125 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '代码生成表定义'; | |
| 620 | +) ENGINE = InnoDB AUTO_INCREMENT = 130 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '代码生成表定义'; | |
| 620 | 621 | |
| 621 | 622 | -- ---------------------------- |
| 622 | 623 | -- Records of infra_codegen_table |
| ... | ... | @@ -643,18 +644,17 @@ CREATE TABLE `infra_config` ( |
| 643 | 644 | `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', |
| 644 | 645 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', |
| 645 | 646 | PRIMARY KEY (`id`) USING BTREE |
| 646 | -) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '参数配置表'; | |
| 647 | +) ENGINE = InnoDB AUTO_INCREMENT = 11 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '参数配置表'; | |
| 647 | 648 | |
| 648 | 649 | -- ---------------------------- |
| 649 | 650 | -- Records of infra_config |
| 650 | 651 | -- ---------------------------- |
| 651 | 652 | BEGIN; |
| 652 | -INSERT INTO `infra_config` (`id`, `category`, `type`, `name`, `config_key`, `value`, `visible`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1, 'ui', 1, '主框架页-默认皮肤样式名称', 'sys.index.skinName', 'skin-blue', b'0', '蓝色 skin-blue、绿色 skin-green、紫色 skin-purple、红色 skin-red、黄色 skin-yellow', 'admin', '2021-01-05 17:03:48', '1', '2022-03-26 23:10:31', b'0'); | |
| 653 | 653 | INSERT INTO `infra_config` (`id`, `category`, `type`, `name`, `config_key`, `value`, `visible`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2, 'biz', 1, '用户管理-账号初始密码', 'sys.user.init-password', '123456', b'0', '初始化密码 123456', 'admin', '2021-01-05 17:03:48', '1', '2022-03-20 02:25:51', b'0'); |
| 654 | -INSERT INTO `infra_config` (`id`, `category`, `type`, `name`, `config_key`, `value`, `visible`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (3, 'ui', 1, '主框架页-侧边栏主题', 'sys.index.sideTheme', 'theme-dark', b'0', '深色主题theme-dark,浅色主题theme-light', 'admin', '2021-01-05 17:03:48', '', '2021-01-19 03:05:21', b'0'); | |
| 655 | -INSERT INTO `infra_config` (`id`, `category`, `type`, `name`, `config_key`, `value`, `visible`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (4, '1', 2, 'xxx', 'demo.test', '10', b'0', '5', '', '2021-01-19 03:10:26', '', '2021-01-20 09:25:55', b'0'); | |
| 656 | -INSERT INTO `infra_config` (`id`, `category`, `type`, `name`, `config_key`, `value`, `visible`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (5, 'xxx', 2, 'xxx', 'xxx', 'xxx', b'1', 'xxx', '', '2021-02-09 20:06:47', '', '2021-02-09 20:06:47', b'0'); | |
| 657 | -INSERT INTO `infra_config` (`id`, `category`, `type`, `name`, `config_key`, `value`, `visible`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (6, 'biz', 2, '登陆验证码的开关', 'yudao.captcha.enable', 'false', b'1', NULL, '1', '2022-02-17 00:03:11', '1', '2022-09-04 04:23:35', b'0'); | |
| 654 | +INSERT INTO `infra_config` (`id`, `category`, `type`, `name`, `config_key`, `value`, `visible`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (7, 'url', 2, 'MySQL 监控的地址', 'url.druid', '', b'1', '', '1', '2023-04-07 13:41:16', '1', '2023-04-07 14:33:38', b'0'); | |
| 655 | +INSERT INTO `infra_config` (`id`, `category`, `type`, `name`, `config_key`, `value`, `visible`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (8, 'url', 2, 'SkyWalking 监控的地址', 'url.skywalking', '', b'1', '', '1', '2023-04-07 13:41:16', '1', '2023-04-07 14:57:03', b'0'); | |
| 656 | +INSERT INTO `infra_config` (`id`, `category`, `type`, `name`, `config_key`, `value`, `visible`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (9, 'url', 2, 'Spring Boot Admin 监控的地址', 'url.spring-boot-admin', '', b'1', '', '1', '2023-04-07 13:41:16', '1', '2023-04-07 14:52:07', b'0'); | |
| 657 | +INSERT INTO `infra_config` (`id`, `category`, `type`, `name`, `config_key`, `value`, `visible`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (10, 'url', 2, 'Swagger 接口文档的地址', 'url.swagger', '', b'1', '', '1', '2023-04-07 13:41:16', '1', '2023-04-07 14:59:00', b'0'); | |
| 658 | 658 | COMMIT; |
| 659 | 659 | |
| 660 | 660 | -- ---------------------------- |
| ... | ... | @@ -673,7 +673,7 @@ CREATE TABLE `infra_data_source_config` ( |
| 673 | 673 | `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', |
| 674 | 674 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', |
| 675 | 675 | PRIMARY KEY (`id`) USING BTREE |
| 676 | -) ENGINE = InnoDB AUTO_INCREMENT = 12 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '数据源配置表'; | |
| 676 | +) ENGINE = InnoDB AUTO_INCREMENT = 13 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '数据源配置表'; | |
| 677 | 677 | |
| 678 | 678 | -- ---------------------------- |
| 679 | 679 | -- Records of infra_data_source_config |
| ... | ... | @@ -699,7 +699,7 @@ CREATE TABLE `infra_file` ( |
| 699 | 699 | `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', |
| 700 | 700 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', |
| 701 | 701 | PRIMARY KEY (`id`) USING BTREE |
| 702 | -) ENGINE = InnoDB AUTO_INCREMENT = 910 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '文件表'; | |
| 702 | +) ENGINE = InnoDB AUTO_INCREMENT = 912 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '文件表'; | |
| 703 | 703 | |
| 704 | 704 | -- ---------------------------- |
| 705 | 705 | -- Records of infra_file |
| ... | ... | @@ -730,12 +730,12 @@ CREATE TABLE `infra_file_config` ( |
| 730 | 730 | -- Records of infra_file_config |
| 731 | 731 | -- ---------------------------- |
| 732 | 732 | BEGIN; |
| 733 | -INSERT INTO `infra_file_config` (`id`, `name`, `storage`, `remark`, `master`, `config`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (4, '数据库', 1, '我是数据库', b'0', '{\"@class\":\"cn.iocoder.yudao.framework.file.core.client.db.DBFileClientConfig\",\"domain\":\"http://127.0.0.1:48080\"}', '1', '2022-03-15 23:56:24', '1', '2022-03-26 21:39:26', b'0'); | |
| 734 | -INSERT INTO `infra_file_config` (`id`, `name`, `storage`, `remark`, `master`, `config`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (5, '本地磁盘', 10, '测试下本地存储', b'0', '{\"@class\":\"cn.iocoder.yudao.framework.file.core.client.local.LocalFileClientConfig\",\"basePath\":\"/Users/yunai/file_test\",\"domain\":\"http://127.0.0.1:48080\"}', '1', '2022-03-15 23:57:00', '1', '2022-03-26 21:39:26', b'0'); | |
| 735 | -INSERT INTO `infra_file_config` (`id`, `name`, `storage`, `remark`, `master`, `config`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (11, 'S3 - 七牛云', 20, NULL, b'1', '{\"@class\":\"cn.iocoder.yudao.framework.file.core.client.s3.S3FileClientConfig\",\"endpoint\":\"s3-cn-south-1.qiniucs.com\",\"domain\":\"http://test.yudao.iocoder.cn\",\"bucket\":\"ruoyi-vue-pro\",\"accessKey\":\"b7yvuhBSAGjmtPhMFcn9iMOxUOY_I06cA_p0ZUx8\",\"accessSecret\":\"kXM1l5ia1RvSX3QaOEcwI3RLz3Y2rmNszWonKZtP\"}', '1', '2022-03-19 18:00:03', '1', '2022-03-26 21:39:26', b'0'); | |
| 736 | -INSERT INTO `infra_file_config` (`id`, `name`, `storage`, `remark`, `master`, `config`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (15, 'S3 - 七牛云', 20, '', b'0', '{\"@class\":\"cn.iocoder.yudao.framework.file.core.client.s3.S3FileClientConfig\",\"endpoint\":\"s3-cn-south-1.qiniucs.com\",\"domain\":\"http://test.yudao.iocoder.cn\",\"bucket\":\"ruoyi-vue-pro\",\"accessKey\":\"b7yvuhBSAGjmtPhMFcn9iMOxUOY_I06cA_p0ZUx8\",\"accessSecret\":\"kXM1l5ia1RvSX3QaOEcwI3RLz3Y2rmNszWonKZtP\"}', '1', '2022-06-10 20:50:41', '1', '2022-06-10 20:50:41', b'0'); | |
| 737 | -INSERT INTO `infra_file_config` (`id`, `name`, `storage`, `remark`, `master`, `config`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (16, 'S3 - 七牛云', 20, '', b'0', '{\"@class\":\"cn.iocoder.yudao.framework.file.core.client.s3.S3FileClientConfig\",\"endpoint\":\"s3-cn-south-1.qiniucs.com\",\"domain\":\"http://test.yudao.iocoder.cn\",\"bucket\":\"ruoyi-vue-pro\",\"accessKey\":\"b7yvuhBSAGjmtPhMFcn9iMOxUOY_I06cA_p0ZUx8\",\"accessSecret\":\"kXM1l5ia1RvSX3QaOEcwI3RLz3Y2rmNszWonKZtP\"}', '1', '2022-06-11 20:32:08', '1', '2022-06-11 20:32:08', b'0'); | |
| 738 | -INSERT INTO `infra_file_config` (`id`, `name`, `storage`, `remark`, `master`, `config`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (17, 'S3 - 七牛云', 20, '', b'0', '{\"@class\":\"cn.iocoder.yudao.framework.file.core.client.s3.S3FileClientConfig\",\"endpoint\":\"s3-cn-south-1.qiniucs.com\",\"domain\":\"http://test.yudao.iocoder.cn\",\"bucket\":\"ruoyi-vue-pro\",\"accessKey\":\"b7yvuhBSAGjmtPhMFcn9iMOxUOY_I06cA_p0ZUx8\",\"accessSecret\":\"kXM1l5ia1RvSX3QaOEcwI3RLz3Y2rmNszWonKZtP\"}', '1', '2022-06-11 20:32:47', '1', '2022-06-21 08:14:54', b'0'); | |
| 733 | +INSERT INTO `infra_file_config` (`id`, `name`, `storage`, `remark`, `master`, `config`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (4, '数据库', 1, '我是数据库', b'1', '{\"@class\":\"cn.iocoder.yudao.framework.file.core.client.db.DBFileClientConfig\",\"domain\":\"http://127.0.0.1:48080\"}', '1', '2022-03-15 23:56:24', '1', '2023-04-08 09:44:47', b'0'); | |
| 734 | +INSERT INTO `infra_file_config` (`id`, `name`, `storage`, `remark`, `master`, `config`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (5, '本地磁盘', 10, '测试下本地存储', b'0', '{\"@class\":\"cn.iocoder.yudao.framework.file.core.client.local.LocalFileClientConfig\",\"basePath\":\"/Users/yunai/file_test\",\"domain\":\"http://127.0.0.1:48080\"}', '1', '2022-03-15 23:57:00', '1', '2023-04-08 09:44:47', b'0'); | |
| 735 | +INSERT INTO `infra_file_config` (`id`, `name`, `storage`, `remark`, `master`, `config`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (11, 'S3 - 七牛云', 20, NULL, b'0', '{\"@class\":\"cn.iocoder.yudao.framework.file.core.client.s3.S3FileClientConfig\",\"endpoint\":\"s3-cn-south-1.qiniucs.com\",\"domain\":\"http://test.yudao.iocoder.cn\",\"bucket\":\"ruoyi-vue-pro\",\"accessKey\":\"b7yvuhBSAGjmtPhMFcn9iMOxUOY_I06cA_p0ZUx8\",\"accessSecret\":\"kXM1l5ia1RvSX3QaOEcwI3RLz3Y2rmNszWonKZtP\"}', '1', '2022-03-19 18:00:03', '1', '2023-04-08 09:44:47', b'0'); | |
| 736 | +INSERT INTO `infra_file_config` (`id`, `name`, `storage`, `remark`, `master`, `config`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (15, 'S3 - 七牛云', 20, '', b'0', '{\"@class\":\"cn.iocoder.yudao.framework.file.core.client.s3.S3FileClientConfig\",\"endpoint\":\"s3-cn-south-1.qiniucs.com\",\"domain\":\"http://test.yudao.iocoder.cn\",\"bucket\":\"ruoyi-vue-pro\",\"accessKey\":\"b7yvuhBSAGjmtPhMFcn9iMOxUOY_I06cA_p0ZUx8\",\"accessSecret\":\"kXM1l5ia1RvSX3QaOEcwI3RLz3Y2rmNszWonKZtP\"}', '1', '2022-06-10 20:50:41', '1', '2023-04-08 09:44:47', b'0'); | |
| 737 | +INSERT INTO `infra_file_config` (`id`, `name`, `storage`, `remark`, `master`, `config`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (16, 'S3 - 七牛云', 20, '', b'0', '{\"@class\":\"cn.iocoder.yudao.framework.file.core.client.s3.S3FileClientConfig\",\"endpoint\":\"s3-cn-south-1.qiniucs.com\",\"domain\":\"http://test.yudao.iocoder.cn\",\"bucket\":\"ruoyi-vue-pro\",\"accessKey\":\"b7yvuhBSAGjmtPhMFcn9iMOxUOY_I06cA_p0ZUx8\",\"accessSecret\":\"kXM1l5ia1RvSX3QaOEcwI3RLz3Y2rmNszWonKZtP\"}', '1', '2022-06-11 20:32:08', '1', '2023-04-08 09:44:47', b'0'); | |
| 738 | +INSERT INTO `infra_file_config` (`id`, `name`, `storage`, `remark`, `master`, `config`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (17, 'S3 - 七牛云', 20, '', b'0', '{\"@class\":\"cn.iocoder.yudao.framework.file.core.client.s3.S3FileClientConfig\",\"endpoint\":\"s3-cn-south-1.qiniucs.com\",\"domain\":\"http://test.yudao.iocoder.cn\",\"bucket\":\"ruoyi-vue-pro\",\"accessKey\":\"b7yvuhBSAGjmtPhMFcn9iMOxUOY_I06cA_p0ZUx8\",\"accessSecret\":\"kXM1l5ia1RvSX3QaOEcwI3RLz3Y2rmNszWonKZtP\"}', '1', '2022-06-11 20:32:47', '1', '2023-04-08 09:44:47', b'0'); | |
| 739 | 739 | COMMIT; |
| 740 | 740 | |
| 741 | 741 | -- ---------------------------- |
| ... | ... | @@ -753,7 +753,7 @@ CREATE TABLE `infra_file_content` ( |
| 753 | 753 | `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', |
| 754 | 754 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', |
| 755 | 755 | PRIMARY KEY (`id`) USING BTREE |
| 756 | -) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '文件表'; | |
| 756 | +) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '文件表'; | |
| 757 | 757 | |
| 758 | 758 | -- ---------------------------- |
| 759 | 759 | -- Records of infra_file_content |
| ... | ... | @@ -812,7 +812,7 @@ CREATE TABLE `infra_job_log` ( |
| 812 | 812 | `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', |
| 813 | 813 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', |
| 814 | 814 | PRIMARY KEY (`id`) USING BTREE |
| 815 | -) ENGINE = InnoDB AUTO_INCREMENT = 60489 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '定时任务日志表'; | |
| 815 | +) ENGINE = InnoDB AUTO_INCREMENT = 168767 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '定时任务日志表'; | |
| 816 | 816 | |
| 817 | 817 | -- ---------------------------- |
| 818 | 818 | -- Records of infra_job_log |
| ... | ... | @@ -867,7 +867,7 @@ CREATE TABLE `member_user` ( |
| 867 | 867 | `tenant_id` bigint NOT NULL DEFAULT 0 COMMENT '租户编号', |
| 868 | 868 | PRIMARY KEY (`id`) USING BTREE, |
| 869 | 869 | UNIQUE INDEX `uk_mobile`(`mobile` ASC) USING BTREE COMMENT '手机号' |
| 870 | -) ENGINE = InnoDB AUTO_INCREMENT = 248 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '用户'; | |
| 870 | +) ENGINE = InnoDB AUTO_INCREMENT = 247 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '用户'; | |
| 871 | 871 | |
| 872 | 872 | -- ---------------------------- |
| 873 | 873 | -- Records of member_user |
| ... | ... | @@ -922,7 +922,7 @@ CREATE TABLE `pay_channel` ( |
| 922 | 922 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', |
| 923 | 923 | `tenant_id` bigint NOT NULL DEFAULT 0 COMMENT '租户编号', |
| 924 | 924 | PRIMARY KEY (`id`) USING BTREE |
| 925 | -) ENGINE = InnoDB AUTO_INCREMENT = 18 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '支付渠道\n'; | |
| 925 | +) ENGINE = InnoDB AUTO_INCREMENT = 22 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '支付渠道\n'; | |
| 926 | 926 | |
| 927 | 927 | -- ---------------------------- |
| 928 | 928 | -- Records of pay_channel |
| ... | ... | @@ -931,6 +931,38 @@ BEGIN; |
| 931 | 931 | COMMIT; |
| 932 | 932 | |
| 933 | 933 | -- ---------------------------- |
| 934 | +-- Table structure for pay_demo_order | |
| 935 | +-- ---------------------------- | |
| 936 | +DROP TABLE IF EXISTS `pay_demo_order`; | |
| 937 | +CREATE TABLE `pay_demo_order` ( | |
| 938 | + `id` bigint NOT NULL AUTO_INCREMENT COMMENT '订单编号', | |
| 939 | + `user_id` bigint UNSIGNED NOT NULL COMMENT '用户编号', | |
| 940 | + `spu_id` bigint NOT NULL COMMENT '商品编号', | |
| 941 | + `spu_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '商品名字', | |
| 942 | + `price` int NOT NULL COMMENT '价格,单位:分', | |
| 943 | + `payed` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否已支付:[0:未支付 1:已经支付过]', | |
| 944 | + `pay_order_id` bigint NULL DEFAULT NULL COMMENT '支付订单编号', | |
| 945 | + `pay_channel_code` varchar(16) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '支付成功的支付渠道', | |
| 946 | + `pay_time` datetime NULL DEFAULT NULL COMMENT '订单支付时间', | |
| 947 | + `pay_refund_id` bigint NULL DEFAULT NULL COMMENT '退款订单编号', | |
| 948 | + `refund_price` int NOT NULL DEFAULT 0 COMMENT '退款金额,单位:分', | |
| 949 | + `refund_time` datetime NULL DEFAULT NULL COMMENT '退款时间', | |
| 950 | + `creator` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT '' COMMENT '创建者', | |
| 951 | + `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间', | |
| 952 | + `updater` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT '' COMMENT '更新者', | |
| 953 | + `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', | |
| 954 | + `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', | |
| 955 | + `tenant_id` bigint NOT NULL DEFAULT 0 COMMENT '租户编号', | |
| 956 | + PRIMARY KEY (`id`) USING BTREE | |
| 957 | +) ENGINE = InnoDB AUTO_INCREMENT = 72 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '示例订单\n'; | |
| 958 | + | |
| 959 | +-- ---------------------------- | |
| 960 | +-- Records of pay_demo_order | |
| 961 | +-- ---------------------------- | |
| 962 | +BEGIN; | |
| 963 | +COMMIT; | |
| 964 | + | |
| 965 | +-- ---------------------------- | |
| 934 | 966 | -- Table structure for pay_merchant |
| 935 | 967 | -- ---------------------------- |
| 936 | 968 | DROP TABLE IF EXISTS `pay_merchant`; |
| ... | ... | @@ -973,7 +1005,7 @@ CREATE TABLE `pay_notify_log` ( |
| 973 | 1005 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', |
| 974 | 1006 | `tenant_id` bigint NOT NULL DEFAULT 0 COMMENT '租户编号', |
| 975 | 1007 | PRIMARY KEY (`id`) USING BTREE |
| 976 | -) ENGINE = InnoDB AUTO_INCREMENT = 363051 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '支付通知 App 的日志'; | |
| 1008 | +) ENGINE = InnoDB AUTO_INCREMENT = 371964 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '支付通知 App 的日志'; | |
| 977 | 1009 | |
| 978 | 1010 | -- ---------------------------- |
| 979 | 1011 | -- Records of pay_notify_log |
| ... | ... | @@ -1005,7 +1037,7 @@ CREATE TABLE `pay_notify_task` ( |
| 1005 | 1037 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', |
| 1006 | 1038 | `tenant_id` bigint NOT NULL DEFAULT 0 COMMENT '租户编号', |
| 1007 | 1039 | PRIMARY KEY (`id`) USING BTREE |
| 1008 | -) ENGINE = InnoDB AUTO_INCREMENT = 112 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '商户支付、退款等的通知\n'; | |
| 1040 | +) ENGINE = InnoDB AUTO_INCREMENT = 151 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '商户支付、退款等的通知\n'; | |
| 1009 | 1041 | |
| 1010 | 1042 | -- ---------------------------- |
| 1011 | 1043 | -- Records of pay_notify_task |
| ... | ... | @@ -1049,7 +1081,7 @@ CREATE TABLE `pay_order` ( |
| 1049 | 1081 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', |
| 1050 | 1082 | `tenant_id` bigint NOT NULL DEFAULT 0 COMMENT '租户编号', |
| 1051 | 1083 | PRIMARY KEY (`id`) USING BTREE |
| 1052 | -) ENGINE = InnoDB AUTO_INCREMENT = 125 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '支付订单\n'; | |
| 1084 | +) ENGINE = InnoDB AUTO_INCREMENT = 171 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '支付订单\n'; | |
| 1053 | 1085 | |
| 1054 | 1086 | -- ---------------------------- |
| 1055 | 1087 | -- Records of pay_order |
| ... | ... | @@ -1070,7 +1102,7 @@ CREATE TABLE `pay_order_extension` ( |
| 1070 | 1102 | `user_ip` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '用户 IP', |
| 1071 | 1103 | `status` tinyint NOT NULL COMMENT '支付状态', |
| 1072 | 1104 | `channel_extras` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '支付渠道的额外参数', |
| 1073 | - `channel_notify_data` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '支付渠道异步通知的内容', | |
| 1105 | + `channel_notify_data` varchar(4096) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '支付渠道异步通知的内容', | |
| 1074 | 1106 | `creator` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '创建者', |
| 1075 | 1107 | `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间', |
| 1076 | 1108 | `updater` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '更新者', |
| ... | ... | @@ -1078,7 +1110,7 @@ CREATE TABLE `pay_order_extension` ( |
| 1078 | 1110 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', |
| 1079 | 1111 | `tenant_id` bigint NOT NULL DEFAULT 0 COMMENT '租户编号', |
| 1080 | 1112 | PRIMARY KEY (`id`) USING BTREE |
| 1081 | -) ENGINE = InnoDB AUTO_INCREMENT = 124 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '支付订单\n'; | |
| 1113 | +) ENGINE = InnoDB AUTO_INCREMENT = 383 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '支付订单\n'; | |
| 1082 | 1114 | |
| 1083 | 1115 | -- ---------------------------- |
| 1084 | 1116 | -- Records of pay_order_extension |
| ... | ... | @@ -1123,7 +1155,7 @@ CREATE TABLE `pay_refund` ( |
| 1123 | 1155 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', |
| 1124 | 1156 | `tenant_id` bigint NOT NULL DEFAULT 0 COMMENT '租户编号', |
| 1125 | 1157 | PRIMARY KEY (`id`) USING BTREE |
| 1126 | -) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '退款订单'; | |
| 1158 | +) ENGINE = InnoDB AUTO_INCREMENT = 26 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '退款订单'; | |
| 1127 | 1159 | |
| 1128 | 1160 | -- ---------------------------- |
| 1129 | 1161 | -- Records of pay_refund |
| ... | ... | @@ -1191,7 +1223,7 @@ CREATE TABLE `system_dict_data` ( |
| 1191 | 1223 | `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', |
| 1192 | 1224 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', |
| 1193 | 1225 | PRIMARY KEY (`id`) USING BTREE |
| 1194 | -) ENGINE = InnoDB AUTO_INCREMENT = 1229 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '字典数据表'; | |
| 1226 | +) ENGINE = InnoDB AUTO_INCREMENT = 1234 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '字典数据表'; | |
| 1195 | 1227 | |
| 1196 | 1228 | -- ---------------------------- |
| 1197 | 1229 | -- Records of system_dict_data |
| ... | ... | @@ -1397,6 +1429,11 @@ INSERT INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `st |
| 1397 | 1429 | INSERT INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1226, 30, '不发送', '30', 'system_mail_send_status', 0, 'info', '', '邮件发送状态 - 不发送', '1', '2023-01-26 09:55:06', '1', '2023-01-26 16:36:36', b'0'); |
| 1398 | 1430 | INSERT INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1227, 1, '通知公告', '1', 'system_notify_template_type', 0, 'primary', '', '站内信模版的类型 - 通知公告', '1', '2023-01-28 10:35:59', '1', '2023-01-28 10:35:59', b'0'); |
| 1399 | 1431 | INSERT INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1228, 2, '系统消息', '2', 'system_notify_template_type', 0, 'success', '', '站内信模版的类型 - 系统消息', '1', '2023-01-28 10:36:20', '1', '2023-01-28 10:36:25', b'0'); |
| 1432 | +INSERT INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1229, 0, '模拟支付', 'mock', 'pay_channel_code_type', 0, 'default', '', NULL, '1', '2023-02-12 21:50:22', '1', '2023-02-12 21:50:22', b'0'); | |
| 1433 | +INSERT INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1230, 8, '支付宝条码支付', 'alipay_bar', 'pay_channel_code_type', 0, 'default', '', NULL, '1', '2023-02-18 23:32:24', '1', '2023-02-18 23:32:32', b'0'); | |
| 1434 | +INSERT INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1231, 10, 'Vue2 Element UI 标准模版', '10', 'infra_codegen_front_type', 0, '', '', '', '1', '2023-04-13 00:03:55', '1', '2023-04-13 00:03:55', b'0'); | |
| 1435 | +INSERT INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1232, 20, 'Vue3 Element Plus 标准模版', '20', 'infra_codegen_front_type', 0, '', '', '', '1', '2023-04-13 00:04:08', '1', '2023-04-13 00:04:08', b'0'); | |
| 1436 | +INSERT INTO `system_dict_data` (`id`, `sort`, `label`, `value`, `dict_type`, `status`, `color_type`, `css_class`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1233, 21, 'Vue3 Element Plus Schema 模版', '21', 'infra_codegen_front_type', 0, '', '', '', '1', '2023-04-13 00:04:26', '1', '2023-04-13 00:04:26', b'0'); | |
| 1400 | 1437 | COMMIT; |
| 1401 | 1438 | |
| 1402 | 1439 | -- ---------------------------- |
| ... | ... | @@ -1417,7 +1454,7 @@ CREATE TABLE `system_dict_type` ( |
| 1417 | 1454 | `deleted_time` datetime NULL DEFAULT NULL COMMENT '删除时间', |
| 1418 | 1455 | PRIMARY KEY (`id`) USING BTREE, |
| 1419 | 1456 | UNIQUE INDEX `dict_type`(`type` ASC) USING BTREE |
| 1420 | -) ENGINE = InnoDB AUTO_INCREMENT = 168 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '字典类型表'; | |
| 1457 | +) ENGINE = InnoDB AUTO_INCREMENT = 169 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '字典类型表'; | |
| 1421 | 1458 | |
| 1422 | 1459 | -- ---------------------------- |
| 1423 | 1460 | -- Records of system_dict_type |
| ... | ... | @@ -1482,6 +1519,7 @@ INSERT INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creat |
| 1482 | 1519 | INSERT INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`) VALUES (165, '公众号的消息类型', 'mp_message_type', 0, '公众号的消息类型', '1', '2023-01-17 22:17:09', '1', '2023-01-17 22:17:09', b'0', '1970-01-01 00:00:00'); |
| 1483 | 1520 | INSERT INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`) VALUES (166, '邮件发送状态', 'system_mail_send_status', 0, '邮件发送状态', '1', '2023-01-26 09:53:13', '1', '2023-01-26 09:53:13', b'0', '1970-01-01 00:00:00'); |
| 1484 | 1521 | INSERT INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`) VALUES (167, '站内信模版的类型', 'system_notify_template_type', 0, '站内信模版的类型', '1', '2023-01-28 10:35:10', '1', '2023-01-28 10:35:10', b'0', '1970-01-01 00:00:00'); |
| 1522 | +INSERT INTO `system_dict_type` (`id`, `name`, `type`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `deleted_time`) VALUES (168, '代码生成的前端类型', 'infra_codegen_front_type', 0, '', '1', '2023-04-12 23:57:52', '1', '2023-04-12 23:57:52', b'0', '1970-01-01 00:00:00'); | |
| 1485 | 1523 | COMMIT; |
| 1486 | 1524 | |
| 1487 | 1525 | -- ---------------------------- |
| ... | ... | @@ -1501,7 +1539,7 @@ CREATE TABLE `system_error_code` ( |
| 1501 | 1539 | `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', |
| 1502 | 1540 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', |
| 1503 | 1541 | PRIMARY KEY (`id`) USING BTREE |
| 1504 | -) ENGINE = InnoDB AUTO_INCREMENT = 5833 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '错误码表'; | |
| 1542 | +) ENGINE = InnoDB AUTO_INCREMENT = 5832 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '错误码表'; | |
| 1505 | 1543 | |
| 1506 | 1544 | -- ---------------------------- |
| 1507 | 1545 | -- Records of system_error_code |
| ... | ... | @@ -1530,7 +1568,7 @@ CREATE TABLE `system_login_log` ( |
| 1530 | 1568 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', |
| 1531 | 1569 | `tenant_id` bigint NOT NULL DEFAULT 0 COMMENT '租户编号', |
| 1532 | 1570 | PRIMARY KEY (`id`) USING BTREE |
| 1533 | -) ENGINE = InnoDB AUTO_INCREMENT = 2087 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '系统访问记录'; | |
| 1571 | +) ENGINE = InnoDB AUTO_INCREMENT = 2163 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '系统访问记录'; | |
| 1534 | 1572 | |
| 1535 | 1573 | -- ---------------------------- |
| 1536 | 1574 | -- Records of system_login_log |
| ... | ... | @@ -1556,15 +1594,16 @@ CREATE TABLE `system_mail_account` ( |
| 1556 | 1594 | `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', |
| 1557 | 1595 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', |
| 1558 | 1596 | PRIMARY KEY (`id`) USING BTREE |
| 1559 | -) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '邮箱账号表'; | |
| 1597 | +) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '邮箱账号表'; | |
| 1560 | 1598 | |
| 1561 | 1599 | -- ---------------------------- |
| 1562 | 1600 | -- Records of system_mail_account |
| 1563 | 1601 | -- ---------------------------- |
| 1564 | 1602 | BEGIN; |
| 1565 | -INSERT INTO `system_mail_account` (`id`, `mail`, `username`, `password`, `host`, `port`, `ssl_enable`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1, '7684413@qq.com', '7684413@qq.com', '123457', '127.0.0.1', 8080, b'0', '1', '2023-01-25 17:39:52', '1', '2023-01-26 22:59:04', b'0'); | |
| 1566 | -INSERT INTO `system_mail_account` (`id`, `mail`, `username`, `password`, `host`, `port`, `ssl_enable`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2, 'ydym_test@163.com', 'ydym_test@163.com', 'WBZTEINMIFVRYSOE', 'smtp.163.com', 465, b'1', '1', '2023-01-26 01:26:03', '1', '2023-01-26 01:26:03', b'0'); | |
| 1603 | +INSERT INTO `system_mail_account` (`id`, `mail`, `username`, `password`, `host`, `port`, `ssl_enable`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1, '7684413@qq.com', '7684413@qq.com', '123457', '127.0.0.1', 8080, b'0', '1', '2023-01-25 17:39:52', '1', '2023-04-12 23:04:49', b'0'); | |
| 1604 | +INSERT INTO `system_mail_account` (`id`, `mail`, `username`, `password`, `host`, `port`, `ssl_enable`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2, 'ydym_test@163.com', 'ydym_test@163.com', 'WBZTEINMIFVRYSOE', 'smtp.163.com', 465, b'1', '1', '2023-01-26 01:26:03', '1', '2023-04-12 22:39:38', b'0'); | |
| 1567 | 1605 | INSERT INTO `system_mail_account` (`id`, `mail`, `username`, `password`, `host`, `port`, `ssl_enable`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (3, '76854114@qq.com', '3335', '11234', 'yunai1.cn', 466, b'0', '1', '2023-01-27 15:06:38', '1', '2023-01-27 07:08:36', b'1'); |
| 1606 | +INSERT INTO `system_mail_account` (`id`, `mail`, `username`, `password`, `host`, `port`, `ssl_enable`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (4, '7685413x@qq.com', '2', '3', '4', 5, b'1', '1', '2023-04-12 23:05:06', '1', '2023-04-12 15:05:11', b'1'); | |
| 1568 | 1607 | COMMIT; |
| 1569 | 1608 | |
| 1570 | 1609 | -- ---------------------------- |
| ... | ... | @@ -1659,7 +1698,7 @@ CREATE TABLE `system_menu` ( |
| 1659 | 1698 | `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', |
| 1660 | 1699 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', |
| 1661 | 1700 | PRIMARY KEY (`id`) USING BTREE |
| 1662 | -) ENGINE = InnoDB AUTO_INCREMENT = 2159 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '菜单权限表'; | |
| 1701 | +) ENGINE = InnoDB AUTO_INCREMENT = 2162 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '菜单权限表'; | |
| 1663 | 1702 | |
| 1664 | 1703 | -- ---------------------------- |
| 1665 | 1704 | -- Records of system_menu |
| ... | ... | @@ -1668,25 +1707,25 @@ BEGIN; |
| 1668 | 1707 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1, '系统管理', '', 1, 10, 0, '/system', 'system', NULL, NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', b'0'); |
| 1669 | 1708 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2, '基础设施', '', 1, 20, 0, '/infra', 'monitor', NULL, NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', b'0'); |
| 1670 | 1709 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (5, 'OA 示例', '', 1, 40, 1185, 'oa', 'people', NULL, NULL, 0, b'1', b'1', b'1', 'admin', '2021-09-20 16:26:19', '1', '2022-04-20 17:03:10', b'0'); |
| 1671 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (100, '用户管理', 'system:user:list', 2, 1, 1, 'user', 'user', 'system/user/index', 'User', 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2023-02-10 13:50:21', b'0'); | |
| 1672 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (101, '角色管理', '', 2, 2, 1, 'role', 'peoples', 'system/role/index', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', b'0'); | |
| 1673 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (102, '菜单管理', '', 2, 3, 1, 'menu', 'tree-table', 'system/menu/index', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', b'0'); | |
| 1674 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (103, '部门管理', '', 2, 4, 1, 'dept', 'tree', 'system/dept/index', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', b'0'); | |
| 1675 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (104, '岗位管理', '', 2, 5, 1, 'post', 'post', 'system/post/index', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', b'0'); | |
| 1676 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (105, '字典管理', '', 2, 6, 1, 'dict', 'dict', 'system/dict/index', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', b'0'); | |
| 1677 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (106, '配置管理', '', 2, 6, 2, 'config', 'edit', 'infra/config/index', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', b'0'); | |
| 1678 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (107, '通知公告', '', 2, 8, 1, 'notice', 'message', 'system/notice/index', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', b'0'); | |
| 1710 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (100, '用户管理', 'system:user:list', 2, 1, 1, 'user', 'user', 'system/user/index', 'SystemUser', 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2023-04-08 08:31:59', b'0'); | |
| 1711 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (101, '角色管理', '', 2, 2, 1, 'role', 'peoples', 'system/role/index', 'SystemRole', 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2023-04-08 08:33:59', b'0'); | |
| 1712 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (102, '菜单管理', '', 2, 3, 1, 'menu', 'tree-table', 'system/menu/index', 'SystemMenu', 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2023-04-08 08:34:32', b'0'); | |
| 1713 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (103, '部门管理', '', 2, 4, 1, 'dept', 'tree', 'system/dept/index', 'SystemDept', 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2023-04-08 08:35:32', b'0'); | |
| 1714 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (104, '岗位管理', '', 2, 5, 1, 'post', 'post', 'system/post/index', 'SystemPost', 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2023-04-08 08:36:21', b'0'); | |
| 1715 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (105, '字典管理', '', 2, 6, 1, 'dict', 'dict', 'system/dict/index', 'SystemDictType', 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2023-04-08 08:36:45', b'0'); | |
| 1716 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (106, '配置管理', '', 2, 6, 2, 'config', 'edit', 'infra/config/index', 'InfraConfig', 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2023-04-08 10:31:17', b'0'); | |
| 1717 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (107, '通知公告', '', 2, 8, 1, 'notice', 'message', 'system/notice/index', 'SystemNotice', 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2023-04-08 08:45:06', b'0'); | |
| 1679 | 1718 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (108, '审计日志', '', 1, 9, 1, 'log', 'log', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', b'0'); |
| 1680 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (109, '令牌管理', '', 2, 2, 1261, 'token', 'online', 'system/oauth2/token/index', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2022-05-11 23:31:42', b'0'); | |
| 1681 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (110, '定时任务', '', 2, 12, 2, 'job', 'job', 'infra/job/index', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', b'0'); | |
| 1682 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (111, 'MySQL 监控', '', 2, 9, 2, 'druid', 'druid', 'infra/druid/index', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', b'0'); | |
| 1683 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (112, 'Java 监控', '', 2, 11, 2, 'admin-server', 'server', 'infra/server/index', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', b'0'); | |
| 1684 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (113, 'Redis 监控', '', 2, 10, 2, 'redis', 'redis', 'infra/redis/index', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', b'0'); | |
| 1685 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (114, '表单构建', 'infra:build:list', 2, 2, 2, 'build', 'build', 'infra/build/index', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', b'0'); | |
| 1686 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (115, '代码生成', 'infra:codegen:query', 2, 1, 2, 'codegen', 'code', 'infra/codegen/index', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', b'0'); | |
| 1687 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (116, '系统接口', 'infra:swagger:list', 2, 3, 2, 'swagger', 'swagger', 'infra/swagger/index', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', b'0'); | |
| 1688 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (500, '操作日志', '', 2, 1, 108, 'operate-log', 'form', 'system/operatelog/index', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', b'0'); | |
| 1689 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (501, '登录日志', '', 2, 2, 108, 'login-log', 'logininfor', 'system/loginlog/index', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', b'0'); | |
| 1719 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (109, '令牌管理', '', 2, 2, 1261, 'token', 'online', 'system/oauth2/token/index', 'SystemTokenClient', 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2023-04-08 08:47:41', b'0'); | |
| 1720 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (110, '定时任务', '', 2, 12, 2, 'job', 'job', 'infra/job/index', 'InfraJob', 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2023-04-08 10:36:49', b'0'); | |
| 1721 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (111, 'MySQL 监控', '', 2, 9, 2, 'druid', 'druid', 'infra/druid/index', 'InfraDruid', 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2023-04-08 09:09:30', b'0'); | |
| 1722 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (112, 'Java 监控', '', 2, 11, 2, 'admin-server', 'server', 'infra/server/index', 'InfraAdminServer', 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2023-04-08 10:34:08', b'0'); | |
| 1723 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (113, 'Redis 监控', '', 2, 10, 2, 'redis', 'redis', 'infra/redis/index', 'InfraRedis', 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2023-04-08 10:33:30', b'0'); | |
| 1724 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (114, '表单构建', 'infra:build:list', 2, 2, 2, 'build', 'build', 'infra/build/index', 'InfraBuild', 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2023-04-08 09:06:12', b'0'); | |
| 1725 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (115, '代码生成', 'infra:codegen:query', 2, 1, 2, 'codegen', 'code', 'infra/codegen/index', 'InfraCodegen', 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2023-04-08 09:02:24', b'0'); | |
| 1726 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (116, '系统接口', 'infra:swagger:list', 2, 3, 2, 'swagger', 'swagger', 'infra/swagger/index', 'InfraSwagger', 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2023-04-08 09:11:28', b'0'); | |
| 1727 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (500, '操作日志', '', 2, 1, 108, 'operate-log', 'form', 'system/operatelog/index', 'SystemOperateLog', 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2023-04-08 08:47:00', b'0'); | |
| 1728 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (501, '登录日志', '', 2, 2, 108, 'login-log', 'logininfor', 'system/loginlog/index', 'SystemLoginLog', 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2023-04-08 08:46:18', b'0'); | |
| 1690 | 1729 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1001, '用户查询', 'system:user:query', 3, 1, 100, '', '#', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '', '2022-04-20 17:03:10', b'0'); |
| 1691 | 1730 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1002, '用户新增', 'system:user:create', 3, 2, 100, '', '', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', b'0'); |
| 1692 | 1731 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1003, '用户修改', 'system:user:update', 3, 3, 100, '', '', '', NULL, 0, b'1', b'1', b'1', 'admin', '2021-01-05 17:03:48', '1', '2022-04-20 17:03:10', b'0'); |
| ... | ... | @@ -1753,47 +1792,47 @@ INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_i |
| 1753 | 1792 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1073, '测试示例表删除', 'infra:test-demo:delete', 3, 3, 1070, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-02-06 12:42:49', '1', '2022-04-20 17:03:10', b'0'); |
| 1754 | 1793 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1074, '测试示例表导出', 'infra:test-demo:export', 3, 4, 1070, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-02-06 12:42:49', '1', '2022-04-20 17:03:10', b'0'); |
| 1755 | 1794 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1075, '任务触发', 'infra:job:trigger', 3, 8, 110, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-02-07 13:03:10', '', '2022-04-20 17:03:10', b'0'); |
| 1756 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1076, '数据库文档', '', 2, 4, 2, 'db-doc', 'table', 'infra/dbDoc/index', NULL, 0, b'1', b'1', b'1', '', '2021-02-08 01:41:47', '1', '2022-04-20 17:03:10', b'0'); | |
| 1757 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1077, '监控平台', '', 2, 13, 2, 'skywalking', 'eye-open', 'infra/skywalking/index', NULL, 0, b'1', b'1', b'1', '', '2021-02-08 20:41:31', '1', '2022-04-20 17:03:10', b'0'); | |
| 1758 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1078, '访问日志', '', 2, 1, 1083, 'api-access-log', 'log', 'infra/apiAccessLog/index', NULL, 0, b'1', b'1', b'1', '', '2021-02-26 01:32:59', '1', '2022-04-20 17:03:10', b'0'); | |
| 1795 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1076, '数据库文档', '', 2, 4, 2, 'db-doc', 'table', 'infra/dbDoc/index', 'InfraDBDoc', 0, b'1', b'1', b'1', '', '2021-02-08 01:41:47', '1', '2023-04-08 09:13:38', b'0'); | |
| 1796 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1077, '监控平台', '', 2, 13, 2, 'skywalking', 'eye-open', 'infra/skywalking/index', 'InfraSkyWalking', 0, b'1', b'1', b'1', '', '2021-02-08 20:41:31', '1', '2023-04-08 10:39:06', b'0'); | |
| 1797 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1078, '访问日志', '', 2, 1, 1083, 'api-access-log', 'log', 'infra/apiAccessLog/index', 'InfraApiAccessLog', 0, b'1', b'1', b'1', '', '2021-02-26 01:32:59', '1', '2023-04-08 10:31:34', b'0'); | |
| 1759 | 1798 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1082, '日志导出', 'infra:api-access-log:export', 3, 2, 1078, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-02-26 01:32:59', '1', '2022-04-20 17:03:10', b'0'); |
| 1760 | 1799 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1083, 'API 日志', '', 2, 8, 2, 'log', 'log', NULL, NULL, 0, b'1', b'1', b'1', '', '2021-02-26 02:18:24', '1', '2022-04-20 17:03:10', b'0'); |
| 1761 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1084, '错误日志', 'infra:api-error-log:query', 2, 2, 1083, 'api-error-log', 'log', 'infra/apiErrorLog/index', NULL, 0, b'1', b'1', b'1', '', '2021-02-26 07:53:20', '', '2022-04-20 17:03:10', b'0'); | |
| 1800 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1084, '错误日志', 'infra:api-error-log:query', 2, 2, 1083, 'api-error-log', 'log', 'infra/apiErrorLog/index', 'InfraApiErrorLog', 0, b'1', b'1', b'1', '', '2021-02-26 07:53:20', '1', '2023-04-08 10:32:25', b'0'); | |
| 1762 | 1801 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1085, '日志处理', 'infra:api-error-log:update-status', 3, 2, 1084, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-02-26 07:53:20', '1', '2022-04-20 17:03:10', b'0'); |
| 1763 | 1802 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1086, '日志导出', 'infra:api-error-log:export', 3, 3, 1084, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-02-26 07:53:20', '1', '2022-04-20 17:03:10', b'0'); |
| 1764 | 1803 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1087, '任务查询', 'infra:job:query', 3, 1, 110, '', '', '', NULL, 0, b'1', b'1', b'1', '1', '2021-03-10 01:26:19', '1', '2022-04-20 17:03:10', b'0'); |
| 1765 | 1804 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1088, '日志查询', 'infra:api-access-log:query', 3, 1, 1078, '', '', '', NULL, 0, b'1', b'1', b'1', '1', '2021-03-10 01:28:04', '1', '2022-04-20 17:03:10', b'0'); |
| 1766 | 1805 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1089, '日志查询', 'infra:api-error-log:query', 3, 1, 1084, '', '', '', NULL, 0, b'1', b'1', b'1', '1', '2021-03-10 01:29:09', '1', '2022-04-20 17:03:10', b'0'); |
| 1767 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1090, '文件列表', '', 2, 5, 1243, 'file', 'upload', 'infra/file/index', NULL, 0, b'1', b'1', b'1', '', '2021-03-12 20:16:20', '1', '2022-04-20 17:03:10', b'0'); | |
| 1806 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1090, '文件列表', '', 2, 5, 1243, 'file', 'upload', 'infra/file/index', 'InfraFile', 0, b'1', b'1', b'1', '', '2021-03-12 20:16:20', '1', '2023-04-08 09:21:31', b'0'); | |
| 1768 | 1807 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1091, '文件查询', 'infra:file:query', 3, 1, 1090, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-03-12 20:16:20', '', '2022-04-20 17:03:10', b'0'); |
| 1769 | 1808 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1092, '文件删除', 'infra:file:delete', 3, 4, 1090, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-03-12 20:16:20', '', '2022-04-20 17:03:10', b'0'); |
| 1770 | 1809 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1093, '短信管理', '', 1, 11, 1, 'sms', 'validCode', NULL, NULL, 0, b'1', b'1', b'1', '1', '2021-04-05 01:10:16', '1', '2022-04-20 17:03:10', b'0'); |
| 1771 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1094, '短信渠道', '', 2, 0, 1093, 'sms-channel', 'phone', 'system/sms/smsChannel', NULL, 0, b'1', b'1', b'1', '', '2021-04-01 11:07:15', '1', '2022-04-20 17:03:10', b'0'); | |
| 1810 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1094, '短信渠道', '', 2, 0, 1093, 'sms-channel', 'phone', 'system/sms/channel/index', 'SystemSmsChannel', 0, b'1', b'1', b'1', '', '2021-04-01 11:07:15', '1', '2023-04-08 08:50:41', b'0'); | |
| 1772 | 1811 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1095, '短信渠道查询', 'system:sms-channel:query', 3, 1, 1094, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-04-01 11:07:15', '', '2022-04-20 17:03:10', b'0'); |
| 1773 | 1812 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1096, '短信渠道创建', 'system:sms-channel:create', 3, 2, 1094, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-04-01 11:07:15', '', '2022-04-20 17:03:10', b'0'); |
| 1774 | 1813 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1097, '短信渠道更新', 'system:sms-channel:update', 3, 3, 1094, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-04-01 11:07:15', '', '2022-04-20 17:03:10', b'0'); |
| 1775 | 1814 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1098, '短信渠道删除', 'system:sms-channel:delete', 3, 4, 1094, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-04-01 11:07:15', '', '2022-04-20 17:03:10', b'0'); |
| 1776 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1100, '短信模板', '', 2, 1, 1093, 'sms-template', 'phone', 'system/sms/smsTemplate', NULL, 0, b'1', b'1', b'1', '', '2021-04-01 17:35:17', '1', '2022-04-20 17:03:10', b'0'); | |
| 1815 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1100, '短信模板', '', 2, 1, 1093, 'sms-template', 'phone', 'system/sms/template/index', 'SystemSmsTemplate', 0, b'1', b'1', b'1', '', '2021-04-01 17:35:17', '1', '2023-04-08 08:50:50', b'0'); | |
| 1777 | 1816 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1101, '短信模板查询', 'system:sms-template:query', 3, 1, 1100, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-04-01 17:35:17', '', '2022-04-20 17:03:10', b'0'); |
| 1778 | 1817 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1102, '短信模板创建', 'system:sms-template:create', 3, 2, 1100, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-04-01 17:35:17', '', '2022-04-20 17:03:10', b'0'); |
| 1779 | 1818 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1103, '短信模板更新', 'system:sms-template:update', 3, 3, 1100, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-04-01 17:35:17', '', '2022-04-20 17:03:10', b'0'); |
| 1780 | 1819 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1104, '短信模板删除', 'system:sms-template:delete', 3, 4, 1100, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-04-01 17:35:17', '', '2022-04-20 17:03:10', b'0'); |
| 1781 | 1820 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1105, '短信模板导出', 'system:sms-template:export', 3, 5, 1100, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-04-01 17:35:17', '', '2022-04-20 17:03:10', b'0'); |
| 1782 | 1821 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1106, '发送测试短信', 'system:sms-template:send-sms', 3, 6, 1100, '', '', '', NULL, 0, b'1', b'1', b'1', '1', '2021-04-11 00:26:40', '1', '2022-04-20 17:03:10', b'0'); |
| 1783 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1107, '短信日志', '', 2, 2, 1093, 'sms-log', 'phone', 'system/sms/smsLog', NULL, 0, b'1', b'1', b'1', '', '2021-04-11 08:37:05', '1', '2022-04-20 17:03:10', b'0'); | |
| 1822 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1107, '短信日志', '', 2, 2, 1093, 'sms-log', 'phone', 'system/sms/log/index', 'SystemSmsLog', 0, b'1', b'1', b'1', '', '2021-04-11 08:37:05', '1', '2023-04-08 08:50:58', b'0'); | |
| 1784 | 1823 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1108, '短信日志查询', 'system:sms-log:query', 3, 1, 1107, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-04-11 08:37:05', '', '2022-04-20 17:03:10', b'0'); |
| 1785 | 1824 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1109, '短信日志导出', 'system:sms-log:export', 3, 5, 1107, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-04-11 08:37:05', '', '2022-04-20 17:03:10', b'0'); |
| 1786 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1110, '错误码管理', '', 2, 12, 1, 'error-code', 'code', 'system/errorCode/index', NULL, 0, b'1', b'1', b'1', '', '2021-04-13 21:46:42', '1', '2022-04-20 17:03:10', b'0'); | |
| 1825 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1110, '错误码管理', '', 2, 12, 1, 'error-code', 'code', 'system/errorCode/index', 'SystemErrorCode', 0, b'1', b'1', b'1', '', '2021-04-13 21:46:42', '1', '2023-04-08 09:01:15', b'0'); | |
| 1787 | 1826 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1111, '错误码查询', 'system:error-code:query', 3, 1, 1110, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-04-13 21:46:42', '', '2022-04-20 17:03:10', b'0'); |
| 1788 | 1827 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1112, '错误码创建', 'system:error-code:create', 3, 2, 1110, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-04-13 21:46:42', '', '2022-04-20 17:03:10', b'0'); |
| 1789 | 1828 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1113, '错误码更新', 'system:error-code:update', 3, 3, 1110, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-04-13 21:46:42', '', '2022-04-20 17:03:10', b'0'); |
| 1790 | 1829 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1114, '错误码删除', 'system:error-code:delete', 3, 4, 1110, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-04-13 21:46:42', '', '2022-04-20 17:03:10', b'0'); |
| 1791 | 1830 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1115, '错误码导出', 'system:error-code:export', 3, 5, 1110, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-04-13 21:46:42', '', '2022-04-20 17:03:10', b'0'); |
| 1792 | 1831 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1117, '支付管理', '', 1, 30, 0, '/pay', 'money', NULL, NULL, 0, b'1', b'1', b'1', '1', '2021-12-25 16:43:41', '1', '2022-12-10 16:33:19', b'0'); |
| 1793 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1118, '请假查询', '', 2, 0, 5, 'leave', 'user', 'bpm/oa/leave/index', NULL, 0, b'1', b'1', b'1', '', '2021-09-20 08:51:03', '1', '2022-04-20 17:03:10', b'0'); | |
| 1832 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1118, '请假查询', '', 2, 0, 5, 'leave', 'user', 'bpm/oa/leave/index', 'BpmOALeave', 0, b'1', b'1', b'1', '', '2021-09-20 08:51:03', '1', '2023-04-08 11:30:40', b'0'); | |
| 1794 | 1833 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1119, '请假申请查询', 'bpm:oa-leave:query', 3, 1, 1118, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-09-20 08:51:03', '1', '2022-04-20 17:03:10', b'0'); |
| 1795 | 1834 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1120, '请假申请创建', 'bpm:oa-leave:create', 3, 2, 1118, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-09-20 08:51:03', '1', '2022-04-20 17:03:10', b'0'); |
| 1796 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1126, '应用信息', '', 2, 1, 1117, 'app', 'table', 'pay/app/index', NULL, 0, b'1', b'1', b'1', '', '2021-11-10 01:13:30', '1', '2022-04-20 17:03:10', b'0'); | |
| 1835 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1126, '应用信息', '', 2, 1, 1117, 'app', 'table', 'pay/app/index', 'PayMerchant', 0, b'1', b'1', b'1', '', '2021-11-10 01:13:30', '1', '2023-04-08 10:43:14', b'0'); | |
| 1797 | 1836 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1127, '支付应用信息查询', 'pay:app:query', 3, 1, 1126, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-11-10 01:13:31', '', '2022-04-20 17:03:10', b'0'); |
| 1798 | 1837 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1128, '支付应用信息创建', 'pay:app:create', 3, 2, 1126, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-11-10 01:13:31', '', '2022-04-20 17:03:10', b'0'); |
| 1799 | 1838 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1129, '支付应用信息更新', 'pay:app:update', 3, 3, 1126, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-11-10 01:13:31', '', '2022-04-20 17:03:10', b'0'); |
| ... | ... | @@ -1805,26 +1844,26 @@ INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_i |
| 1805 | 1844 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1135, '支付商户信息更新', 'pay:merchant:update', 3, 3, 1132, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-11-10 01:13:41', '', '2022-04-20 17:03:10', b'0'); |
| 1806 | 1845 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1136, '支付商户信息删除', 'pay:merchant:delete', 3, 4, 1132, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-11-10 01:13:41', '', '2022-04-20 17:03:10', b'0'); |
| 1807 | 1846 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1137, '支付商户信息导出', 'pay:merchant:export', 3, 5, 1132, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-11-10 01:13:41', '', '2022-04-20 17:03:10', b'0'); |
| 1808 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1138, '租户列表', '', 2, 0, 1224, 'list', 'peoples', 'system/tenant/index', NULL, 0, b'1', b'1', b'1', '', '2021-12-14 12:31:43', '1', '2022-04-20 17:03:10', b'0'); | |
| 1847 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1138, '租户列表', '', 2, 0, 1224, 'list', 'peoples', 'system/tenant/index', 'SystemTenant', 0, b'1', b'1', b'1', '', '2021-12-14 12:31:43', '1', '2023-04-08 08:29:08', b'0'); | |
| 1809 | 1848 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1139, '租户查询', 'system:tenant:query', 3, 1, 1138, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-12-14 12:31:44', '', '2022-04-20 17:03:10', b'0'); |
| 1810 | 1849 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1140, '租户创建', 'system:tenant:create', 3, 2, 1138, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-12-14 12:31:44', '', '2022-04-20 17:03:10', b'0'); |
| 1811 | 1850 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1141, '租户更新', 'system:tenant:update', 3, 3, 1138, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-12-14 12:31:44', '', '2022-04-20 17:03:10', b'0'); |
| 1812 | 1851 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1142, '租户删除', 'system:tenant:delete', 3, 4, 1138, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-12-14 12:31:44', '', '2022-04-20 17:03:10', b'0'); |
| 1813 | 1852 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1143, '租户导出', 'system:tenant:export', 3, 5, 1138, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-12-14 12:31:44', '', '2022-04-20 17:03:10', b'0'); |
| 1814 | 1853 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1150, '秘钥解析', '', 3, 6, 1129, '', '', '', NULL, 0, b'1', b'1', b'1', '1', '2021-11-08 15:15:47', '1', '2022-04-20 17:03:10', b'0'); |
| 1815 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1161, '退款订单', '', 2, 3, 1117, 'refund', 'order', 'pay/refund/index', NULL, 0, b'1', b'1', b'1', '', '2021-12-25 08:29:07', '1', '2022-04-20 17:03:10', b'0'); | |
| 1854 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1161, '退款订单', '', 2, 3, 1117, 'refund', 'order', 'pay/refund/index', 'PayRefund', 0, b'1', b'1', b'1', '', '2021-12-25 08:29:07', '1', '2023-04-08 10:46:02', b'0'); | |
| 1816 | 1855 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1162, '退款订单查询', 'pay:refund:query', 3, 1, 1161, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-12-25 08:29:07', '', '2022-04-20 17:03:10', b'0'); |
| 1817 | 1856 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1163, '退款订单创建', 'pay:refund:create', 3, 2, 1161, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-12-25 08:29:07', '', '2022-04-20 17:03:10', b'0'); |
| 1818 | 1857 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1164, '退款订单更新', 'pay:refund:update', 3, 3, 1161, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-12-25 08:29:07', '', '2022-04-20 17:03:10', b'0'); |
| 1819 | 1858 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1165, '退款订单删除', 'pay:refund:delete', 3, 4, 1161, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-12-25 08:29:07', '', '2022-04-20 17:03:10', b'0'); |
| 1820 | 1859 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1166, '退款订单导出', 'pay:refund:export', 3, 5, 1161, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-12-25 08:29:07', '', '2022-04-20 17:03:10', b'0'); |
| 1821 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1173, '支付订单', '', 2, 2, 1117, 'order', 'pay', 'pay/order/index', NULL, 0, b'1', b'1', b'1', '', '2021-12-25 08:49:43', '1', '2022-04-20 17:03:10', b'0'); | |
| 1860 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1173, '支付订单', '', 2, 2, 1117, 'order', 'pay', 'pay/order/index', 'PayOrder', 0, b'1', b'1', b'1', '', '2021-12-25 08:49:43', '1', '2023-04-08 10:43:37', b'0'); | |
| 1822 | 1861 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1174, '支付订单查询', 'pay:order:query', 3, 1, 1173, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-12-25 08:49:43', '', '2022-04-20 17:03:10', b'0'); |
| 1823 | 1862 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1175, '支付订单创建', 'pay:order:create', 3, 2, 1173, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-12-25 08:49:43', '', '2022-04-20 17:03:10', b'0'); |
| 1824 | 1863 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1176, '支付订单更新', 'pay:order:update', 3, 3, 1173, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-12-25 08:49:43', '', '2022-04-20 17:03:10', b'0'); |
| 1825 | 1864 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1177, '支付订单删除', 'pay:order:delete', 3, 4, 1173, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-12-25 08:49:43', '', '2022-04-20 17:03:10', b'0'); |
| 1826 | 1865 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1178, '支付订单导出', 'pay:order:export', 3, 5, 1173, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-12-25 08:49:43', '', '2022-04-20 17:03:10', b'0'); |
| 1827 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1179, '商户信息', '', 2, 0, 1117, 'merchant', 'merchant', 'pay/merchant/index', NULL, 0, b'1', b'1', b'1', '', '2021-12-25 09:01:44', '1', '2022-04-20 17:03:10', b'0'); | |
| 1866 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1179, '商户信息', '', 2, 0, 1117, 'merchant', 'merchant', 'pay/merchant/index', 'PayApp', 0, b'1', b'1', b'1', '', '2021-12-25 09:01:44', '1', '2023-04-08 10:42:32', b'0'); | |
| 1828 | 1867 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1180, '支付商户信息查询', 'pay:merchant:query', 3, 1, 1179, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-12-25 09:01:44', '', '2022-04-20 17:03:10', b'0'); |
| 1829 | 1868 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1181, '支付商户信息创建', 'pay:merchant:create', 3, 2, 1179, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-12-25 09:01:44', '', '2022-04-20 17:03:10', b'0'); |
| 1830 | 1869 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1182, '支付商户信息更新', 'pay:merchant:update', 3, 3, 1179, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-12-25 09:01:44', '', '2022-04-20 17:03:10', b'0'); |
| ... | ... | @@ -1832,13 +1871,13 @@ INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_i |
| 1832 | 1871 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1184, '支付商户信息导出', 'pay:merchant:export', 3, 5, 1179, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-12-25 09:01:44', '', '2022-04-20 17:03:10', b'0'); |
| 1833 | 1872 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1185, '工作流程', '', 1, 50, 0, '/bpm', 'tool', NULL, NULL, 0, b'1', b'1', b'1', '1', '2021-12-30 20:26:36', '103', '2022-04-20 17:03:10', b'0'); |
| 1834 | 1873 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1186, '流程管理', '', 1, 10, 1185, 'manager', 'nested', NULL, NULL, 0, b'1', b'1', b'1', '1', '2021-12-30 20:28:30', '1', '2022-04-20 17:03:10', b'0'); |
| 1835 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1187, '流程表单', '', 2, 0, 1186, 'form', 'form', 'bpm/form/index', NULL, 0, b'1', b'1', b'1', '', '2021-12-30 12:38:22', '1', '2022-04-20 17:03:10', b'0'); | |
| 1874 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1187, '流程表单', '', 2, 0, 1186, 'form', 'form', 'bpm/form/index', 'BpmForm', 0, b'1', b'1', b'1', '', '2021-12-30 12:38:22', '1', '2023-04-08 10:50:37', b'0'); | |
| 1836 | 1875 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1188, '表单查询', 'bpm:form:query', 3, 1, 1187, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-12-30 12:38:22', '1', '2022-04-20 17:03:10', b'0'); |
| 1837 | 1876 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1189, '表单创建', 'bpm:form:create', 3, 2, 1187, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-12-30 12:38:22', '1', '2022-04-20 17:03:10', b'0'); |
| 1838 | 1877 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1190, '表单更新', 'bpm:form:update', 3, 3, 1187, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-12-30 12:38:22', '1', '2022-04-20 17:03:10', b'0'); |
| 1839 | 1878 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1191, '表单删除', 'bpm:form:delete', 3, 4, 1187, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-12-30 12:38:22', '1', '2022-04-20 17:03:10', b'0'); |
| 1840 | 1879 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1192, '表单导出', 'bpm:form:export', 3, 5, 1187, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2021-12-30 12:38:22', '1', '2022-04-20 17:03:10', b'0'); |
| 1841 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1193, '流程模型', '', 2, 5, 1186, 'model', 'guide', 'bpm/model/index', NULL, 0, b'1', b'1', b'1', '1', '2021-12-31 23:24:58', '103', '2022-04-20 17:03:10', b'0'); | |
| 1880 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1193, '流程模型', '', 2, 5, 1186, 'model', 'guide', 'bpm/model/index', 'BpmModel', 0, b'1', b'1', b'1', '1', '2021-12-31 23:24:58', '1', '2023-04-08 10:53:38', b'0'); | |
| 1842 | 1881 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1194, '模型查询', 'bpm:model:query', 3, 1, 1193, '', '', '', NULL, 0, b'1', b'1', b'1', '1', '2022-01-03 19:01:10', '1', '2022-04-20 17:03:10', b'0'); |
| 1843 | 1882 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1195, '模型创建', 'bpm:model:create', 3, 2, 1193, '', '', '', NULL, 0, b'1', b'1', b'1', '1', '2022-01-03 19:01:24', '1', '2022-04-20 17:03:10', b'0'); |
| 1844 | 1883 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1196, '模型导入', 'bpm:model:import', 3, 3, 1193, '', '', '', NULL, 0, b'1', b'1', b'1', '1', '2022-01-03 19:01:35', '1', '2022-04-20 17:03:10', b'0'); |
| ... | ... | @@ -1846,11 +1885,11 @@ INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_i |
| 1846 | 1885 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1198, '模型删除', 'bpm:model:delete', 3, 5, 1193, '', '', '', NULL, 0, b'1', b'1', b'1', '1', '2022-01-03 19:02:43', '1', '2022-04-20 17:03:10', b'0'); |
| 1847 | 1886 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1199, '模型发布', 'bpm:model:deploy', 3, 6, 1193, '', '', '', NULL, 0, b'1', b'1', b'1', '1', '2022-01-03 19:03:24', '1', '2022-04-20 17:03:10', b'0'); |
| 1848 | 1887 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1200, '任务管理', '', 1, 20, 1185, 'task', 'cascader', NULL, NULL, 0, b'1', b'1', b'1', '1', '2022-01-07 23:51:48', '1', '2022-04-20 17:03:10', b'0'); |
| 1849 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1201, '我的流程', '', 2, 0, 1200, 'my', 'people', 'bpm/processInstance/index', NULL, 0, b'1', b'1', b'1', '', '2022-01-07 15:53:44', '1', '2022-04-20 17:03:10', b'0'); | |
| 1888 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1201, '我的流程', '', 2, 0, 1200, 'my', 'people', 'bpm/processInstance/index', 'BpmProcessInstance', 0, b'1', b'1', b'1', '', '2022-01-07 15:53:44', '1', '2023-04-08 11:16:55', b'0'); | |
| 1850 | 1889 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1202, '流程实例的查询', 'bpm:process-instance:query', 3, 1, 1201, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-01-07 15:53:44', '1', '2022-04-20 17:03:10', b'0'); |
| 1851 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1207, '待办任务', '', 2, 10, 1200, 'todo', 'eye-open', 'bpm/task/todo', NULL, 0, b'1', b'1', b'1', '1', '2022-01-08 10:33:37', '1', '2022-04-20 17:03:10', b'0'); | |
| 1852 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1208, '已办任务', '', 2, 20, 1200, 'done', 'eye', 'bpm/task/done', NULL, 0, b'1', b'1', b'1', '1', '2022-01-08 10:34:13', '1', '2022-04-20 17:03:10', b'0'); | |
| 1853 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1209, '用户分组', '', 2, 2, 1186, 'user-group', 'people', 'bpm/group/index', NULL, 0, b'1', b'1', b'1', '', '2022-01-14 02:14:20', '103', '2022-04-20 17:03:10', b'0'); | |
| 1890 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1207, '待办任务', '', 2, 10, 1200, 'todo', 'eye-open', 'bpm/task/todo/index', 'BpmTodoTask', 0, b'1', b'1', b'1', '1', '2022-01-08 10:33:37', '1', '2023-04-08 11:29:08', b'0'); | |
| 1891 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1208, '已办任务', '', 2, 20, 1200, 'done', 'eye', 'bpm/task/done/index', 'BpmDoneTask', 0, b'1', b'1', b'1', '1', '2022-01-08 10:34:13', '1', '2023-04-08 11:29:00', b'0'); | |
| 1892 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1209, '用户分组', '', 2, 2, 1186, 'user-group', 'people', 'bpm/group/index', 'BpmUserGroup', 0, b'1', b'1', b'1', '', '2022-01-14 02:14:20', '1', '2023-04-08 10:51:06', b'0'); | |
| 1854 | 1893 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1210, '用户组查询', 'bpm:user-group:query', 3, 1, 1209, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-01-14 02:14:20', '', '2022-04-20 17:03:10', b'0'); |
| 1855 | 1894 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1211, '用户组创建', 'bpm:user-group:create', 3, 2, 1209, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-01-14 02:14:20', '', '2022-04-20 17:03:10', b'0'); |
| 1856 | 1895 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1212, '用户组更新', 'bpm:user-group:update', 3, 3, 1209, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-01-14 02:14:20', '', '2022-04-20 17:03:10', b'0'); |
| ... | ... | @@ -1864,56 +1903,56 @@ INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_i |
| 1864 | 1903 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1221, '流程任务的查询', 'bpm:task:query', 3, 1, 1207, '', '', '', NULL, 0, b'1', b'1', b'1', '1', '2022-01-23 00:38:52', '1', '2022-04-20 17:03:10', b'0'); |
| 1865 | 1904 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1222, '流程任务的更新', 'bpm:task:update', 3, 2, 1207, '', '', '', NULL, 0, b'1', b'1', b'1', '1', '2022-01-23 00:39:24', '1', '2022-04-20 17:03:10', b'0'); |
| 1866 | 1905 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1224, '租户管理', '', 2, 0, 1, 'tenant', 'peoples', NULL, NULL, 0, b'1', b'1', b'1', '1', '2022-02-20 01:41:13', '1', '2022-04-20 17:03:10', b'0'); |
| 1867 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1225, '租户套餐', '', 2, 0, 1224, 'package', 'eye', 'system/tenantPackage/index', NULL, 0, b'1', b'1', b'1', '', '2022-02-19 17:44:06', '1', '2022-04-21 01:21:25', b'0'); | |
| 1906 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1225, '租户套餐', '', 2, 0, 1224, 'package', 'eye', 'system/tenantPackage/index', 'SystemTenantPackage', 0, b'1', b'1', b'1', '', '2022-02-19 17:44:06', '1', '2023-04-08 08:17:08', b'0'); | |
| 1868 | 1907 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1226, '租户套餐查询', 'system:tenant-package:query', 3, 1, 1225, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-02-19 17:44:06', '', '2022-04-20 17:03:10', b'0'); |
| 1869 | 1908 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1227, '租户套餐创建', 'system:tenant-package:create', 3, 2, 1225, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-02-19 17:44:06', '', '2022-04-20 17:03:10', b'0'); |
| 1870 | 1909 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1228, '租户套餐更新', 'system:tenant-package:update', 3, 3, 1225, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-02-19 17:44:06', '', '2022-04-20 17:03:10', b'0'); |
| 1871 | 1910 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1229, '租户套餐删除', 'system:tenant-package:delete', 3, 4, 1225, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-02-19 17:44:06', '', '2022-04-20 17:03:10', b'0'); |
| 1872 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1237, '文件配置', '', 2, 0, 1243, 'file-config', 'config', 'infra/fileConfig/index', NULL, 0, b'1', b'1', b'1', '', '2022-03-15 14:35:28', '1', '2022-04-20 17:03:10', b'0'); | |
| 1911 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1237, '文件配置', '', 2, 0, 1243, 'file-config', 'config', 'infra/fileConfig/index', 'InfraFileConfig', 0, b'1', b'1', b'1', '', '2022-03-15 14:35:28', '1', '2023-04-08 09:16:05', b'0'); | |
| 1873 | 1912 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1238, '文件配置查询', 'infra:file-config:query', 3, 1, 1237, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-03-15 14:35:28', '', '2022-04-20 17:03:10', b'0'); |
| 1874 | 1913 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1239, '文件配置创建', 'infra:file-config:create', 3, 2, 1237, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-03-15 14:35:28', '', '2022-04-20 17:03:10', b'0'); |
| 1875 | 1914 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1240, '文件配置更新', 'infra:file-config:update', 3, 3, 1237, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-03-15 14:35:28', '', '2022-04-20 17:03:10', b'0'); |
| 1876 | 1915 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1241, '文件配置删除', 'infra:file-config:delete', 3, 4, 1237, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-03-15 14:35:28', '', '2022-04-20 17:03:10', b'0'); |
| 1877 | 1916 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1242, '文件配置导出', 'infra:file-config:export', 3, 5, 1237, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-03-15 14:35:28', '', '2022-04-20 17:03:10', b'0'); |
| 1878 | 1917 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1243, '文件管理', '', 2, 5, 2, 'file', 'download', NULL, '', 0, b'1', b'1', b'1', '1', '2022-03-16 23:47:40', '1', '2023-02-10 13:47:46', b'0'); |
| 1879 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1247, '敏感词管理', '', 2, 13, 1, 'sensitive-word', 'education', 'system/sensitiveWord/index', NULL, 0, b'1', b'1', b'1', '', '2022-04-07 16:55:03', '1', '2022-04-20 17:03:10', b'0'); | |
| 1918 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1247, '敏感词管理', '', 2, 13, 1, 'sensitive-word', 'education', 'system/sensitiveWord/index', 'SystemSensitiveWord', 0, b'1', b'1', b'1', '', '2022-04-07 16:55:03', '1', '2023-04-08 09:00:40', b'0'); | |
| 1880 | 1919 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1248, '敏感词查询', 'system:sensitive-word:query', 3, 1, 1247, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-04-07 16:55:03', '', '2022-04-20 17:03:10', b'0'); |
| 1881 | 1920 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1249, '敏感词创建', 'system:sensitive-word:create', 3, 2, 1247, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-04-07 16:55:03', '', '2022-04-20 17:03:10', b'0'); |
| 1882 | 1921 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1250, '敏感词更新', 'system:sensitive-word:update', 3, 3, 1247, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-04-07 16:55:03', '', '2022-04-20 17:03:10', b'0'); |
| 1883 | 1922 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1251, '敏感词删除', 'system:sensitive-word:delete', 3, 4, 1247, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-04-07 16:55:03', '', '2022-04-20 17:03:10', b'0'); |
| 1884 | 1923 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1252, '敏感词导出', 'system:sensitive-word:export', 3, 5, 1247, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-04-07 16:55:03', '', '2022-04-20 17:03:10', b'0'); |
| 1885 | 1924 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1254, '作者动态', '', 1, 0, 0, 'https://www.iocoder.cn', 'people', NULL, NULL, 0, b'1', b'1', b'1', '1', '2022-04-23 01:03:15', '1', '2023-02-10 00:06:52', b'0'); |
| 1886 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1255, '数据源配置', '', 2, 1, 2, 'data-source-config', 'rate', 'infra/dataSourceConfig/index', NULL, 0, b'1', b'1', b'1', '', '2022-04-27 14:37:32', '1', '2022-04-27 22:42:06', b'0'); | |
| 1925 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1255, '数据源配置', '', 2, 1, 2, 'data-source-config', 'rate', 'infra/dataSourceConfig/index', 'InfraDataSourceConfig', 0, b'1', b'1', b'1', '', '2022-04-27 14:37:32', '1', '2023-04-08 09:05:21', b'0'); | |
| 1887 | 1926 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1256, '数据源配置查询', 'infra:data-source-config:query', 3, 1, 1255, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-04-27 14:37:32', '', '2022-04-27 14:37:32', b'0'); |
| 1888 | 1927 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1257, '数据源配置创建', 'infra:data-source-config:create', 3, 2, 1255, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-04-27 14:37:32', '', '2022-04-27 14:37:32', b'0'); |
| 1889 | 1928 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1258, '数据源配置更新', 'infra:data-source-config:update', 3, 3, 1255, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-04-27 14:37:32', '', '2022-04-27 14:37:32', b'0'); |
| 1890 | 1929 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1259, '数据源配置删除', 'infra:data-source-config:delete', 3, 4, 1255, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-04-27 14:37:32', '', '2022-04-27 14:37:32', b'0'); |
| 1891 | 1930 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1260, '数据源配置导出', 'infra:data-source-config:export', 3, 5, 1255, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-04-27 14:37:32', '', '2022-04-27 14:37:32', b'0'); |
| 1892 | 1931 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1261, 'OAuth 2.0', '', 1, 10, 1, 'oauth2', 'people', NULL, NULL, 0, b'1', b'1', b'1', '1', '2022-05-09 23:38:17', '1', '2022-05-11 23:51:46', b'0'); |
| 1893 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1263, '应用管理', '', 2, 0, 1261, 'oauth2/application', 'tool', 'system/oauth2/client/index', NULL, 0, b'1', b'1', b'1', '', '2022-05-10 16:26:33', '1', '2022-05-11 23:31:36', b'0'); | |
| 1932 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1263, '应用管理', '', 2, 0, 1261, 'oauth2/application', 'tool', 'system/oauth2/client/index', 'SystemOAuth2Client', 0, b'1', b'1', b'1', '', '2022-05-10 16:26:33', '1', '2023-04-08 08:47:31', b'0'); | |
| 1894 | 1933 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1264, '客户端查询', 'system:oauth2-client:query', 3, 1, 1263, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-05-10 16:26:33', '1', '2022-05-11 00:31:06', b'0'); |
| 1895 | 1934 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1265, '客户端创建', 'system:oauth2-client:create', 3, 2, 1263, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-05-10 16:26:33', '1', '2022-05-11 00:31:23', b'0'); |
| 1896 | 1935 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1266, '客户端更新', 'system:oauth2-client:update', 3, 3, 1263, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-05-10 16:26:33', '1', '2022-05-11 00:31:28', b'0'); |
| 1897 | 1936 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1267, '客户端删除', 'system:oauth2-client:delete', 3, 4, 1263, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-05-10 16:26:33', '1', '2022-05-11 00:31:33', b'0'); |
| 1898 | 1937 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1281, '报表管理', '', 1, 40, 0, '/report', 'chart', NULL, NULL, 0, b'1', b'1', b'1', '1', '2022-07-10 20:22:15', '1', '2023-02-07 17:16:40', b'0'); |
| 1899 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1282, '报表设计器', '', 2, 1, 1281, 'jimu-report', 'example', 'report/jmreport/index', NULL, 0, b'1', b'1', b'1', '1', '2022-07-10 20:26:36', '1', '2023-02-07 17:15:49', b'0'); | |
| 1938 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1282, '报表设计器', '', 2, 1, 1281, 'jimu-report', 'example', 'report/jmreport/index', 'GoView', 0, b'1', b'1', b'1', '1', '2022-07-10 20:26:36', '1', '2023-04-08 10:47:59', b'0'); | |
| 1900 | 1939 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2000, '商品中心', '', 1, 60, 0, '/product', 'merchant', NULL, NULL, 0, b'1', b'1', b'1', '', '2022-07-29 15:53:53', '1', '2022-07-30 22:26:19', b'0'); |
| 1901 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2002, '商品分类', '', 2, 2, 2000, 'category', 'dict', 'mall/product/category/index', NULL, 0, b'1', b'1', b'1', '', '2022-07-29 15:53:53', '1', '2022-07-30 22:23:37', b'0'); | |
| 1940 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2002, '商品分类', '', 2, 2, 2000, 'category', 'dict', 'mall/product/category/index', 'ProductCategory', 0, b'1', b'1', b'1', '', '2022-07-29 15:53:53', '1', '2023-04-08 11:34:59', b'0'); | |
| 1902 | 1941 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2003, '分类查询', 'product:category:query', 3, 1, 2002, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-07-29 15:53:53', '', '2022-07-29 15:53:53', b'0'); |
| 1903 | 1942 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2004, '分类创建', 'product:category:create', 3, 2, 2002, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-07-29 15:53:53', '', '2022-07-29 15:53:53', b'0'); |
| 1904 | 1943 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2005, '分类更新', 'product:category:update', 3, 3, 2002, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-07-29 15:53:53', '', '2022-07-29 15:53:53', b'0'); |
| 1905 | 1944 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2006, '分类删除', 'product:category:delete', 3, 4, 2002, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-07-29 15:53:53', '', '2022-07-29 15:53:53', b'0'); |
| 1906 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2008, '商品品牌', '', 2, 3, 2000, 'brand', 'dashboard', 'mall/product/brand/index', NULL, 0, b'1', b'1', b'1', '', '2022-07-30 13:52:44', '1', '2022-10-24 22:29:30', b'0'); | |
| 1945 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2008, '商品品牌', '', 2, 3, 2000, 'brand', 'dashboard', 'mall/product/brand/index', 'ProductBrand', 0, b'1', b'1', b'1', '', '2022-07-30 13:52:44', '1', '2023-04-08 11:35:29', b'0'); | |
| 1907 | 1946 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2009, '品牌查询', 'product:brand:query', 3, 1, 2008, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-07-30 13:52:44', '', '2022-07-30 13:52:44', b'0'); |
| 1908 | 1947 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2010, '品牌创建', 'product:brand:create', 3, 2, 2008, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-07-30 13:52:44', '', '2022-07-30 13:52:44', b'0'); |
| 1909 | 1948 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2011, '品牌更新', 'product:brand:update', 3, 3, 2008, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-07-30 13:52:44', '', '2022-07-30 13:52:44', b'0'); |
| 1910 | 1949 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2012, '品牌删除', 'product:brand:delete', 3, 4, 2008, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-07-30 13:52:44', '', '2022-07-30 13:52:44', b'0'); |
| 1911 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2014, '商品列表', '', 2, 1, 2000, 'spu', 'list', 'mall/product/spu/index', NULL, 0, b'1', b'1', b'1', '', '2022-07-30 14:22:58', '1', '2022-10-24 22:29:25', b'0'); | |
| 1950 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2014, '商品列表', '', 2, 1, 2000, 'spu', 'list', 'mall/product/spu/index', 'ProductSpu', 0, b'1', b'1', b'1', '', '2022-07-30 14:22:58', '1', '2023-04-08 11:34:47', b'0'); | |
| 1912 | 1951 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2015, '商品查询', 'product:spu:query', 3, 1, 2014, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-07-30 14:22:58', '', '2022-07-30 14:22:58', b'0'); |
| 1913 | 1952 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2016, '商品创建', 'product:spu:create', 3, 2, 2014, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-07-30 14:22:58', '', '2022-07-30 14:22:58', b'0'); |
| 1914 | 1953 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2017, '商品更新', 'product:spu:update', 3, 3, 2014, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-07-30 14:22:58', '', '2022-07-30 14:22:58', b'0'); |
| 1915 | 1954 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2018, '商品删除', 'product:spu:delete', 3, 4, 2014, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-07-30 14:22:58', '', '2022-07-30 14:22:58', b'0'); |
| 1916 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2019, '商品属性', '', 2, 3, 2000, 'property', 'eye', 'mall/product/property/index', NULL, 0, b'1', b'1', b'1', '', '2022-08-01 14:55:35', '1', '2022-12-12 20:58:06', b'0'); | |
| 1955 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2019, '商品属性', '', 2, 3, 2000, 'property', 'eye', 'mall/product/property/index', 'ProductProperty', 0, b'1', b'1', b'1', '', '2022-08-01 14:55:35', '1', '2023-04-08 11:35:15', b'0'); | |
| 1917 | 1956 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2020, '规格查询', 'product:property:query', 3, 1, 2019, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-08-01 14:55:35', '', '2022-12-12 20:26:24', b'0'); |
| 1918 | 1957 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2021, '规格创建', 'product:property:create', 3, 2, 2019, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-08-01 14:55:35', '', '2022-12-12 20:26:30', b'0'); |
| 1919 | 1958 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2022, '规格更新', 'product:property:update', 3, 3, 2019, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-08-01 14:55:35', '', '2022-12-12 20:26:33', b'0'); |
| ... | ... | @@ -1924,50 +1963,50 @@ INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_i |
| 1924 | 1963 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2028, 'Banner更新', 'market:banner:update', 3, 3, 2025, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-08-01 14:56:14', '', '2022-08-01 14:56:14', b'0'); |
| 1925 | 1964 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2029, 'Banner删除', 'market:banner:delete', 3, 4, 2025, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-08-01 14:56:14', '', '2022-08-01 14:56:14', b'0'); |
| 1926 | 1965 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2030, '营销中心', '', 1, 70, 0, '/promotion', 'rate', NULL, NULL, 0, b'1', b'1', b'1', '1', '2022-10-31 21:25:09', '1', '2022-10-31 21:25:09', b'0'); |
| 1927 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2032, '优惠劵', '', 2, 2, 2030, 'coupon-template', 'textarea', 'mall/promotion/couponTemplate/index', NULL, 0, b'1', b'1', b'1', '', '2022-10-31 22:27:14', '1', '2022-11-05 12:27:34', b'0'); | |
| 1966 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2032, '优惠劵', '', 2, 2, 2030, 'coupon-template', 'textarea', 'mall/promotion/couponTemplate/index', 'PromotionCouponTemplate', 0, b'1', b'1', b'1', '', '2022-10-31 22:27:14', '1', '2023-04-08 11:44:23', b'0'); | |
| 1928 | 1967 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2033, '优惠劵模板查询', 'promotion:coupon-template:query', 3, 1, 2032, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-10-31 22:27:14', '', '2022-10-31 22:27:14', b'0'); |
| 1929 | 1968 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2034, '优惠劵模板创建', 'promotion:coupon-template:create', 3, 2, 2032, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-10-31 22:27:14', '', '2022-10-31 22:27:14', b'0'); |
| 1930 | 1969 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2035, '优惠劵模板更新', 'promotion:coupon-template:update', 3, 3, 2032, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-10-31 22:27:14', '', '2022-10-31 22:27:14', b'0'); |
| 1931 | 1970 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2036, '优惠劵模板删除', 'promotion:coupon-template:delete', 3, 4, 2032, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-10-31 22:27:14', '', '2022-10-31 22:27:14', b'0'); |
| 1932 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2038, '会员优惠劵', '', 2, 2, 2030, 'coupon', '', 'mall/promotion/coupon/index', NULL, 0, b'0', b'1', b'1', '', '2022-11-03 23:21:31', '1', '2022-11-05 12:27:45', b'0'); | |
| 1971 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2038, '会员优惠劵', '', 2, 2, 2030, 'coupon', '', 'mall/promotion/coupon/index', 'PromotionCoupon', 0, b'0', b'1', b'1', '', '2022-11-03 23:21:31', '1', '2023-04-08 11:44:17', b'0'); | |
| 1933 | 1972 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2039, '优惠劵查询', 'promotion:coupon:query', 3, 1, 2038, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-11-03 23:21:31', '', '2022-11-03 23:21:31', b'0'); |
| 1934 | 1973 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2040, '优惠劵删除', 'promotion:coupon:delete', 3, 4, 2038, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-11-03 23:21:31', '', '2022-11-03 23:21:31', b'0'); |
| 1935 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2041, '满减送活动', '', 2, 10, 2030, 'reward-activity', 'radio', 'mall/promotion/rewardActivity/index', NULL, 0, b'1', b'1', b'1', '', '2022-11-04 23:47:49', '1', '2022-11-05 12:27:56', b'0'); | |
| 1974 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2041, '满减送活动', '', 2, 10, 2030, 'reward-activity', 'radio', 'mall/promotion/rewardActivity/index', 'PromotionRewardActivity', 0, b'1', b'1', b'1', '', '2022-11-04 23:47:49', '1', '2023-04-08 11:45:35', b'0'); | |
| 1936 | 1975 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2042, '满减送活动查询', 'promotion:reward-activity:query', 3, 1, 2041, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-11-04 23:47:49', '', '2022-11-04 23:47:49', b'0'); |
| 1937 | 1976 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2043, '满减送活动创建', 'promotion:reward-activity:create', 3, 2, 2041, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-11-04 23:47:49', '', '2022-11-04 23:47:49', b'0'); |
| 1938 | 1977 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2044, '满减送活动更新', 'promotion:reward-activity:update', 3, 3, 2041, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-11-04 23:47:50', '', '2022-11-04 23:47:50', b'0'); |
| 1939 | 1978 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2045, '满减送活动删除', 'promotion:reward-activity:delete', 3, 4, 2041, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-11-04 23:47:50', '', '2022-11-04 23:47:50', b'0'); |
| 1940 | 1979 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2046, '满减送活动关闭', 'promotion:reward-activity:close', 3, 5, 2041, '', '', '', NULL, 0, b'1', b'1', b'1', '1', '2022-11-05 10:42:53', '1', '2022-11-05 10:42:53', b'0'); |
| 1941 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2047, '限时折扣活动', '', 2, 7, 2030, 'discount-activity', 'time', 'mall/promotion/discountActivity/index', NULL, 0, b'1', b'1', b'1', '', '2022-11-05 17:12:15', '1', '2022-11-29 22:14:56', b'0'); | |
| 1980 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2047, '限时折扣活动', '', 2, 7, 2030, 'discount-activity', 'time', 'mall/promotion/discountActivity/index', 'PromotionDiscountActivity', 0, b'1', b'1', b'1', '', '2022-11-05 17:12:15', '1', '2023-04-08 11:45:44', b'0'); | |
| 1942 | 1981 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2048, '限时折扣活动查询', 'promotion:discount-activity:query', 3, 1, 2047, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-11-05 17:12:15', '', '2022-11-05 17:12:15', b'0'); |
| 1943 | 1982 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2049, '限时折扣活动创建', 'promotion:discount-activity:create', 3, 2, 2047, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-11-05 17:12:15', '', '2022-11-05 17:12:15', b'0'); |
| 1944 | 1983 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2050, '限时折扣活动更新', 'promotion:discount-activity:update', 3, 3, 2047, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-11-05 17:12:16', '', '2022-11-05 17:12:16', b'0'); |
| 1945 | 1984 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2051, '限时折扣活动删除', 'promotion:discount-activity:delete', 3, 4, 2047, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-11-05 17:12:16', '', '2022-11-05 17:12:16', b'0'); |
| 1946 | 1985 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2052, '限时折扣活动关闭', 'promotion:discount-activity:close', 3, 5, 2047, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-11-05 17:12:16', '', '2022-11-05 17:12:16', b'0'); |
| 1947 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2059, '秒杀活动管理', '', 2, 0, 2030, 'seckill-activity', 'time-range', 'mall/promotion/seckill/seckillActivity/index', NULL, 0, b'1', b'1', b'1', '', '2022-11-06 22:24:49', '1', '2022-11-29 22:24:39', b'0'); | |
| 1986 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2059, '秒杀活动管理', '', 2, 0, 2030, 'seckill-activity', 'time-range', 'mall/promotion/seckill/seckillActivity/index', 'PromotionSeckillActivity', 0, b'1', b'1', b'1', '', '2022-11-06 22:24:49', '1', '2023-04-08 11:46:02', b'0'); | |
| 1948 | 1987 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2060, '秒杀活动查询', 'promotion:seckill-activity:query', 3, 1, 2059, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-11-06 22:24:49', '', '2022-11-06 22:24:49', b'0'); |
| 1949 | 1988 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2061, '秒杀活动创建', 'promotion:seckill-activity:create', 3, 2, 2059, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-11-06 22:24:49', '', '2022-11-06 22:24:49', b'0'); |
| 1950 | 1989 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2062, '秒杀活动更新', 'promotion:seckill-activity:update', 3, 3, 2059, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-11-06 22:24:49', '', '2022-11-06 22:24:49', b'0'); |
| 1951 | 1990 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2063, '秒杀活动删除', 'promotion:seckill-activity:delete', 3, 4, 2059, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-11-06 22:24:49', '', '2022-11-06 22:24:49', b'0'); |
| 1952 | 1991 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2064, '秒杀活动导出', 'promotion:seckill-activity:export', 3, 5, 2059, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-11-06 22:24:49', '', '2022-11-06 22:24:49', b'0'); |
| 1953 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2066, '秒杀时段管理', '', 2, 0, 2030, 'seckill-time', '', 'mall/promotion/seckill/seckillTime/index', NULL, 0, b'0', b'1', b'1', '', '2022-11-15 19:46:50', '1', '2022-11-29 22:09:03', b'0'); | |
| 1992 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2066, '秒杀时段管理', '', 2, 0, 2030, 'seckill-time', '', 'mall/promotion/seckill/seckillTime/index', 'PromotionSeckillTime', 0, b'0', b'1', b'1', '', '2022-11-15 19:46:50', '1', '2023-04-08 11:46:17', b'0'); | |
| 1954 | 1993 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2067, '秒杀时段查询', 'promotion:seckill-time:query', 3, 1, 2066, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-11-15 19:46:51', '', '2022-11-15 19:46:51', b'0'); |
| 1955 | 1994 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2068, '秒杀时段创建', 'promotion:seckill-time:create', 3, 2, 2066, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-11-15 19:46:51', '', '2022-11-15 19:46:51', b'0'); |
| 1956 | 1995 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2069, '秒杀时段更新', 'promotion:seckill-time:update', 3, 3, 2066, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-11-15 19:46:51', '', '2022-11-15 19:46:51', b'0'); |
| 1957 | 1996 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2070, '秒杀时段删除', 'promotion:seckill-time:delete', 3, 4, 2066, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-11-15 19:46:51', '', '2022-11-15 19:46:51', b'0'); |
| 1958 | 1997 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2071, '秒杀时段导出', 'promotion:seckill-time:export', 3, 5, 2066, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-11-15 19:46:51', '', '2022-11-15 19:46:51', b'0'); |
| 1959 | 1998 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2072, '订单中心', '', 1, 65, 0, '/trade', 'order', NULL, NULL, 0, b'1', b'1', b'1', '1', '2022-11-19 18:57:19', '1', '2022-12-10 16:32:57', b'0'); |
| 1960 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2073, '售后退款', '', 2, 1, 2072, 'trade/after-sale', 'education', 'mall/trade/afterSale/index', NULL, 0, b'1', b'1', b'1', '', '2022-11-19 20:15:32', '1', '2022-12-10 21:11:02', b'0'); | |
| 1999 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2073, '售后退款', '', 2, 1, 2072, 'trade/after-sale', 'education', 'mall/trade/afterSale/index', 'TradeAfterSale', 0, b'1', b'1', b'1', '', '2022-11-19 20:15:32', '1', '2023-04-08 11:43:19', b'0'); | |
| 1961 | 2000 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2074, '售后查询', 'trade:after-sale:query', 3, 1, 2073, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-11-19 20:15:33', '1', '2022-12-10 21:04:29', b'0'); |
| 1962 | 2001 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2075, '秒杀活动关闭', 'promotion:sekill-activity:close', 3, 6, 2059, '', '', '', NULL, 0, b'1', b'1', b'1', '1', '2022-11-28 20:20:15', '1', '2022-11-28 20:20:15', b'0'); |
| 1963 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2076, '订单列表', '', 2, 0, 2072, 'trade/order', 'list', 'mall/trade/order/index', NULL, 0, b'1', b'1', b'1', '1', '2022-12-10 21:05:44', '1', '2022-12-10 21:08:44', b'0'); | |
| 2002 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2076, '订单列表', '', 2, 0, 2072, 'trade/order', 'list', 'mall/trade/order/index', 'TradeOrder', 0, b'1', b'1', b'1', '1', '2022-12-10 21:05:44', '1', '2023-04-08 11:42:23', b'0'); | |
| 1964 | 2003 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2077, '物流公司管理管理', '', 2, 0, 2072, 'express-company', '', 'mall/trade/expressCompany/index', NULL, 0, b'1', b'1', b'1', '', '2022-12-20 23:27:55', '1', '2022-12-20 23:36:20', b'0'); |
| 1965 | 2004 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2078, '物流公司管理查询', 'trade:express-company:query', 3, 1, 2077, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-12-20 23:27:55', '', '2022-12-20 23:27:55', b'0'); |
| 1966 | 2005 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2079, '物流公司管理创建', 'trade:express-company:create', 3, 2, 2077, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-12-20 23:27:55', '', '2022-12-20 23:27:55', b'0'); |
| 1967 | 2006 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2080, '物流公司管理更新', 'trade:express-company:update', 3, 3, 2077, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-12-20 23:27:55', '', '2022-12-20 23:27:55', b'0'); |
| 1968 | 2007 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2081, '物流公司管理删除', 'trade:express-company:delete', 3, 4, 2077, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-12-20 23:27:55', '', '2022-12-20 23:27:55', b'0'); |
| 1969 | 2008 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2082, '物流公司管理导出', 'trade:express-company:export', 3, 5, 2077, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2022-12-20 23:27:55', '', '2022-12-20 23:27:55', b'0'); |
| 1970 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2083, '地区管理', '', 2, 14, 1, 'area', 'row', 'system/area/index', NULL, 0, b'1', b'1', b'1', '1', '2022-12-23 17:35:05', '1', '2022-12-23 17:35:48', b'0'); | |
| 2009 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2083, '地区管理', '', 2, 14, 1, 'area', 'row', 'system/area/index', 'SystemArea', 0, b'1', b'1', b'1', '1', '2022-12-23 17:35:05', '1', '2023-04-08 09:01:37', b'0'); | |
| 1971 | 2010 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2084, '公众号管理', '', 1, 100, 0, '/mp', 'wechat', NULL, NULL, 0, b'1', b'1', b'1', '1', '2023-01-01 20:11:04', '1', '2023-01-15 11:28:57', b'0'); |
| 1972 | 2011 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2085, '账号管理', '', 2, 1, 2084, 'account', 'phone', 'mp/account/index', 'MpAccount', 0, b'1', b'1', b'1', '1', '2023-01-01 20:13:31', '1', '2023-02-09 23:56:39', b'0'); |
| 1973 | 2012 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2086, '新增账号', 'mp:account:create', 3, 1, 2085, '', '', '', NULL, 0, b'1', b'1', b'1', '1', '2023-01-01 20:21:40', '1', '2023-01-07 17:32:53', b'0'); |
| ... | ... | @@ -2015,29 +2054,29 @@ INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_i |
| 2015 | 2054 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2128, '查询消息', 'mp:message:query', 3, 0, 2103, '', '', '', NULL, 0, b'1', b'1', b'1', '1', '2023-01-17 23:07:14', '1', '2023-01-17 23:07:14', b'0'); |
| 2016 | 2055 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2129, '发送消息', 'mp:message:send', 3, 1, 2103, '', '', '', NULL, 0, b'1', b'1', b'1', '1', '2023-01-17 23:07:26', '1', '2023-01-17 23:07:26', b'0'); |
| 2017 | 2056 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2130, '邮箱管理', '', 2, 11, 1, 'mail', 'email', NULL, NULL, 0, b'1', b'1', b'1', '1', '2023-01-25 17:27:44', '1', '2023-01-25 17:27:44', b'0'); |
| 2018 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2131, '邮箱账号', '', 2, 0, 2130, 'mail-account', 'user', 'system/mail/account/index', NULL, 0, b'1', b'1', b'1', '', '2023-01-25 09:33:48', '1', '2023-01-26 16:37:37', b'0'); | |
| 2057 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2131, '邮箱账号', '', 2, 0, 2130, 'mail-account', 'user', 'system/mail/account/index', 'SystemMailAccount', 0, b'1', b'1', b'1', '', '2023-01-25 09:33:48', '1', '2023-04-08 08:53:43', b'0'); | |
| 2019 | 2058 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2132, '账号查询', 'system:mail-account:query', 3, 1, 2131, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-01-25 09:33:48', '', '2023-01-25 09:33:48', b'0'); |
| 2020 | 2059 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2133, '账号创建', 'system:mail-account:create', 3, 2, 2131, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-01-25 09:33:48', '', '2023-01-25 09:33:48', b'0'); |
| 2021 | 2060 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2134, '账号更新', 'system:mail-account:update', 3, 3, 2131, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-01-25 09:33:48', '', '2023-01-25 09:33:48', b'0'); |
| 2022 | 2061 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2135, '账号删除', 'system:mail-account:delete', 3, 4, 2131, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-01-25 09:33:48', '', '2023-01-25 09:33:48', b'0'); |
| 2023 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2136, '邮件模版', '', 2, 0, 2130, 'mail-template', 'education', 'system/mail/template/index', NULL, 0, b'1', b'1', b'1', '', '2023-01-25 12:05:31', '1', '2023-01-26 16:38:35', b'0'); | |
| 2062 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2136, '邮件模版', '', 2, 0, 2130, 'mail-template', 'education', 'system/mail/template/index', 'SystemMailTemplate', 0, b'1', b'1', b'1', '', '2023-01-25 12:05:31', '1', '2023-04-08 08:53:34', b'0'); | |
| 2024 | 2063 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2137, '模版查询', 'system:mail-template:query', 3, 1, 2136, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-01-25 12:05:31', '', '2023-01-25 12:05:31', b'0'); |
| 2025 | 2064 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2138, '模版创建', 'system:mail-template:create', 3, 2, 2136, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-01-25 12:05:31', '', '2023-01-25 12:05:31', b'0'); |
| 2026 | 2065 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2139, '模版更新', 'system:mail-template:update', 3, 3, 2136, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-01-25 12:05:31', '', '2023-01-25 12:05:31', b'0'); |
| 2027 | 2066 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2140, '模版删除', 'system:mail-template:delete', 3, 4, 2136, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-01-25 12:05:31', '', '2023-01-25 12:05:31', b'0'); |
| 2028 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2141, '邮件记录', '', 2, 0, 2130, 'mail-log', 'log', 'system/mail/log/index', NULL, 0, b'1', b'1', b'1', '', '2023-01-26 02:16:50', '1', '2023-01-26 16:38:27', b'0'); | |
| 2067 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2141, '邮件记录', '', 2, 0, 2130, 'mail-log', 'log', 'system/mail/log/index', 'SystemMailLog', 0, b'1', b'1', b'1', '', '2023-01-26 02:16:50', '1', '2023-04-08 08:53:49', b'0'); | |
| 2029 | 2068 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2142, '日志查询', 'system:mail-log:query', 3, 1, 2141, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-01-26 02:16:50', '', '2023-01-26 02:16:50', b'0'); |
| 2030 | 2069 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2143, '发送测试邮件', 'system:mail-template:send-mail', 3, 5, 2136, '', '', '', NULL, 0, b'1', b'1', b'1', '1', '2023-01-26 23:29:15', '1', '2023-01-26 23:29:15', b'0'); |
| 2031 | 2070 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2144, '站内信管理', '', 1, 11, 1, 'notify', 'message', NULL, NULL, 0, b'1', b'1', b'1', '1', '2023-01-28 10:25:18', '1', '2023-01-28 10:25:46', b'0'); |
| 2032 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2145, '模板管理', '', 2, 0, 2144, 'notify-template', 'education', 'system/notify/template/index', NULL, 0, b'1', b'1', b'1', '', '2023-01-28 02:26:42', '1', '2023-01-28 10:27:47', b'0'); | |
| 2071 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2145, '模板管理', '', 2, 0, 2144, 'notify-template', 'education', 'system/notify/template/index', 'SystemNotifyTemplate', 0, b'1', b'1', b'1', '', '2023-01-28 02:26:42', '1', '2023-04-08 08:54:39', b'0'); | |
| 2033 | 2072 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2146, '站内信模板查询', 'system:notify-template:query', 3, 1, 2145, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-01-28 02:26:42', '', '2023-01-28 02:26:42', b'0'); |
| 2034 | 2073 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2147, '站内信模板创建', 'system:notify-template:create', 3, 2, 2145, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-01-28 02:26:42', '', '2023-01-28 02:26:42', b'0'); |
| 2035 | 2074 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2148, '站内信模板更新', 'system:notify-template:update', 3, 3, 2145, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-01-28 02:26:42', '', '2023-01-28 02:26:42', b'0'); |
| 2036 | 2075 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2149, '站内信模板删除', 'system:notify-template:delete', 3, 4, 2145, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-01-28 02:26:42', '', '2023-01-28 02:26:42', b'0'); |
| 2037 | 2076 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2150, '发送测试站内信', 'system:notify-template:send-notify', 3, 5, 2145, '', '', '', NULL, 0, b'1', b'1', b'1', '1', '2023-01-28 10:54:43', '1', '2023-01-28 10:54:43', b'0'); |
| 2038 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2151, '消息记录', '', 2, 0, 2144, 'notify-message', 'edit', 'system/notify/message/index', NULL, 0, b'1', b'1', b'1', '', '2023-01-28 04:28:22', '1', '2023-01-28 20:59:53', b'0'); | |
| 2077 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2151, '消息记录', '', 2, 0, 2144, 'notify-message', 'edit', 'system/notify/message/index', 'SystemNotifyMessage', 0, b'1', b'1', b'1', '', '2023-01-28 04:28:22', '1', '2023-04-08 08:54:11', b'0'); | |
| 2039 | 2078 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2152, '站内信消息查询', 'system:notify-message:query', 3, 1, 2151, '', '', '', NULL, 0, b'1', b'1', b'1', '', '2023-01-28 04:28:22', '', '2023-01-28 04:28:22', b'0'); |
| 2040 | -INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2153, '大屏设计器', '', 2, 2, 1281, 'go-view', 'dashboard', 'report/goview/index', NULL, 0, b'1', b'1', b'1', '1', '2023-02-07 00:03:19', '1', '2023-02-07 00:03:30', b'0'); | |
| 2079 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2153, '大屏设计器', '', 2, 2, 1281, 'go-view', 'dashboard', 'report/goview/index', 'JimuReport', 0, b'1', b'1', b'1', '1', '2023-02-07 00:03:19', '1', '2023-04-08 10:48:15', b'0'); | |
| 2041 | 2080 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2154, '创建项目', 'report:go-view-project:create', 3, 1, 2153, '', '', '', NULL, 0, b'1', b'1', b'1', '1', '2023-02-07 19:25:14', '1', '2023-02-07 19:25:14', b'0'); |
| 2042 | 2081 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2155, '更新项目', 'report:go-view-project:delete', 3, 2, 2153, '', '', '', NULL, 0, b'1', b'1', b'1', '1', '2023-02-07 19:25:34', '1', '2023-02-07 19:25:34', b'0'); |
| 2043 | 2082 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2156, '查询项目', 'report:go-view-project:query', 3, 0, 2153, '', '', '', NULL, 0, b'1', b'1', b'1', '1', '2023-02-07 19:25:53', '1', '2023-02-07 19:25:53', b'0'); |
| ... | ... | @@ -2045,6 +2084,7 @@ INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_i |
| 2045 | 2084 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2158, '使用 HTTP 查询数据', 'report:go-view-data:get-by-http', 3, 4, 2153, '', '', '', NULL, 0, b'1', b'1', b'1', '1', '2023-02-07 19:26:35', '1', '2023-02-07 19:26:35', b'0'); |
| 2046 | 2085 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2159, 'Boot 开发文档', '', 1, 1, 0, 'https://doc.iocoder.cn/', 'education', NULL, NULL, 0, b'1', b'1', b'1', '1', '2023-02-10 22:46:28', '1', '2023-02-10 22:46:28', b'0'); |
| 2047 | 2086 | INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2160, 'Cloud 开发文档', '', 1, 2, 0, 'https://cloud.iocoder.cn', 'documentation', NULL, NULL, 0, b'1', b'1', b'1', '1', '2023-02-10 22:47:07', '1', '2023-02-10 22:47:07', b'0'); |
| 2087 | +INSERT INTO `system_menu` (`id`, `name`, `permission`, `type`, `sort`, `parent_id`, `path`, `icon`, `component`, `component_name`, `status`, `visible`, `keep_alive`, `always_show`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (2161, '接入示例', '', 2, 99, 1117, 'demo-order', 'drag', 'pay/demo/index', NULL, 0, b'1', b'1', b'1', '', '2023-02-11 14:21:42', '1', '2023-02-11 22:26:35', b'0'); | |
| 2048 | 2088 | COMMIT; |
| 2049 | 2089 | |
| 2050 | 2090 | -- ---------------------------- |
| ... | ... | @@ -2161,7 +2201,7 @@ CREATE TABLE `system_oauth2_access_token` ( |
| 2161 | 2201 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', |
| 2162 | 2202 | `tenant_id` bigint NOT NULL DEFAULT 0 COMMENT '租户编号', |
| 2163 | 2203 | PRIMARY KEY (`id`) USING BTREE |
| 2164 | -) ENGINE = InnoDB AUTO_INCREMENT = 1432 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = 'OAuth2 访问令牌'; | |
| 2204 | +) ENGINE = InnoDB AUTO_INCREMENT = 1785 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = 'OAuth2 访问令牌'; | |
| 2165 | 2205 | |
| 2166 | 2206 | -- ---------------------------- |
| 2167 | 2207 | -- Records of system_oauth2_access_token |
| ... | ... | @@ -2256,7 +2296,7 @@ CREATE TABLE `system_oauth2_code` ( |
| 2256 | 2296 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', |
| 2257 | 2297 | `tenant_id` bigint NOT NULL DEFAULT 0 COMMENT '租户编号', |
| 2258 | 2298 | PRIMARY KEY (`id`) USING BTREE |
| 2259 | -) ENGINE = InnoDB AUTO_INCREMENT = 143 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = 'OAuth2 授权码表'; | |
| 2299 | +) ENGINE = InnoDB AUTO_INCREMENT = 147 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = 'OAuth2 授权码表'; | |
| 2260 | 2300 | |
| 2261 | 2301 | -- ---------------------------- |
| 2262 | 2302 | -- Records of system_oauth2_code |
| ... | ... | @@ -2283,7 +2323,7 @@ CREATE TABLE `system_oauth2_refresh_token` ( |
| 2283 | 2323 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', |
| 2284 | 2324 | `tenant_id` bigint NOT NULL DEFAULT 0 COMMENT '租户编号', |
| 2285 | 2325 | PRIMARY KEY (`id`) USING BTREE |
| 2286 | -) ENGINE = InnoDB AUTO_INCREMENT = 668 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = 'OAuth2 刷新令牌'; | |
| 2326 | +) ENGINE = InnoDB AUTO_INCREMENT = 738 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = 'OAuth2 刷新令牌'; | |
| 2287 | 2327 | |
| 2288 | 2328 | -- ---------------------------- |
| 2289 | 2329 | -- Records of system_oauth2_refresh_token |
| ... | ... | @@ -2323,7 +2363,7 @@ CREATE TABLE `system_operate_log` ( |
| 2323 | 2363 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', |
| 2324 | 2364 | `tenant_id` bigint NOT NULL DEFAULT 0 COMMENT '租户编号', |
| 2325 | 2365 | PRIMARY KEY (`id`) USING BTREE |
| 2326 | -) ENGINE = InnoDB AUTO_INCREMENT = 5909 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '操作日志记录'; | |
| 2366 | +) ENGINE = InnoDB AUTO_INCREMENT = 6440 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '操作日志记录'; | |
| 2327 | 2367 | |
| 2328 | 2368 | -- ---------------------------- |
| 2329 | 2369 | -- Records of system_operate_log |
| ... | ... | @@ -2355,9 +2395,9 @@ CREATE TABLE `system_post` ( |
| 2355 | 2395 | -- Records of system_post |
| 2356 | 2396 | -- ---------------------------- |
| 2357 | 2397 | BEGIN; |
| 2358 | -INSERT INTO `system_post` (`id`, `code`, `name`, `sort`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (1, 'ceo', '董事长', 1, 0, '', 'admin', '2021-01-06 17:03:48', '1', '2022-04-19 16:53:39', b'0', 1); | |
| 2398 | +INSERT INTO `system_post` (`id`, `code`, `name`, `sort`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (1, 'ceo', '董事长', 1, 0, '', 'admin', '2021-01-06 17:03:48', '1', '2023-02-11 15:19:04', b'0', 1); | |
| 2359 | 2399 | INSERT INTO `system_post` (`id`, `code`, `name`, `sort`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2, 'se', '项目经理', 2, 0, '', 'admin', '2021-01-05 17:03:48', '1', '2021-12-12 10:47:47', b'0', 1); |
| 2360 | -INSERT INTO `system_post` (`id`, `code`, `name`, `sort`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (4, 'user', '普通员工', 4, 0, '111', 'admin', '2021-01-05 17:03:48', '1', '2022-05-04 22:46:35', b'0', 1); | |
| 2400 | +INSERT INTO `system_post` (`id`, `code`, `name`, `sort`, `status`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (4, 'user', '普通员工', 4, 0, '111', 'admin', '2021-01-05 17:03:48', '1', '2023-02-11 15:19:00', b'0', 1); | |
| 2361 | 2401 | COMMIT; |
| 2362 | 2402 | |
| 2363 | 2403 | -- ---------------------------- |
| ... | ... | @@ -2381,7 +2421,7 @@ CREATE TABLE `system_role` ( |
| 2381 | 2421 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', |
| 2382 | 2422 | `tenant_id` bigint NOT NULL DEFAULT 0 COMMENT '租户编号', |
| 2383 | 2423 | PRIMARY KEY (`id`) USING BTREE |
| 2384 | -) ENGINE = InnoDB AUTO_INCREMENT = 119 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '角色信息表'; | |
| 2424 | +) ENGINE = InnoDB AUTO_INCREMENT = 139 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '角色信息表'; | |
| 2385 | 2425 | |
| 2386 | 2426 | -- ---------------------------- |
| 2387 | 2427 | -- Records of system_role |
| ... | ... | @@ -2398,6 +2438,9 @@ INSERT INTO `system_role` (`id`, `name`, `code`, `sort`, `data_scope`, `data_sco |
| 2398 | 2438 | INSERT INTO `system_role` (`id`, `name`, `code`, `sort`, `data_scope`, `data_scope_dept_ids`, `status`, `type`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (115, '租户管理员', 'tenant_admin', 0, 1, '', 0, 1, '系统自动生成', '1', '2022-12-30 11:33:42', '1', '2022-12-30 11:33:42', b'0', 126); |
| 2399 | 2439 | INSERT INTO `system_role` (`id`, `name`, `code`, `sort`, `data_scope`, `data_scope_dept_ids`, `status`, `type`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (116, '租户管理员', 'tenant_admin', 0, 1, '', 0, 1, '系统自动生成', '1', '2022-12-30 11:33:48', '1', '2022-12-30 11:33:48', b'0', 127); |
| 2400 | 2440 | INSERT INTO `system_role` (`id`, `name`, `code`, `sort`, `data_scope`, `data_scope_dept_ids`, `status`, `type`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (118, '租户管理员', 'tenant_admin', 0, 1, '', 0, 1, '系统自动生成', '1', '2022-12-30 11:47:52', '1', '2022-12-30 11:47:52', b'0', 129); |
| 2441 | +INSERT INTO `system_role` (`id`, `name`, `code`, `sort`, `data_scope`, `data_scope_dept_ids`, `status`, `type`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (136, '租户管理员', 'tenant_admin', 0, 1, '', 0, 1, '系统自动生成', '1', '2023-03-05 21:23:32', '1', '2023-03-05 21:23:32', b'0', 147); | |
| 2442 | +INSERT INTO `system_role` (`id`, `name`, `code`, `sort`, `data_scope`, `data_scope_dept_ids`, `status`, `type`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (137, '租户管理员', 'tenant_admin', 0, 1, '', 0, 1, '系统自动生成', '1', '2023-03-05 21:42:27', '1', '2023-03-05 21:42:27', b'0', 148); | |
| 2443 | +INSERT INTO `system_role` (`id`, `name`, `code`, `sort`, `data_scope`, `data_scope_dept_ids`, `status`, `type`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (138, '租户管理员', 'tenant_admin', 0, 1, '', 0, 1, '系统自动生成', '1', '2023-03-05 21:59:02', '1', '2023-03-05 21:59:02', b'0', 149); | |
| 2401 | 2444 | COMMIT; |
| 2402 | 2445 | |
| 2403 | 2446 | -- ---------------------------- |
| ... | ... | @@ -2415,7 +2458,7 @@ CREATE TABLE `system_role_menu` ( |
| 2415 | 2458 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', |
| 2416 | 2459 | `tenant_id` bigint NOT NULL DEFAULT 0 COMMENT '租户编号', |
| 2417 | 2460 | PRIMARY KEY (`id`) USING BTREE |
| 2418 | -) ENGINE = InnoDB AUTO_INCREMENT = 2313 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '角色和菜单关联表'; | |
| 2461 | +) ENGINE = InnoDB AUTO_INCREMENT = 2873 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '角色和菜单关联表'; | |
| 2419 | 2462 | |
| 2420 | 2463 | -- ---------------------------- |
| 2421 | 2464 | -- Records of system_role_menu |
| ... | ... | @@ -3141,6 +3184,90 @@ INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_t |
| 3141 | 3184 | INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2310, 101, 1021, '1', '2023-02-09 23:49:46', '1', '2023-02-09 23:49:46', b'0', 1); |
| 3142 | 3185 | INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2311, 101, 1022, '1', '2023-02-09 23:49:46', '1', '2023-02-09 23:49:46', b'0', 1); |
| 3143 | 3186 | INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2312, 101, 1023, '1', '2023-02-09 23:49:46', '1', '2023-02-09 23:49:46', b'0', 1); |
| 3187 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2789, 136, 1, '1', '2023-03-05 21:23:32', '1', '2023-03-05 21:23:32', b'0', 147); | |
| 3188 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2790, 136, 1036, '1', '2023-03-05 21:23:32', '1', '2023-03-05 21:23:32', b'0', 147); | |
| 3189 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2791, 136, 1037, '1', '2023-03-05 21:23:32', '1', '2023-03-05 21:23:32', b'0', 147); | |
| 3190 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2792, 136, 1038, '1', '2023-03-05 21:23:32', '1', '2023-03-05 21:23:32', b'0', 147); | |
| 3191 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2793, 136, 1039, '1', '2023-03-05 21:23:32', '1', '2023-03-05 21:23:32', b'0', 147); | |
| 3192 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2794, 136, 100, '1', '2023-03-05 21:23:32', '1', '2023-03-05 21:23:32', b'0', 147); | |
| 3193 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2795, 136, 101, '1', '2023-03-05 21:23:32', '1', '2023-03-05 21:23:32', b'0', 147); | |
| 3194 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2796, 136, 1063, '1', '2023-03-05 21:23:32', '1', '2023-03-05 21:23:32', b'0', 147); | |
| 3195 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2797, 136, 103, '1', '2023-03-05 21:23:32', '1', '2023-03-05 21:23:32', b'0', 147); | |
| 3196 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2798, 136, 1064, '1', '2023-03-05 21:23:32', '1', '2023-03-05 21:23:32', b'0', 147); | |
| 3197 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2799, 136, 1001, '1', '2023-03-05 21:23:32', '1', '2023-03-05 21:23:32', b'0', 147); | |
| 3198 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2800, 136, 1065, '1', '2023-03-05 21:23:32', '1', '2023-03-05 21:23:32', b'0', 147); | |
| 3199 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2801, 136, 1002, '1', '2023-03-05 21:23:32', '1', '2023-03-05 21:23:32', b'0', 147); | |
| 3200 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2802, 136, 1003, '1', '2023-03-05 21:23:32', '1', '2023-03-05 21:23:32', b'0', 147); | |
| 3201 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2803, 136, 107, '1', '2023-03-05 21:23:32', '1', '2023-03-05 21:23:32', b'0', 147); | |
| 3202 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2804, 136, 1004, '1', '2023-03-05 21:23:32', '1', '2023-03-05 21:23:32', b'0', 147); | |
| 3203 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2805, 136, 1005, '1', '2023-03-05 21:23:32', '1', '2023-03-05 21:23:32', b'0', 147); | |
| 3204 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2806, 136, 1006, '1', '2023-03-05 21:23:32', '1', '2023-03-05 21:23:32', b'0', 147); | |
| 3205 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2807, 136, 1007, '1', '2023-03-05 21:23:32', '1', '2023-03-05 21:23:32', b'0', 147); | |
| 3206 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2808, 136, 1008, '1', '2023-03-05 21:23:32', '1', '2023-03-05 21:23:32', b'0', 147); | |
| 3207 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2809, 136, 1009, '1', '2023-03-05 21:23:32', '1', '2023-03-05 21:23:32', b'0', 147); | |
| 3208 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2810, 136, 1010, '1', '2023-03-05 21:23:32', '1', '2023-03-05 21:23:32', b'0', 147); | |
| 3209 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2811, 136, 1011, '1', '2023-03-05 21:23:32', '1', '2023-03-05 21:23:32', b'0', 147); | |
| 3210 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2812, 136, 1012, '1', '2023-03-05 21:23:32', '1', '2023-03-05 21:23:32', b'0', 147); | |
| 3211 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2813, 136, 1017, '1', '2023-03-05 21:23:32', '1', '2023-03-05 21:23:32', b'0', 147); | |
| 3212 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2814, 136, 1018, '1', '2023-03-05 21:23:32', '1', '2023-03-05 21:23:32', b'0', 147); | |
| 3213 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2815, 136, 1019, '1', '2023-03-05 21:23:32', '1', '2023-03-05 21:23:32', b'0', 147); | |
| 3214 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2816, 136, 1020, '1', '2023-03-05 21:23:32', '1', '2023-03-05 21:23:32', b'0', 147); | |
| 3215 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2817, 137, 1, '1', '2023-03-05 21:42:27', '1', '2023-03-05 21:42:27', b'0', 148); | |
| 3216 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2818, 137, 1036, '1', '2023-03-05 21:42:27', '1', '2023-03-05 21:42:27', b'0', 148); | |
| 3217 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2819, 137, 1037, '1', '2023-03-05 21:42:27', '1', '2023-03-05 21:42:27', b'0', 148); | |
| 3218 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2820, 137, 1038, '1', '2023-03-05 21:42:27', '1', '2023-03-05 21:42:27', b'0', 148); | |
| 3219 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2821, 137, 1039, '1', '2023-03-05 21:42:27', '1', '2023-03-05 21:42:27', b'0', 148); | |
| 3220 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2822, 137, 100, '1', '2023-03-05 21:42:27', '1', '2023-03-05 21:42:27', b'0', 148); | |
| 3221 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2823, 137, 101, '1', '2023-03-05 21:42:27', '1', '2023-03-05 21:42:27', b'0', 148); | |
| 3222 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2824, 137, 1063, '1', '2023-03-05 21:42:27', '1', '2023-03-05 21:42:27', b'0', 148); | |
| 3223 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2825, 137, 103, '1', '2023-03-05 21:42:27', '1', '2023-03-05 21:42:27', b'0', 148); | |
| 3224 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2826, 137, 1064, '1', '2023-03-05 21:42:27', '1', '2023-03-05 21:42:27', b'0', 148); | |
| 3225 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2827, 137, 1001, '1', '2023-03-05 21:42:27', '1', '2023-03-05 21:42:27', b'0', 148); | |
| 3226 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2828, 137, 1065, '1', '2023-03-05 21:42:27', '1', '2023-03-05 21:42:27', b'0', 148); | |
| 3227 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2829, 137, 1002, '1', '2023-03-05 21:42:27', '1', '2023-03-05 21:42:27', b'0', 148); | |
| 3228 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2830, 137, 1003, '1', '2023-03-05 21:42:27', '1', '2023-03-05 21:42:27', b'0', 148); | |
| 3229 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2831, 137, 107, '1', '2023-03-05 21:42:27', '1', '2023-03-05 21:42:27', b'0', 148); | |
| 3230 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2832, 137, 1004, '1', '2023-03-05 21:42:27', '1', '2023-03-05 21:42:27', b'0', 148); | |
| 3231 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2833, 137, 1005, '1', '2023-03-05 21:42:27', '1', '2023-03-05 21:42:27', b'0', 148); | |
| 3232 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2834, 137, 1006, '1', '2023-03-05 21:42:27', '1', '2023-03-05 21:42:27', b'0', 148); | |
| 3233 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2835, 137, 1007, '1', '2023-03-05 21:42:27', '1', '2023-03-05 21:42:27', b'0', 148); | |
| 3234 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2836, 137, 1008, '1', '2023-03-05 21:42:27', '1', '2023-03-05 21:42:27', b'0', 148); | |
| 3235 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2837, 137, 1009, '1', '2023-03-05 21:42:27', '1', '2023-03-05 21:42:27', b'0', 148); | |
| 3236 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2838, 137, 1010, '1', '2023-03-05 21:42:27', '1', '2023-03-05 21:42:27', b'0', 148); | |
| 3237 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2839, 137, 1011, '1', '2023-03-05 21:42:27', '1', '2023-03-05 21:42:27', b'0', 148); | |
| 3238 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2840, 137, 1012, '1', '2023-03-05 21:42:27', '1', '2023-03-05 21:42:27', b'0', 148); | |
| 3239 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2841, 137, 1017, '1', '2023-03-05 21:42:27', '1', '2023-03-05 21:42:27', b'0', 148); | |
| 3240 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2842, 137, 1018, '1', '2023-03-05 21:42:27', '1', '2023-03-05 21:42:27', b'0', 148); | |
| 3241 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2843, 137, 1019, '1', '2023-03-05 21:42:27', '1', '2023-03-05 21:42:27', b'0', 148); | |
| 3242 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2844, 137, 1020, '1', '2023-03-05 21:42:27', '1', '2023-03-05 21:42:27', b'0', 148); | |
| 3243 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2845, 138, 1, '1', '2023-03-05 21:59:02', '1', '2023-03-05 21:59:02', b'0', 149); | |
| 3244 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2846, 138, 1036, '1', '2023-03-05 21:59:02', '1', '2023-03-05 21:59:02', b'0', 149); | |
| 3245 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2847, 138, 1037, '1', '2023-03-05 21:59:02', '1', '2023-03-05 21:59:02', b'0', 149); | |
| 3246 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2848, 138, 1038, '1', '2023-03-05 21:59:02', '1', '2023-03-05 21:59:02', b'0', 149); | |
| 3247 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2849, 138, 1039, '1', '2023-03-05 21:59:02', '1', '2023-03-05 21:59:02', b'0', 149); | |
| 3248 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2850, 138, 100, '1', '2023-03-05 21:59:02', '1', '2023-03-05 21:59:02', b'0', 149); | |
| 3249 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2851, 138, 101, '1', '2023-03-05 21:59:02', '1', '2023-03-05 21:59:02', b'0', 149); | |
| 3250 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2852, 138, 1063, '1', '2023-03-05 21:59:02', '1', '2023-03-05 21:59:02', b'0', 149); | |
| 3251 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2853, 138, 103, '1', '2023-03-05 21:59:02', '1', '2023-03-05 21:59:02', b'0', 149); | |
| 3252 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2854, 138, 1064, '1', '2023-03-05 21:59:02', '1', '2023-03-05 21:59:02', b'0', 149); | |
| 3253 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2855, 138, 1001, '1', '2023-03-05 21:59:02', '1', '2023-03-05 21:59:02', b'0', 149); | |
| 3254 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2856, 138, 1065, '1', '2023-03-05 21:59:02', '1', '2023-03-05 21:59:02', b'0', 149); | |
| 3255 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2857, 138, 1002, '1', '2023-03-05 21:59:02', '1', '2023-03-05 21:59:02', b'0', 149); | |
| 3256 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2858, 138, 1003, '1', '2023-03-05 21:59:02', '1', '2023-03-05 21:59:02', b'0', 149); | |
| 3257 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2859, 138, 107, '1', '2023-03-05 21:59:02', '1', '2023-03-05 21:59:02', b'0', 149); | |
| 3258 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2860, 138, 1004, '1', '2023-03-05 21:59:02', '1', '2023-03-05 21:59:02', b'0', 149); | |
| 3259 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2861, 138, 1005, '1', '2023-03-05 21:59:02', '1', '2023-03-05 21:59:02', b'0', 149); | |
| 3260 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2862, 138, 1006, '1', '2023-03-05 21:59:02', '1', '2023-03-05 21:59:02', b'0', 149); | |
| 3261 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2863, 138, 1007, '1', '2023-03-05 21:59:02', '1', '2023-03-05 21:59:02', b'0', 149); | |
| 3262 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2864, 138, 1008, '1', '2023-03-05 21:59:02', '1', '2023-03-05 21:59:02', b'0', 149); | |
| 3263 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2865, 138, 1009, '1', '2023-03-05 21:59:02', '1', '2023-03-05 21:59:02', b'0', 149); | |
| 3264 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2866, 138, 1010, '1', '2023-03-05 21:59:02', '1', '2023-03-05 21:59:02', b'0', 149); | |
| 3265 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2867, 138, 1011, '1', '2023-03-05 21:59:02', '1', '2023-03-05 21:59:02', b'0', 149); | |
| 3266 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2868, 138, 1012, '1', '2023-03-05 21:59:02', '1', '2023-03-05 21:59:02', b'0', 149); | |
| 3267 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2869, 138, 1017, '1', '2023-03-05 21:59:02', '1', '2023-03-05 21:59:02', b'0', 149); | |
| 3268 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2870, 138, 1018, '1', '2023-03-05 21:59:02', '1', '2023-03-05 21:59:02', b'0', 149); | |
| 3269 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2871, 138, 1019, '1', '2023-03-05 21:59:02', '1', '2023-03-05 21:59:02', b'0', 149); | |
| 3270 | +INSERT INTO `system_role_menu` (`id`, `role_id`, `menu_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (2872, 138, 1020, '1', '2023-03-05 21:59:02', '1', '2023-03-05 21:59:02', b'0', 149); | |
| 3144 | 3271 | COMMIT; |
| 3145 | 3272 | |
| 3146 | 3273 | -- ---------------------------- |
| ... | ... | @@ -3265,7 +3392,7 @@ CREATE TABLE `system_sms_log` ( |
| 3265 | 3392 | `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', |
| 3266 | 3393 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', |
| 3267 | 3394 | PRIMARY KEY (`id`) USING BTREE |
| 3268 | -) ENGINE = InnoDB AUTO_INCREMENT = 348 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '短信日志'; | |
| 3395 | +) ENGINE = InnoDB AUTO_INCREMENT = 349 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '短信日志'; | |
| 3269 | 3396 | |
| 3270 | 3397 | -- ---------------------------- |
| 3271 | 3398 | -- Records of system_sms_log |
| ... | ... | @@ -3309,8 +3436,7 @@ INSERT INTO `system_sms_template` (`id`, `type`, `status`, `code`, `name`, `cont |
| 3309 | 3436 | INSERT INTO `system_sms_template` (`id`, `type`, `status`, `code`, `name`, `content`, `params`, `remark`, `api_template_id`, `channel_id`, `channel_code`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (9, 2, 0, 'bpm_task_assigned', '【工作流】任务被分配', '您收到了一条新的待办任务:{processInstanceName}-{taskName},申请人:{startUserNickname},处理链接:{detailUrl}', '[\"processInstanceName\",\"taskName\",\"startUserNickname\",\"detailUrl\"]', NULL, 'suibian', 4, 'DEBUG_DING_TALK', '1', '2022-01-21 22:31:19', '1', '2022-01-22 00:03:36', b'0'); |
| 3310 | 3437 | INSERT INTO `system_sms_template` (`id`, `type`, `status`, `code`, `name`, `content`, `params`, `remark`, `api_template_id`, `channel_id`, `channel_code`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (10, 2, 0, 'bpm_process_instance_reject', '【工作流】流程被不通过', '您的流程被审批不通过:{processInstanceName},原因:{reason},查看链接:{detailUrl}', '[\"processInstanceName\",\"reason\",\"detailUrl\"]', NULL, 'suibian', 4, 'DEBUG_DING_TALK', '1', '2022-01-22 00:03:31', '1', '2022-05-01 12:33:14', b'0'); |
| 3311 | 3438 | INSERT INTO `system_sms_template` (`id`, `type`, `status`, `code`, `name`, `content`, `params`, `remark`, `api_template_id`, `channel_id`, `channel_code`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (11, 2, 0, 'bpm_process_instance_approve', '【工作流】流程被通过', '您的流程被审批通过:{processInstanceName},查看链接:{detailUrl}', '[\"processInstanceName\",\"detailUrl\"]', NULL, 'suibian', 4, 'DEBUG_DING_TALK', '1', '2022-01-22 00:04:31', '1', '2022-03-27 20:32:21', b'0'); |
| 3312 | -INSERT INTO `system_sms_template` (`id`, `type`, `status`, `code`, `name`, `content`, `params`, `remark`, `api_template_id`, `channel_id`, `channel_code`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (12, 2, 0, 'demo', '演示模板', '我就是测试一下下', '[]', NULL, 'biubiubiu', 6, 'DEBUG_DING_TALK', '1', '2022-04-10 23:22:49', '1', '2022-04-10 23:22:49', b'0'); | |
| 3313 | -INSERT INTO `system_sms_template` (`id`, `type`, `status`, `code`, `name`, `content`, `params`, `remark`, `api_template_id`, `channel_id`, `channel_code`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (13, 1, 0, 'admin-sms-login', '后台用户短信登录', '您的验证码是{code}', '[\"code\"]', '', '4372216', 6, 'DEBUG_DING_TALK', '1', '2021-10-11 08:10:00', '1', '2022-12-10 21:25:51', b'0'); | |
| 3439 | +INSERT INTO `system_sms_template` (`id`, `type`, `status`, `code`, `name`, `content`, `params`, `remark`, `api_template_id`, `channel_id`, `channel_code`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (12, 2, 0, 'demo', '演示模板', '我就是测试一下下', '[]', NULL, 'biubiubiu', 6, 'DEBUG_DING_TALK', '1', '2022-04-10 23:22:49', '1', '2023-03-24 23:45:07', b'0'); | |
| 3314 | 3440 | COMMIT; |
| 3315 | 3441 | |
| 3316 | 3442 | -- ---------------------------- |
| ... | ... | @@ -3389,7 +3515,7 @@ CREATE TABLE `system_tenant` ( |
| 3389 | 3515 | `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', |
| 3390 | 3516 | `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', |
| 3391 | 3517 | PRIMARY KEY (`id`) USING BTREE |
| 3392 | -) ENGINE = InnoDB AUTO_INCREMENT = 130 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '租户表'; | |
| 3518 | +) ENGINE = InnoDB AUTO_INCREMENT = 150 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '租户表'; | |
| 3393 | 3519 | |
| 3394 | 3520 | -- ---------------------------- |
| 3395 | 3521 | -- Records of system_tenant |
| ... | ... | @@ -3398,10 +3524,6 @@ BEGIN; |
| 3398 | 3524 | INSERT INTO `system_tenant` (`id`, `name`, `contact_user_id`, `contact_name`, `contact_mobile`, `status`, `domain`, `package_id`, `expire_time`, `account_count`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (1, '芋道源码', NULL, '芋艿', '17321315478', 0, 'https://www.iocoder.cn', 0, '2099-02-19 17:14:16', 9999, '1', '2021-01-05 17:03:47', '1', '2022-02-23 12:15:11', b'0'); |
| 3399 | 3525 | INSERT INTO `system_tenant` (`id`, `name`, `contact_user_id`, `contact_name`, `contact_mobile`, `status`, `domain`, `package_id`, `expire_time`, `account_count`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (121, '小租户', 110, '小王2', '15601691300', 0, 'http://www.iocoder.cn', 111, '2024-03-11 00:00:00', 20, '1', '2022-02-22 00:56:14', '1', '2022-05-17 10:03:59', b'0'); |
| 3400 | 3526 | INSERT INTO `system_tenant` (`id`, `name`, `contact_user_id`, `contact_name`, `contact_mobile`, `status`, `domain`, `package_id`, `expire_time`, `account_count`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (122, '测试租户', 113, '芋道', '15601691300', 0, 'https://www.iocoder.cn', 111, '2022-04-30 00:00:00', 50, '1', '2022-03-07 21:37:58', '1', '2022-03-07 21:37:58', b'0'); |
| 3401 | -INSERT INTO `system_tenant` (`id`, `name`, `contact_user_id`, `contact_name`, `contact_mobile`, `status`, `domain`, `package_id`, `expire_time`, `account_count`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (125, '测试', 119, '12', NULL, 0, 'http://www.iocoder.cn', 111, '2022-12-22 00:00:00', 1, '1', '2022-12-30 11:32:03', '1', '2022-12-30 11:32:04', b'0'); | |
| 3402 | -INSERT INTO `system_tenant` (`id`, `name`, `contact_user_id`, `contact_name`, `contact_mobile`, `status`, `domain`, `package_id`, `expire_time`, `account_count`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (126, '测试', 120, '12', NULL, 0, 'http://www.iocoder.cn', 111, '2022-12-22 00:00:00', 1, '1', '2022-12-30 11:33:42', '1', '2022-12-30 11:33:42', b'0'); | |
| 3403 | -INSERT INTO `system_tenant` (`id`, `name`, `contact_user_id`, `contact_name`, `contact_mobile`, `status`, `domain`, `package_id`, `expire_time`, `account_count`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (127, '测试', 121, '12', NULL, 0, 'http://www.iocoder.cn', 111, '2022-12-22 00:00:00', 1, '1', '2022-12-30 11:33:48', '1', '2022-12-30 11:33:49', b'0'); | |
| 3404 | -INSERT INTO `system_tenant` (`id`, `name`, `contact_user_id`, `contact_name`, `contact_mobile`, `status`, `domain`, `package_id`, `expire_time`, `account_count`, `creator`, `create_time`, `updater`, `update_time`, `deleted`) VALUES (129, '测试', 122, '12', NULL, 0, 'http://www.iocoder.cn', 111, '2022-12-22 00:00:00', 1, '1', '2022-12-30 11:47:52', '1', '2022-12-30 11:47:53', b'0'); | |
| 3405 | 3527 | COMMIT; |
| 3406 | 3528 | |
| 3407 | 3529 | -- ---------------------------- |
| ... | ... | @@ -3473,7 +3595,7 @@ CREATE TABLE `system_user_role` ( |
| 3473 | 3595 | `deleted` bit(1) NULL DEFAULT b'0' COMMENT '是否删除', |
| 3474 | 3596 | `tenant_id` bigint NOT NULL DEFAULT 0 COMMENT '租户编号', |
| 3475 | 3597 | PRIMARY KEY (`id`) USING BTREE |
| 3476 | -) ENGINE = InnoDB AUTO_INCREMENT = 28 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '用户和角色关联表'; | |
| 3598 | +) ENGINE = InnoDB AUTO_INCREMENT = 31 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '用户和角色关联表'; | |
| 3477 | 3599 | |
| 3478 | 3600 | -- ---------------------------- |
| 3479 | 3601 | -- Records of system_user_role |
| ... | ... | @@ -3501,34 +3623,9 @@ INSERT INTO `system_user_role` (`id`, `user_id`, `role_id`, `creator`, `create_t |
| 3501 | 3623 | INSERT INTO `system_user_role` (`id`, `user_id`, `role_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (25, 121, 116, '1', '2022-12-30 11:33:49', '1', '2022-12-30 11:33:49', b'0', 127); |
| 3502 | 3624 | INSERT INTO `system_user_role` (`id`, `user_id`, `role_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (26, 122, 118, '1', '2022-12-30 11:47:53', '1', '2022-12-30 11:47:53', b'0', 129); |
| 3503 | 3625 | INSERT INTO `system_user_role` (`id`, `user_id`, `role_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (27, 112, 101, '1', '2023-02-09 23:18:51', '1', '2023-02-09 23:18:51', b'0', 1); |
| 3504 | -COMMIT; | |
| 3505 | - | |
| 3506 | --- ---------------------------- | |
| 3507 | --- Table structure for system_user_session | |
| 3508 | --- ---------------------------- | |
| 3509 | -DROP TABLE IF EXISTS `system_user_session`; | |
| 3510 | -CREATE TABLE `system_user_session` ( | |
| 3511 | - `id` bigint NOT NULL AUTO_INCREMENT COMMENT '编号', | |
| 3512 | - `token` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '会话编号', | |
| 3513 | - `user_id` bigint NOT NULL COMMENT '用户编号', | |
| 3514 | - `user_type` tinyint NOT NULL DEFAULT 0 COMMENT '用户类型', | |
| 3515 | - `session_timeout` datetime NOT NULL COMMENT '会话超时时间', | |
| 3516 | - `username` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '用户账号', | |
| 3517 | - `user_ip` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '用户 IP', | |
| 3518 | - `user_agent` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '浏览器 UA', | |
| 3519 | - `creator` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '创建者', | |
| 3520 | - `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间', | |
| 3521 | - `updater` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '更新者', | |
| 3522 | - `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间', | |
| 3523 | - `deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除', | |
| 3524 | - `tenant_id` bigint NOT NULL DEFAULT 0 COMMENT '租户编号', | |
| 3525 | - PRIMARY KEY (`id`) USING BTREE | |
| 3526 | -) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '用户在线 Session'; | |
| 3527 | - | |
| 3528 | --- ---------------------------- | |
| 3529 | --- Records of system_user_session | |
| 3530 | --- ---------------------------- | |
| 3531 | -BEGIN; | |
| 3626 | +INSERT INTO `system_user_role` (`id`, `user_id`, `role_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (28, 123, 136, '1', '2023-03-05 21:23:35', '1', '2023-03-05 21:23:35', b'0', 147); | |
| 3627 | +INSERT INTO `system_user_role` (`id`, `user_id`, `role_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (29, 124, 137, '1', '2023-03-05 21:42:27', '1', '2023-03-05 21:42:27', b'0', 148); | |
| 3628 | +INSERT INTO `system_user_role` (`id`, `user_id`, `role_id`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (30, 125, 138, '1', '2023-03-05 21:59:03', '1', '2023-03-05 21:59:03', b'0', 149); | |
| 3532 | 3629 | COMMIT; |
| 3533 | 3630 | |
| 3534 | 3631 | -- ---------------------------- |
| ... | ... | @@ -3546,7 +3643,7 @@ CREATE TABLE `system_users` ( |
| 3546 | 3643 | `email` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '用户邮箱', |
| 3547 | 3644 | `mobile` varchar(11) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '手机号码', |
| 3548 | 3645 | `sex` tinyint NULL DEFAULT 0 COMMENT '用户性别', |
| 3549 | - `avatar` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '头像地址', | |
| 3646 | + `avatar` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '头像地址', | |
| 3550 | 3647 | `status` tinyint NOT NULL DEFAULT 0 COMMENT '帐号状态(0正常 1停用)', |
| 3551 | 3648 | `login_ip` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '最后登录IP', |
| 3552 | 3649 | `login_date` datetime NULL DEFAULT NULL COMMENT '最后登录时间', |
| ... | ... | @@ -3558,13 +3655,13 @@ CREATE TABLE `system_users` ( |
| 3558 | 3655 | `tenant_id` bigint NOT NULL DEFAULT 0 COMMENT '租户编号', |
| 3559 | 3656 | PRIMARY KEY (`id`) USING BTREE, |
| 3560 | 3657 | UNIQUE INDEX `idx_username`(`username` ASC, `update_time` ASC, `tenant_id` ASC) USING BTREE |
| 3561 | -) ENGINE = InnoDB AUTO_INCREMENT = 123 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '用户信息表'; | |
| 3658 | +) ENGINE = InnoDB AUTO_INCREMENT = 126 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '用户信息表'; | |
| 3562 | 3659 | |
| 3563 | 3660 | -- ---------------------------- |
| 3564 | 3661 | -- Records of system_users |
| 3565 | 3662 | -- ---------------------------- |
| 3566 | 3663 | BEGIN; |
| 3567 | -INSERT INTO `system_users` (`id`, `username`, `password`, `nickname`, `remark`, `dept_id`, `post_ids`, `email`, `mobile`, `sex`, `avatar`, `status`, `login_ip`, `login_date`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (1, 'admin', '$2a$10$mRMIYLDtRHlf6.9ipiqH1.Z.bh/R9dO9d5iHiGYPigi6r5KOoR2Wm', '芋道源码', '管理员', 103, '[1]', 'aoteman@126.com', '15612345678', 1, 'http://test.yudao.iocoder.cn/e1fdd7271685ec143a0900681606406621717a666ad0b2798b096df41422b32f.png', 0, '0:0:0:0:0:0:0:1', '2023-02-10 13:49:49', 'admin', '2021-01-05 17:03:47', NULL, '2023-02-10 13:49:49', b'0', 1); | |
| 3664 | +INSERT INTO `system_users` (`id`, `username`, `password`, `nickname`, `remark`, `dept_id`, `post_ids`, `email`, `mobile`, `sex`, `avatar`, `status`, `login_ip`, `login_date`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (1, 'admin', '$2a$10$mRMIYLDtRHlf6.9ipiqH1.Z.bh/R9dO9d5iHiGYPigi6r5KOoR2Wm', '芋道源码', '管理员', 103, '[1]', 'aoteman@126.com', '15612345678', 1, 'http://test.yudao.iocoder.cn/e1fdd7271685ec143a0900681606406621717a666ad0b2798b096df41422b32f.png', 0, '0:0:0:0:0:0:0:1', '2023-04-13 07:46:00', 'admin', '2021-01-05 17:03:47', NULL, '2023-04-13 07:46:00', b'0', 1); | |
| 3568 | 3665 | INSERT INTO `system_users` (`id`, `username`, `password`, `nickname`, `remark`, `dept_id`, `post_ids`, `email`, `mobile`, `sex`, `avatar`, `status`, `login_ip`, `login_date`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (100, 'yudao', '$2a$10$11U48RhyJ5pSBYWSn12AD./ld671.ycSzJHbyrtpeoMeYiw31eo8a', '芋道', '不要吓我', 104, '[1]', 'yudao@iocoder.cn', '15601691300', 1, '', 1, '127.0.0.1', '2022-07-09 23:03:33', '', '2021-01-07 09:07:17', NULL, '2022-07-09 23:03:33', b'0', 1); |
| 3569 | 3666 | INSERT INTO `system_users` (`id`, `username`, `password`, `nickname`, `remark`, `dept_id`, `post_ids`, `email`, `mobile`, `sex`, `avatar`, `status`, `login_ip`, `login_date`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (103, 'yuanma', '$2a$10$YMpimV4T6BtDhIaA8jSW.u8UTGBeGhc/qwXP4oxoMr4mOw9.qttt6', '源码', NULL, 106, NULL, 'yuanma@iocoder.cn', '15601701300', 0, '', 0, '127.0.0.1', '2022-07-08 01:26:27', '', '2021-01-13 23:50:35', NULL, '2022-07-08 01:26:27', b'0', 1); |
| 3570 | 3667 | INSERT INTO `system_users` (`id`, `username`, `password`, `nickname`, `remark`, `dept_id`, `post_ids`, `email`, `mobile`, `sex`, `avatar`, `status`, `login_ip`, `login_date`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (104, 'test', '$2a$10$GP8zvqHB//TekuzYZSBYAuBQJiNq1.fxQVDYJ.uBCOnWCtDVKE4H6', '测试号', NULL, 107, '[1,2]', '111@qq.com', '15601691200', 1, '', 0, '127.0.0.1', '2022-05-28 15:43:17', '', '2021-01-21 02:13:53', NULL, '2022-07-09 09:00:33', b'0', 1); |
| ... | ... | @@ -3584,6 +3681,9 @@ INSERT INTO `system_users` (`id`, `username`, `password`, `nickname`, `remark`, |
| 3584 | 3681 | INSERT INTO `system_users` (`id`, `username`, `password`, `nickname`, `remark`, `dept_id`, `post_ids`, `email`, `mobile`, `sex`, `avatar`, `status`, `login_ip`, `login_date`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (120, 'admin', '$2a$10$D.xFtcgma/NJ3SyYlUj3bORcs0mwOD6Zu.4I7GCI/8/25/QSn4qJC', '12', NULL, NULL, NULL, '', '', 0, '', 0, '', NULL, '1', '2022-12-30 11:33:42', '1', '2022-12-30 11:33:42', b'0', 126); |
| 3585 | 3682 | INSERT INTO `system_users` (`id`, `username`, `password`, `nickname`, `remark`, `dept_id`, `post_ids`, `email`, `mobile`, `sex`, `avatar`, `status`, `login_ip`, `login_date`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (121, 'admin', '$2a$10$R2guBf7TyERjjW9lm0Pd0Osut6vt7NuH2Vx6fkOI5.VgSvJK2Xb82', '12', NULL, NULL, NULL, '', '', 0, '', 0, '', NULL, '1', '2022-12-30 11:33:49', '1', '2022-12-30 11:33:49', b'0', 127); |
| 3586 | 3683 | INSERT INTO `system_users` (`id`, `username`, `password`, `nickname`, `remark`, `dept_id`, `post_ids`, `email`, `mobile`, `sex`, `avatar`, `status`, `login_ip`, `login_date`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (122, 'admin', '$2a$10$pwxqUUza61HBgx3FTjp2d.Mc2UKalikXxP91wUdP4bFe7Hl.lfmeq', '12', NULL, NULL, NULL, '', '', 0, '', 0, '', NULL, '1', '2022-12-30 11:47:52', '1', '2022-12-30 11:47:52', b'0', 129); |
| 3684 | +INSERT INTO `system_users` (`id`, `username`, `password`, `nickname`, `remark`, `dept_id`, `post_ids`, `email`, `mobile`, `sex`, `avatar`, `status`, `login_ip`, `login_date`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (123, 'tudou', '$2a$10$m33ROHSPa9lshwQIaiVlFeoG1TZjCoQmfvExn4QWS8r5X59AEsTz2', '15601691234', NULL, NULL, NULL, '', '', 0, '', 0, '', NULL, '1', '2023-03-05 21:23:35', '1', '2023-03-05 21:23:35', b'0', 147); | |
| 3685 | +INSERT INTO `system_users` (`id`, `username`, `password`, `nickname`, `remark`, `dept_id`, `post_ids`, `email`, `mobile`, `sex`, `avatar`, `status`, `login_ip`, `login_date`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (124, 'tudou', '$2a$10$1pzAJAEIRf/vYyMy8FTFiOzX40Q/NnozXixun/ExPZwv8A/CQkR4q', '15601691234', NULL, NULL, NULL, '', '', 0, '', 0, '', NULL, '1', '2023-03-05 21:42:27', '1', '2023-03-05 21:42:27', b'0', 148); | |
| 3686 | +INSERT INTO `system_users` (`id`, `username`, `password`, `nickname`, `remark`, `dept_id`, `post_ids`, `email`, `mobile`, `sex`, `avatar`, `status`, `login_ip`, `login_date`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (125, 'admin', '$2a$10$E49momkI6Uf9v6pkfjoRP.dHzK4RjDIK39AWHz9eXRmqUR5sbJpoy', '秃头', NULL, NULL, NULL, '', '', 0, '', 0, '', NULL, '1', '2023-03-05 21:59:03', '1', '2023-03-05 21:59:03', b'0', 149); | |
| 3587 | 3687 | COMMIT; |
| 3588 | 3688 | |
| 3589 | 3689 | SET FOREIGN_KEY_CHECKS = 1; | ... | ... |
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/codegen/vo/CodegenUpdateReqVO.java
| ... | ... | @@ -36,7 +36,7 @@ public class CodegenUpdateReqVO { |
| 36 | 36 | @Schema(description = "编号", required = true, example = "1") |
| 37 | 37 | private Long id; |
| 38 | 38 | |
| 39 | - @AssertTrue(message = "上级菜单不能为空") | |
| 39 | + @AssertTrue(message = "上级菜单不能为空,请前往 [修改生成配置 -> 生成信息] 界面,设置“上级菜单”字段") | |
| 40 | 40 | public boolean isParentMenuIdValid() { |
| 41 | 41 | // 生成场景为管理后台时,必须设置上级菜单,不然生成的菜单 SQL 是无父级菜单的 |
| 42 | 42 | return ObjectUtil.notEqual(getScene(), CodegenSceneEnum.ADMIN.getScene()) | ... | ... |
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/codegen/vo/table/CodegenTableBaseVO.java
| ... | ... | @@ -50,6 +50,10 @@ public class CodegenTableBaseVO { |
| 50 | 50 | @NotNull(message = "模板类型不能为空") |
| 51 | 51 | private Integer templateType; |
| 52 | 52 | |
| 53 | + @Schema(description = "前端类型,参见 CodegenFrontTypeEnum 枚举", required = true, example = "20") | |
| 54 | + @NotNull(message = "前端类型不能为空") | |
| 55 | + private Integer frontType; | |
| 56 | + | |
| 53 | 57 | @Schema(description = "父菜单编号", example = "1024") |
| 54 | 58 | private Long parentMenuId; |
| 55 | 59 | ... | ... |
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/config/ConfigController.java
| ... | ... | @@ -73,7 +73,7 @@ public class ConfigController { |
| 73 | 73 | public CommonResult<String> getConfigKey(@RequestParam("key") String key) { |
| 74 | 74 | ConfigDO config = configService.getConfigByKey(key); |
| 75 | 75 | if (config == null) { |
| 76 | - return null; | |
| 76 | + return success(null); | |
| 77 | 77 | } |
| 78 | 78 | if (!config.getVisible()) { |
| 79 | 79 | throw exception(ErrorCodeConstants.CONFIG_GET_VALUE_ERROR_IF_VISIBLE); | ... | ... |
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/dal/dataobject/codegen/CodegenTableDO.java
| ... | ... | @@ -2,6 +2,7 @@ package cn.iocoder.yudao.module.infra.dal.dataobject.codegen; |
| 2 | 2 | |
| 3 | 3 | import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO; |
| 4 | 4 | import cn.iocoder.yudao.module.infra.dal.dataobject.db.DataSourceConfigDO; |
| 5 | +import cn.iocoder.yudao.module.infra.enums.codegen.CodegenFrontTypeEnum; | |
| 5 | 6 | import cn.iocoder.yudao.module.infra.enums.codegen.CodegenSceneEnum; |
| 6 | 7 | import cn.iocoder.yudao.module.infra.enums.codegen.CodegenTemplateTypeEnum; |
| 7 | 8 | import com.baomidou.mybatisplus.annotation.KeySequence; |
| ... | ... | @@ -99,6 +100,12 @@ public class CodegenTableDO extends BaseDO { |
| 99 | 100 | * 枚举 {@link CodegenTemplateTypeEnum} |
| 100 | 101 | */ |
| 101 | 102 | private Integer templateType; |
| 103 | + /** | |
| 104 | + * 代码生成的前端类型 | |
| 105 | + * | |
| 106 | + * 枚举 {@link CodegenFrontTypeEnum} | |
| 107 | + */ | |
| 108 | + private Integer frontType; | |
| 102 | 109 | |
| 103 | 110 | // ========== 菜单相关字段 ========== |
| 104 | 111 | ... | ... |
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/enums/codegen/CodegenFrontTypeEnum.java
0 → 100644
| 1 | +package cn.iocoder.yudao.module.infra.enums.codegen; | |
| 2 | + | |
| 3 | +import lombok.AllArgsConstructor; | |
| 4 | +import lombok.Getter; | |
| 5 | + | |
| 6 | +/** | |
| 7 | + * 代码生成的前端类型枚举 | |
| 8 | + * | |
| 9 | + * @author 芋道源码 | |
| 10 | + */ | |
| 11 | +@AllArgsConstructor | |
| 12 | +@Getter | |
| 13 | +public enum CodegenFrontTypeEnum { | |
| 14 | + | |
| 15 | + VUE2(10), // Vue2 Element UI 标准模版 | |
| 16 | + VUE3(20), // Vue3 Element Plus 标准模版 | |
| 17 | + VUE3_SCHEMA(21), // Vue3 Element Plus Schema 模版 | |
| 18 | + ; | |
| 19 | + | |
| 20 | + /** | |
| 21 | + * 类型 | |
| 22 | + */ | |
| 23 | + private final Integer type; | |
| 24 | + | |
| 25 | +} | ... | ... |
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/framework/codegen/config/CodegenProperties.java
| 1 | 1 | package cn.iocoder.yudao.module.infra.framework.codegen.config; |
| 2 | 2 | |
| 3 | +import cn.iocoder.yudao.module.infra.enums.codegen.CodegenFrontTypeEnum; | |
| 3 | 4 | import lombok.Data; |
| 4 | 5 | import org.springframework.boot.context.properties.ConfigurationProperties; |
| 5 | 6 | import org.springframework.validation.annotation.Validated; |
| ... | ... | @@ -25,4 +26,12 @@ public class CodegenProperties { |
| 25 | 26 | @NotEmpty(message = "数据库不能为空") |
| 26 | 27 | private Collection<String> dbSchemas; |
| 27 | 28 | |
| 29 | + /** | |
| 30 | + * 代码生成的前端类型(默认) | |
| 31 | + * | |
| 32 | + * 枚举 {@link CodegenFrontTypeEnum#getType()} | |
| 33 | + */ | |
| 34 | + @NotNull(message = "代码生成的前端类型不能为空") | |
| 35 | + private Integer frontType; | |
| 36 | + | |
| 28 | 37 | } | ... | ... |
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/service/codegen/CodegenServiceImpl.java
| ... | ... | @@ -14,6 +14,7 @@ import cn.iocoder.yudao.module.infra.dal.dataobject.codegen.CodegenTableDO; |
| 14 | 14 | import cn.iocoder.yudao.module.infra.dal.mysql.codegen.CodegenColumnMapper; |
| 15 | 15 | import cn.iocoder.yudao.module.infra.dal.mysql.codegen.CodegenTableMapper; |
| 16 | 16 | import cn.iocoder.yudao.module.infra.enums.codegen.CodegenSceneEnum; |
| 17 | +import cn.iocoder.yudao.module.infra.framework.codegen.config.CodegenProperties; | |
| 17 | 18 | import cn.iocoder.yudao.module.infra.service.codegen.inner.CodegenBuilder; |
| 18 | 19 | import cn.iocoder.yudao.module.infra.service.codegen.inner.CodegenEngine; |
| 19 | 20 | import cn.iocoder.yudao.module.infra.service.db.DatabaseTableService; |
| ... | ... | @@ -58,6 +59,9 @@ public class CodegenServiceImpl implements CodegenService { |
| 58 | 59 | @Resource |
| 59 | 60 | private CodegenEngine codegenEngine; |
| 60 | 61 | |
| 62 | + @Resource | |
| 63 | + private CodegenProperties codegenProperties; | |
| 64 | + | |
| 61 | 65 | @Override |
| 62 | 66 | @Transactional(rollbackFor = Exception.class) |
| 63 | 67 | public List<Long> createCodegenList(Long userId, CodegenCreateListReqVO reqVO) { |
| ... | ... | @@ -87,6 +91,7 @@ public class CodegenServiceImpl implements CodegenService { |
| 87 | 91 | CodegenTableDO table = codegenBuilder.buildTable(tableInfo); |
| 88 | 92 | table.setDataSourceConfigId(dataSourceConfigId); |
| 89 | 93 | table.setScene(CodegenSceneEnum.ADMIN.getScene()); // 默认配置下,使用管理后台的模板 |
| 94 | + table.setFrontType(codegenProperties.getFrontType()); | |
| 90 | 95 | table.setAuthor(userApi.getUser(userId).getNickname()); |
| 91 | 96 | codegenTableMapper.insert(table); |
| 92 | 97 | ... | ... |
yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/service/codegen/inner/CodegenEngine.java
| ... | ... | @@ -23,9 +23,12 @@ import cn.iocoder.yudao.framework.operatelog.core.annotations.OperateLog; |
| 23 | 23 | import cn.iocoder.yudao.framework.operatelog.core.enums.OperateTypeEnum; |
| 24 | 24 | import cn.iocoder.yudao.module.infra.dal.dataobject.codegen.CodegenColumnDO; |
| 25 | 25 | import cn.iocoder.yudao.module.infra.dal.dataobject.codegen.CodegenTableDO; |
| 26 | +import cn.iocoder.yudao.module.infra.enums.codegen.CodegenFrontTypeEnum; | |
| 26 | 27 | import cn.iocoder.yudao.module.infra.enums.codegen.CodegenSceneEnum; |
| 27 | 28 | import cn.iocoder.yudao.module.infra.framework.codegen.config.CodegenProperties; |
| 29 | +import com.google.common.collect.ImmutableTable; | |
| 28 | 30 | import com.google.common.collect.Maps; |
| 31 | +import com.google.common.collect.Table; | |
| 29 | 32 | import org.springframework.stereotype.Component; |
| 30 | 33 | |
| 31 | 34 | import javax.annotation.PostConstruct; |
| ... | ... | @@ -50,11 +53,12 @@ import static cn.hutool.core.text.CharSequenceUtil.*; |
| 50 | 53 | public class CodegenEngine { |
| 51 | 54 | |
| 52 | 55 | /** |
| 53 | - * 模板配置 | |
| 56 | + * 后端的模板配置 | |
| 57 | + * | |
| 54 | 58 | * key:模板在 resources 的地址 |
| 55 | 59 | * value:生成的路径 |
| 56 | 60 | */ |
| 57 | - private static final Map<String, String> TEMPLATES = MapUtil.<String, String>builder(new LinkedHashMap<>()) // 有序 | |
| 61 | + private static final Map<String, String> SERVER_TEMPLATES = MapUtil.<String, String>builder(new LinkedHashMap<>()) // 有序 | |
| 58 | 62 | // Java module-biz Main |
| 59 | 63 | .put(javaTemplatePath("controller/vo/baseVO"), javaModuleImplVOFilePath("BaseVO")) |
| 60 | 64 | .put(javaTemplatePath("controller/vo/createReqVO"), javaModuleImplVOFilePath("CreateReqVO")) |
| ... | ... | @@ -80,21 +84,38 @@ public class CodegenEngine { |
| 80 | 84 | javaModuleImplTestFilePath("service/${table.businessName}/${table.className}ServiceImplTest")) |
| 81 | 85 | // Java module-api Main |
| 82 | 86 | .put(javaTemplatePath("enums/errorcode"), javaModuleApiMainFilePath("enums/ErrorCodeConstants_手动操作")) |
| 83 | - // Vue2 | |
| 84 | - .put(vueTemplatePath("views/index.vue"), | |
| 87 | + // SQL | |
| 88 | + .put("codegen/sql/sql.vm", "sql/sql.sql") | |
| 89 | + .put("codegen/sql/h2.vm", "sql/h2.sql") | |
| 90 | + .build(); | |
| 91 | + | |
| 92 | + /** | |
| 93 | + * 后端的配置模版 | |
| 94 | + * | |
| 95 | + * key1:UI 模版的类型 {@link CodegenFrontTypeEnum#getType()} | |
| 96 | + * key2:模板在 resources 的地址 | |
| 97 | + * value:生成的路径 | |
| 98 | + */ | |
| 99 | + private static final Table<Integer, String, String> FRONT_TEMPLATES = ImmutableTable.<Integer, String, String>builder() | |
| 100 | + // Vue2 标准模版 | |
| 101 | + .put(CodegenFrontTypeEnum.VUE2.getType(), vueTemplatePath("views/index.vue"), | |
| 85 | 102 | vueFilePath("views/${table.moduleName}/${classNameVar}/index.vue")) |
| 86 | - .put(vueTemplatePath("api/api.js"), | |
| 103 | + .put(CodegenFrontTypeEnum.VUE2.getType(), vueTemplatePath("api/api.js"), | |
| 87 | 104 | vueFilePath("api/${table.moduleName}/${classNameVar}.js")) |
| 88 | - // Vue3 | |
| 89 | - .put(vue3TemplatePath("views/index.vue"), | |
| 105 | + // Vue3 标准模版 | |
| 106 | + .put(CodegenFrontTypeEnum.VUE3.getType(), vue3TemplatePath("views/index.vue"), | |
| 90 | 107 | vue3FilePath("views/${table.moduleName}/${classNameVar}/index.vue")) |
| 91 | - .put(vue3TemplatePath("views/data.ts"), | |
| 92 | - vue3FilePath("views/${table.moduleName}/${classNameVar}/${classNameVar}.data.ts")) | |
| 93 | - .put(vue3TemplatePath("api/api.ts"), | |
| 108 | + .put(CodegenFrontTypeEnum.VUE3.getType(), vue3TemplatePath("views/form.vue"), | |
| 109 | + vue3FilePath("views/${table.moduleName}/${classNameVar}/${simpleClassName}Form.vue")) | |
| 110 | + .put(CodegenFrontTypeEnum.VUE3.getType(), vue3TemplatePath("api/api.ts"), | |
| 94 | 111 | vue3FilePath("api/${table.moduleName}/${classNameVar}/index.ts")) |
| 95 | - // SQL | |
| 96 | - .put("codegen/sql/sql.vm", "sql/sql.sql") | |
| 97 | - .put("codegen/sql/h2.vm", "sql/h2.sql") | |
| 112 | + // Vue3 Schema 模版 | |
| 113 | + .put(CodegenFrontTypeEnum.VUE3_SCHEMA.getType(), vue3SchemaTemplatePath("views/data.ts"), | |
| 114 | + vue3FilePath("views/${table.moduleName}/${classNameVar}/${classNameVar}.data.ts")) | |
| 115 | + .put(CodegenFrontTypeEnum.VUE3_SCHEMA.getType(), vue3SchemaTemplatePath("views/index.vue"), | |
| 116 | + vue3FilePath("views/${table.moduleName}/${classNameVar}/index.vue")) | |
| 117 | + .put(CodegenFrontTypeEnum.VUE3_SCHEMA.getType(), vue3SchemaTemplatePath("views/form.vue"), | |
| 118 | + vue3FilePath("views/${table.moduleName}/${classNameVar}/${simpleClassName}Form.vue")) | |
| 98 | 119 | .build(); |
| 99 | 120 | |
| 100 | 121 | @Resource |
| ... | ... | @@ -165,20 +186,32 @@ public class CodegenEngine { |
| 165 | 186 | bindingMap.put("permissionPrefix", table.getModuleName() + ":" + simpleClassNameStrikeCase); |
| 166 | 187 | |
| 167 | 188 | // 执行生成 |
| 168 | - final Map<String, String> result = Maps.newLinkedHashMapWithExpectedSize(TEMPLATES.size()); // 有序 | |
| 169 | - TEMPLATES.forEach((vmPath, filePath) -> { | |
| 189 | + Map<String, String> templates = getTemplates(table.getFrontType()); | |
| 190 | + Map<String, String> result = Maps.newLinkedHashMapWithExpectedSize(templates.size()); // 有序 | |
| 191 | + templates.forEach((vmPath, filePath) -> { | |
| 170 | 192 | filePath = formatFilePath(filePath, bindingMap); |
| 171 | 193 | String content = templateEngine.getTemplate(vmPath).render(bindingMap); |
| 194 | + // 去除字段后面多余的 , 逗号 | |
| 195 | + content = content.replaceAll(",\n}", "\n}").replaceAll(",\n }", "\n }"); | |
| 172 | 196 | result.put(filePath, content); |
| 173 | 197 | }); |
| 174 | 198 | return result; |
| 175 | 199 | } |
| 176 | 200 | |
| 201 | + private Map<String, String> getTemplates(Integer frontType) { | |
| 202 | + Map<String, String> templates = new LinkedHashMap<>(); | |
| 203 | + templates.putAll(SERVER_TEMPLATES); | |
| 204 | + templates.putAll(FRONT_TEMPLATES.row(frontType)); | |
| 205 | + return templates; | |
| 206 | + } | |
| 207 | + | |
| 177 | 208 | private String formatFilePath(String filePath, Map<String, Object> bindingMap) { |
| 178 | 209 | filePath = StrUtil.replace(filePath, "${basePackage}", |
| 179 | 210 | getStr(bindingMap, "basePackage").replaceAll("\\.", "/")); |
| 180 | 211 | filePath = StrUtil.replace(filePath, "${classNameVar}", |
| 181 | 212 | getStr(bindingMap, "classNameVar")); |
| 213 | + filePath = StrUtil.replace(filePath, "${simpleClassName}", | |
| 214 | + getStr(bindingMap, "simpleClassName")); | |
| 182 | 215 | // sceneEnum 包含的字段 |
| 183 | 216 | CodegenSceneEnum sceneEnum = (CodegenSceneEnum) bindingMap.get("sceneEnum"); |
| 184 | 217 | filePath = StrUtil.replace(filePath, "${sceneEnum.prefixClass}", sceneEnum.getPrefixClass()); |
| ... | ... | @@ -237,6 +270,7 @@ public class CodegenEngine { |
| 237 | 270 | return "yudao-ui-${sceneEnum.basePackage}/" + // 顶级目录 |
| 238 | 271 | "src/" + path; |
| 239 | 272 | } |
| 273 | + | |
| 240 | 274 | private static String vue3TemplatePath(String path) { |
| 241 | 275 | return "codegen/vue3/" + path + ".vm"; |
| 242 | 276 | } |
| ... | ... | @@ -245,4 +279,8 @@ public class CodegenEngine { |
| 245 | 279 | return "yudao-ui-${sceneEnum.basePackage}-vue3/" + // 顶级目录 |
| 246 | 280 | "src/" + path; |
| 247 | 281 | } |
| 282 | + | |
| 283 | + private static String vue3SchemaTemplatePath(String path) { | |
| 284 | + return "codegen/vue3_schema/" + path + ".vm"; | |
| 285 | + } | |
| 248 | 286 | } | ... | ... |
yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/sql/sql.vm
| 1 | 1 | -- 菜单 SQL |
| 2 | 2 | INSERT INTO system_menu( |
| 3 | 3 | name, permission, type, sort, parent_id, |
| 4 | - path, icon, component, status | |
| 4 | + path, icon, component, status, component_name | |
| 5 | 5 | ) |
| 6 | 6 | VALUES ( |
| 7 | 7 | '${table.classComment}管理', '', 2, 0, ${table.parentMenuId}, |
| 8 | - '${simpleClassName_strikeCase}', '', '${table.moduleName}/${classNameVar}/index', 0 | |
| 8 | + '${simpleClassName_strikeCase}', '', '${table.moduleName}/${classNameVar}/index', 0, '${table.className}' | |
| 9 | 9 | ); |
| 10 | 10 | |
| 11 | 11 | -- 按钮父菜单ID | ... | ... |
yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3/api/api.ts.vm
| ... | ... | @@ -14,61 +14,32 @@ export interface ${simpleClassName}VO { |
| 14 | 14 | #end |
| 15 | 15 | } |
| 16 | 16 | |
| 17 | -export interface ${simpleClassName}PageReqVO extends PageParam { | |
| 18 | -#foreach ($column in $columns) | |
| 19 | -#if (${column.listOperation})##查询操作 | |
| 20 | -#if(${column.javaType.toLowerCase()} == "long" || ${column.javaType.toLowerCase()} == "integer" || ${column.javaType.toLowerCase()} == "double" || ${column.javaType.toLowerCase()} == "bigdecimal") | |
| 21 | - ${column.javaField}?: number | |
| 22 | -#elseif(${column.javaType.toLowerCase()} == "date" || ${column.javaType.toLowerCase()} == "localdatetime") | |
| 23 | - ${column.javaField}?: Date[] | |
| 24 | -#else | |
| 25 | - ${column.javaField}?: ${column.javaType.toLowerCase()} | |
| 26 | -#end | |
| 27 | -#end | |
| 28 | -#end | |
| 29 | -} | |
| 30 | - | |
| 31 | -export interface ${simpleClassName}ExcelReqVO { | |
| 32 | -#foreach ($column in $columns) | |
| 33 | -#if (${column.listOperation})##查询操作 | |
| 34 | -#if(${column.javaType.toLowerCase()} == "long" || ${column.javaType.toLowerCase()} == "integer" || ${column.javaType.toLowerCase()} == "double" || ${column.javaType.toLowerCase()} == "bigdecimal") | |
| 35 | - ${column.javaField}?: number | |
| 36 | -#elseif(${column.javaType.toLowerCase()} == "date" || ${column.javaType.toLowerCase()} == "localdatetime") | |
| 37 | - ${column.javaField}?: Date[] | |
| 38 | -#else | |
| 39 | - ${column.javaField}?: ${column.javaType.toLowerCase()} | |
| 40 | -#end | |
| 41 | -#end | |
| 42 | -#end | |
| 43 | -} | |
| 44 | -#set ($baseURL = "/${table.moduleName}/${simpleClassName_strikeCase}") | |
| 45 | - | |
| 46 | 17 | // 查询${table.classComment}列表 |
| 47 | -export const get${simpleClassName}PageApi = async (params: ${simpleClassName}PageReqVO) => { | |
| 18 | +export const get${simpleClassName}Page = async (params: ${simpleClassName}PageReqVO) => { | |
| 48 | 19 | return await request.get({ url: '${baseURL}/page', params }) |
| 49 | 20 | } |
| 50 | 21 | |
| 51 | 22 | // 查询${table.classComment}详情 |
| 52 | -export const get${simpleClassName}Api = async (id: number) => { | |
| 23 | +export const get${simpleClassName} = async (id: number) => { | |
| 53 | 24 | return await request.get({ url: '${baseURL}/get?id=' + id }) |
| 54 | 25 | } |
| 55 | 26 | |
| 56 | 27 | // 新增${table.classComment} |
| 57 | -export const create${simpleClassName}Api = async (data: ${simpleClassName}VO) => { | |
| 28 | +export const create${simpleClassName} = async (data: ${simpleClassName}VO) => { | |
| 58 | 29 | return await request.post({ url: '${baseURL}/create', data }) |
| 59 | 30 | } |
| 60 | 31 | |
| 61 | 32 | // 修改${table.classComment} |
| 62 | -export const update${simpleClassName}Api = async (data: ${simpleClassName}VO) => { | |
| 33 | +export const update${simpleClassName} = async (data: ${simpleClassName}VO) => { | |
| 63 | 34 | return await request.put({ url: '${baseURL}/update', data }) |
| 64 | 35 | } |
| 65 | 36 | |
| 66 | 37 | // 删除${table.classComment} |
| 67 | -export const delete${simpleClassName}Api = async (id: number) => { | |
| 38 | +export const delete${simpleClassName} = async (id: number) => { | |
| 68 | 39 | return await request.delete({ url: '${baseURL}/delete?id=' + id }) |
| 69 | 40 | } |
| 70 | 41 | |
| 71 | 42 | // 导出${table.classComment} Excel |
| 72 | -export const export${simpleClassName}Api = async (params: ${simpleClassName}ExcelReqVO) => { | |
| 43 | +export const export${simpleClassName}Api = async (params) => { | |
| 73 | 44 | return await request.download({ url: '${baseURL}/export-excel', params }) |
| 74 | 45 | } | ... | ... |
yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3/views/form.vue.vm
0 → 100644
| 1 | +<template> | |
| 2 | + <Dialog :title="dialogTitle" v-model="dialogVisible"> | |
| 3 | + <el-form | |
| 4 | + ref="formRef" | |
| 5 | + :model="formData" | |
| 6 | + :rules="formRules" | |
| 7 | + label-width="100px" | |
| 8 | + v-loading="formLoading" | |
| 9 | + > | |
| 10 | +#set ($dictMethods = [])## 使用到的 dict 字典方法 | |
| 11 | +#foreach($column in $columns) | |
| 12 | + #if ($column.createOperation || $column.updateOperation) | |
| 13 | + #set ($dictType = $column.dictType) | |
| 14 | + #set ($javaField = $column.javaField) | |
| 15 | + #set ($javaType = $column.javaType) | |
| 16 | + #set ($AttrName = $column.javaField.substring(0,1).toUpperCase() + ${column.javaField.substring(1)}) | |
| 17 | + #set ($comment = $column.columnComment) | |
| 18 | + #set ($dictMethod = "getDictOptions")## 计算使用哪个 dict 字典方法 | |
| 19 | + #if ($javaType == "Integer" || $javaType == "Long" || $javaType == "Byte" || $javaType == "Short") | |
| 20 | + #set ($dictMethod = "getIntDictOptions") | |
| 21 | + #elseif ($javaType == "String") | |
| 22 | + #set ($dictMethod = "getStrDictOptions") | |
| 23 | + #elseif ($javaType == "Boolean") | |
| 24 | + #set ($dictMethod = "getBoolDictOptions") | |
| 25 | + #end | |
| 26 | + #if ($column.htmlType == "input" && !$column.primaryKey)## 忽略主键,不用在表单里 | |
| 27 | + <el-form-item label="${comment}" prop="${javaField}"> | |
| 28 | + <el-input v-model="formData.${javaField}" placeholder="请输入${comment}" /> | |
| 29 | + </el-form-item> | |
| 30 | + #elseif($column.htmlType == "imageUpload")## 图片上传 | |
| 31 | + #set ($hasImageUploadColumn = true) | |
| 32 | + <el-form-item label="${comment}"> | |
| 33 | + <UploadImg v-model="formData.${javaField}" /> | |
| 34 | + </el-form-item> | |
| 35 | + #elseif($column.htmlType == "fileUpload")## 文件上传 | |
| 36 | + #set ($hasFileUploadColumn = true) | |
| 37 | + <el-form-item label="${comment}"> | |
| 38 | + <UploadFile v-model="formData.${javaField}" /> | |
| 39 | + </el-form-item> | |
| 40 | + #elseif($column.htmlType == "editor")## 文本编辑器 | |
| 41 | + <el-form-item label="${comment}"> | |
| 42 | + <Editor :model-value="formData.${javaField}" height="150px" /> | |
| 43 | + </el-form-item> | |
| 44 | + #elseif($column.htmlType == "select")## 下拉框 | |
| 45 | + <el-form-item label="${comment}" prop="${javaField}"> | |
| 46 | + <el-select v-model="formData.${javaField}" placeholder="请选择${comment}"> | |
| 47 | + #if ("" != $dictType)## 有数据字典 | |
| 48 | + #if (!$dictMethods.contains($dictMethod))## 如果不存在,则添加到 dictMethods 数组中,后续好 import | |
| 49 | + #set($ignore = $dictMethods.add($dictMethod) ) | |
| 50 | + #end | |
| 51 | + <el-option | |
| 52 | + v-for="dict in $dictMethod(DICT_TYPE.$dictType.toUpperCase())" | |
| 53 | + :key="dict.value" | |
| 54 | + :label="dict.label" | |
| 55 | + :value="dict.value" | |
| 56 | + /> | |
| 57 | + #else##没数据字典 | |
| 58 | + <el-option label="请选择字典生成" value="" /> | |
| 59 | + #end | |
| 60 | + </el-select> | |
| 61 | + </el-form-item> | |
| 62 | + #elseif($column.htmlType == "checkbox")## 多选框 | |
| 63 | + <el-form-item label="${comment}" prop="${javaField}"> | |
| 64 | + <el-checkbox-group v-model="formData.${javaField}"> | |
| 65 | + #if ("" != $dictType)## 有数据字典 | |
| 66 | + #if (!$dictMethods.contains($dictMethod))## 如果不存在,则添加到 dictMethods 数组中,后续好 import | |
| 67 | + #set($ignore = $dictMethods.add($dictMethod) ) | |
| 68 | + #end | |
| 69 | + <el-checkbox | |
| 70 | + v-for="dict in $dictMethod(DICT_TYPE.$dictType.toUpperCase())" | |
| 71 | + :key="dict.value" | |
| 72 | + :label="dict.value" | |
| 73 | + > | |
| 74 | + {{ dict.label }} | |
| 75 | + </el-checkbox> | |
| 76 | + #else##没数据字典 | |
| 77 | + <el-checkbox>请选择字典生成</el-checkbox> | |
| 78 | + #end | |
| 79 | + </el-checkbox-group> | |
| 80 | + </el-form-item> | |
| 81 | + #elseif($column.htmlType == "radio")## 单选框 | |
| 82 | + <el-form-item label="${comment}" prop="${javaField}"> | |
| 83 | + <el-radio-group v-model="formData.${javaField}"> | |
| 84 | + #if ("" != $dictType)## 有数据字典 | |
| 85 | + #if (!$dictMethods.contains($dictMethod))## 如果不存在,则添加到 dictMethods 数组中,后续好 import | |
| 86 | + #set($ignore = $dictMethods.add($dictMethod) ) | |
| 87 | + #end | |
| 88 | + <el-radio | |
| 89 | + v-for="dict in $dictMethod(DICT_TYPE.$dictType.toUpperCase())" | |
| 90 | + :key="dict.value" | |
| 91 | + :label="dict.value" | |
| 92 | + > | |
| 93 | + {{ dict.label }} | |
| 94 | + </el-radio> | |
| 95 | + #else##没数据字典 | |
| 96 | + <el-radio label="1">请选择字典生成</el-radio> | |
| 97 | + #end | |
| 98 | + </el-radio-group> | |
| 99 | + </el-form-item> | |
| 100 | + #elseif($column.htmlType == "datetime")## 时间框 | |
| 101 | + <el-form-item label="${comment}" prop="${javaField}"> | |
| 102 | + <el-date-picker | |
| 103 | + v-model="formData.${javaField}" | |
| 104 | + type="date" | |
| 105 | + value-format="timestamp" | |
| 106 | + placeholder="选择${comment}" | |
| 107 | + /> | |
| 108 | + </el-form-item> | |
| 109 | + #elseif($column.htmlType == "textarea")## 文本框 | |
| 110 | + <el-form-item label="${comment}" prop="${javaField}"> | |
| 111 | + <el-input v-model="formData.${javaField}" type="textarea" placeholder="请输入${comment}" /> | |
| 112 | + </el-form-item> | |
| 113 | + #end | |
| 114 | + #end | |
| 115 | +#end | |
| 116 | + </el-form> | |
| 117 | + <template #footer> | |
| 118 | + <el-button @click="submitForm" type="primary" :disabled="formLoading">确 定</el-button> | |
| 119 | + <el-button @click="dialogVisible = false">取 消</el-button> | |
| 120 | + </template> | |
| 121 | + </Dialog> | |
| 122 | +</template> | |
| 123 | +<script setup lang="ts"> | |
| 124 | +#if ($dictMethods.size() > 0) | |
| 125 | +import { DICT_TYPE#foreach ($dictMethod in $dictMethods), ${dictMethod}#end } from '@/utils/dict' | |
| 126 | +#end | |
| 127 | +import * as ${simpleClassName}Api from '@/api/${table.moduleName}/${classNameVar}' | |
| 128 | + | |
| 129 | +const { t } = useI18n() // 国际化 | |
| 130 | +const message = useMessage() // 消息弹窗 | |
| 131 | + | |
| 132 | +const dialogVisible = ref(false) // 弹窗的是否展示 | |
| 133 | +const dialogTitle = ref('') // 弹窗的标题 | |
| 134 | +const formLoading = ref(false) // 表单的加载中:1)修改时的数据加载;2)提交的按钮禁用 | |
| 135 | +const formType = ref('') // 表单的类型:create - 新增;update - 修改 | |
| 136 | +const formData = ref({ | |
| 137 | +#set ($listOperationLastIndex = -1)## 求最后一个需要 , 的地方 | |
| 138 | +#foreach ($column in $columns) | |
| 139 | + #if ($column.createOperation || $column.updateOperation) | |
| 140 | + #set ($listOperationLastIndex = $foreach.index) | |
| 141 | + #end | |
| 142 | +#end | |
| 143 | +#foreach ($column in $columns) | |
| 144 | + #if ($column.createOperation || $column.updateOperation) | |
| 145 | + #if ($column.htmlType == "checkbox") | |
| 146 | + $column.javaField: []#if($foreach.index < $listOperationLastIndex),#end | |
| 147 | + #else | |
| 148 | + $column.javaField: undefined#if($foreach.index < $listOperationLastIndex),#end | |
| 149 | + #end | |
| 150 | + #end | |
| 151 | +#end | |
| 152 | +}) | |
| 153 | +const formRules = reactive({ | |
| 154 | +#set ($listOperationLastIndex = -1)## 求最后一个需要 , 的地方 | |
| 155 | +#foreach ($column in $columns) | |
| 156 | + #if (($column.createOperation || $column.updateOperation) && !$column.nullable && !${column.primaryKey})## 创建或者更新操作 && 要求非空 && 非主键 | |
| 157 | + #set ($listOperationLastIndex = $foreach.index) | |
| 158 | + #end | |
| 159 | +#end | |
| 160 | +#foreach ($column in $columns) | |
| 161 | + #if (($column.createOperation || $column.updateOperation) && !$column.nullable && !${column.primaryKey})## 创建或者更新操作 && 要求非空 && 非主键 | |
| 162 | + #set($comment=$column.columnComment) | |
| 163 | + $column.javaField: [{ required: true, message: '${comment}不能为空', trigger: #if($column.htmlType == 'select')'change'#else'blur'#end }]#if($foreach.index < $listOperationLastIndex),#end | |
| 164 | + #end | |
| 165 | +#end | |
| 166 | +}) | |
| 167 | +const formRef = ref() // 表单 Ref | |
| 168 | + | |
| 169 | +/** 打开弹窗 */ | |
| 170 | +const open = async (type: string, id?: number) => { | |
| 171 | + dialogVisible.value = true | |
| 172 | + dialogTitle.value = t('action.' + type) | |
| 173 | + formType.value = type | |
| 174 | + resetForm() | |
| 175 | + // 修改时,设置数据 | |
| 176 | + if (id) { | |
| 177 | + formLoading.value = true | |
| 178 | + try { | |
| 179 | + formData.value = await ${simpleClassName}Api.get${simpleClassName}(id) | |
| 180 | + } finally { | |
| 181 | + formLoading.value = false | |
| 182 | + } | |
| 183 | + } | |
| 184 | +} | |
| 185 | +defineExpose({ open }) // 提供 open 方法,用于打开弹窗 | |
| 186 | + | |
| 187 | +/** 提交表单 */ | |
| 188 | +const emit = defineEmits(['success']) // 定义 success 事件,用于操作成功后的回调 | |
| 189 | +const submitForm = async () => { | |
| 190 | + // 校验表单 | |
| 191 | + if (!formRef) return | |
| 192 | + const valid = await formRef.value.validate() | |
| 193 | + if (!valid) return | |
| 194 | + // 提交请求 | |
| 195 | + formLoading.value = true | |
| 196 | + try { | |
| 197 | + const data = formData.value as unknown as ${simpleClassName}Api.${simpleClassName}VO | |
| 198 | + if (formType.value === 'create') { | |
| 199 | + await ${simpleClassName}Api.create${simpleClassName}(data) | |
| 200 | + message.success(t('common.createSuccess')) | |
| 201 | + } else { | |
| 202 | + await ${simpleClassName}Api.update${simpleClassName}(data) | |
| 203 | + message.success(t('common.updateSuccess')) | |
| 204 | + } | |
| 205 | + dialogVisible.value = false | |
| 206 | + // 发送操作成功的事件 | |
| 207 | + emit('success') | |
| 208 | + } finally { | |
| 209 | + formLoading.value = false | |
| 210 | + } | |
| 211 | +} | |
| 212 | + | |
| 213 | +/** 重置表单 */ | |
| 214 | +const resetForm = () => { | |
| 215 | + formData.value = { | |
| 216 | +#set ($listOperationLastIndex = -1)## 求最后一个需要 , 的地方 | |
| 217 | +#foreach ($column in $columns) | |
| 218 | + #if ($column.createOperation || $column.updateOperation) | |
| 219 | + #set ($listOperationLastIndex = $foreach.index) | |
| 220 | + #end | |
| 221 | +#end | |
| 222 | +#foreach ($column in $columns) | |
| 223 | + #if ($column.createOperation || $column.updateOperation) | |
| 224 | + #if ($column.htmlType == "checkbox") | |
| 225 | + $column.javaField: []#if($foreach.index < $listOperationLastIndex),#end | |
| 226 | + #else | |
| 227 | + $column.javaField: undefined#if($foreach.index < $listOperationLastIndex),#end | |
| 228 | + #end | |
| 229 | + #end | |
| 230 | +#end | |
| 231 | + } | |
| 232 | + formRef.value?.resetFields() | |
| 233 | +} | |
| 234 | +</script> | ... | ... |
yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3/views/index.vue.vm
| 1 | 1 | <template> |
| 2 | 2 | <ContentWrap> |
| 3 | - <!-- 列表 --> | |
| 4 | - <XTable @register="registerTable"> | |
| 5 | - <template #toolbar_buttons> | |
| 6 | - <!-- 操作:新增 --> | |
| 7 | - <XButton | |
| 8 | - type="primary" | |
| 9 | - preIcon="ep:zoom-in" | |
| 10 | - :title="t('action.add')" | |
| 11 | - v-hasPermi="['${permissionPrefix}:create']" | |
| 12 | - @click="handleCreate()" | |
| 13 | - /> | |
| 14 | - <!-- 操作:导出 --> | |
| 15 | - <XButton | |
| 16 | - type="warning" | |
| 17 | - preIcon="ep:download" | |
| 18 | - :title="t('action.export')" | |
| 19 | - v-hasPermi="['${permissionPrefix}:export']" | |
| 20 | - @click="exportList('${table.classComment}.xls')" | |
| 21 | - /> | |
| 22 | - </template> | |
| 23 | - <template #actionbtns_default="{ row }"> | |
| 24 | - <!-- 操作:修改 --> | |
| 25 | - <XTextButton | |
| 26 | - preIcon="ep:edit" | |
| 27 | - :title="t('action.edit')" | |
| 28 | - v-hasPermi="['${permissionPrefix}:update']" | |
| 29 | - @click="handleUpdate(row.id)" | |
| 3 | + <!-- 搜索工作栏 --> | |
| 4 | + <el-form | |
| 5 | + class="-mb-15px" | |
| 6 | + :model="queryParams" | |
| 7 | + ref="queryFormRef" | |
| 8 | + :inline="true" | |
| 9 | + label-width="68px" | |
| 10 | + > | |
| 11 | + #set ($dictMethods = [])## 使用到的 dict 字典方法 | |
| 12 | + #foreach($column in $columns) | |
| 13 | + #if ($column.listOperation) | |
| 14 | + #set ($dictType = $column.dictType) | |
| 15 | + #set ($javaField = $column.javaField) | |
| 16 | + #set ($javaType = $column.javaType) | |
| 17 | + #set ($AttrName = $column.javaField.substring(0,1).toUpperCase() + ${column.javaField.substring(1)}) | |
| 18 | + #set ($comment = $column.columnComment) | |
| 19 | + #set ($dictMethod = "getDictOptions")## 计算使用哪个 dict 字典方法 | |
| 20 | + #if ($javaType == "Integer" || $javaType == "Long" || $javaType == "Byte" || $javaType == "Short") | |
| 21 | + #set ($dictMethod = "getIntDictOptions") | |
| 22 | + #elseif ($javaType == "String") | |
| 23 | + #set ($dictMethod = "getStrDictOptions") | |
| 24 | + #elseif ($javaType == "Boolean") | |
| 25 | + #set ($dictMethod = "getBoolDictOptions") | |
| 26 | + #end | |
| 27 | + #if ($column.htmlType == "input") | |
| 28 | + <el-form-item label="${comment}" prop="${javaField}"> | |
| 29 | + <el-input | |
| 30 | + v-model="queryParams.${javaField}" | |
| 31 | + placeholder="请输入${comment}" | |
| 32 | + clearable | |
| 33 | + @keyup.enter="handleQuery" | |
| 34 | + class="!w-240px" | |
| 30 | 35 | /> |
| 31 | - <!-- 操作:详情 --> | |
| 32 | - <XTextButton | |
| 33 | - preIcon="ep:view" | |
| 34 | - :title="t('action.detail')" | |
| 35 | - v-hasPermi="['${permissionPrefix}:query']" | |
| 36 | - @click="handleDetail(row.id)" | |
| 36 | + </el-form-item> | |
| 37 | + #elseif ($column.htmlType == "select" || $column.htmlType == "radio") | |
| 38 | + <el-form-item label="${comment}" prop="${javaField}"> | |
| 39 | + #if ($javaField.length() + $comment.length() > 8) | |
| 40 | + <el-select | |
| 41 | + v-model="queryParams.${javaField}" | |
| 42 | + placeholder="请选择${comment}" | |
| 43 | + clearable | |
| 44 | + class="!w-240px" | |
| 45 | + > | |
| 46 | + #else | |
| 47 | + <el-select v-model="queryParams.${javaField}" placeholder="请选择${comment}" clearable class="!w-240px"> | |
| 48 | + #end | |
| 49 | + #if ("" != $dictType)## 设置了 dictType 数据字典的情况 | |
| 50 | + #if (!$dictMethods.contains($dictMethod))## 如果不存在,则添加到 dictMethods 数组中,后续好 import | |
| 51 | + #set($ignore = $dictMethods.add($dictMethod) ) | |
| 52 | + #end | |
| 53 | + <el-option | |
| 54 | + v-for="dict in $dictMethod(DICT_TYPE.$dictType.toUpperCase())" | |
| 55 | + :key="dict.value" | |
| 56 | + :label="dict.label" | |
| 57 | + :value="dict.value" | |
| 58 | + /> | |
| 59 | + #else## 未设置 dictType 数据字典的情况 | |
| 60 | + <el-option label="请选择字典生成" value="" /> | |
| 61 | + #end | |
| 62 | + </el-select> | |
| 63 | + </el-form-item> | |
| 64 | + #elseif($column.htmlType == "datetime") | |
| 65 | + #if ($column.listOperationCondition != "BETWEEN")## 非范围 | |
| 66 | + <el-form-item label="${comment}" prop="${javaField}"> | |
| 67 | + <el-date-picker | |
| 68 | + v-model="queryParams.${javaField}" | |
| 69 | + value-format="yyyy-MM-dd" | |
| 70 | + type="date" | |
| 71 | + placeholder="选择${comment}" | |
| 72 | + clearable | |
| 73 | + class="!w-240px" | |
| 37 | 74 | /> |
| 38 | - <!-- 操作:删除 --> | |
| 39 | - <XTextButton | |
| 40 | - preIcon="ep:delete" | |
| 41 | - :title="t('action.del')" | |
| 42 | - v-hasPermi="['${permissionPrefix}:delete']" | |
| 43 | - @click="deleteData(row.id)" | |
| 75 | + </el-form-item> | |
| 76 | + #else## 范围 | |
| 77 | + <el-form-item label="${comment}" prop="${javaField}"> | |
| 78 | + <el-date-picker | |
| 79 | + v-model="queryParams.${javaField}" | |
| 80 | + value-format="yyyy-MM-dd HH:mm:ss" | |
| 81 | + type="daterange" | |
| 82 | + start-placeholder="开始日期" | |
| 83 | + end-placeholder="结束日期" | |
| 84 | + :default-time="[new Date('1 00:00:00'), new Date('1 23:59:59')]" | |
| 85 | + class="!w-240px" | |
| 44 | 86 | /> |
| 45 | - </template> | |
| 46 | - </XTable> | |
| 87 | + </el-form-item> | |
| 88 | + #end | |
| 89 | + #end | |
| 90 | + #end | |
| 91 | + #end | |
| 92 | + <el-form-item> | |
| 93 | + <el-button @click="handleQuery"><Icon icon="ep:search" class="mr-5px" /> 搜索</el-button> | |
| 94 | + <el-button @click="resetQuery"><Icon icon="ep:refresh" class="mr-5px" /> 重置</el-button> | |
| 95 | + #if ($permissionPrefix.length() <= 12) | |
| 96 | + <el-button type="primary" @click="openForm('create')" v-hasPermi="['${permissionPrefix}:create']"> | |
| 97 | + #else | |
| 98 | + <el-button | |
| 99 | + type="primary" | |
| 100 | + plain | |
| 101 | + @click="openForm('create')" | |
| 102 | + v-hasPermi="['${permissionPrefix}:create']" | |
| 103 | + > | |
| 104 | + #end | |
| 105 | + <Icon icon="ep:plus" class="mr-5px" /> 新增 | |
| 106 | + </el-button> | |
| 107 | + <el-button | |
| 108 | + type="success" | |
| 109 | + plain | |
| 110 | + @click="handleExport" | |
| 111 | + :loading="exportLoading" | |
| 112 | + v-hasPermi="['${permissionPrefix}:export']" | |
| 113 | + > | |
| 114 | + <Icon icon="ep:download" class="mr-5px" /> 导出 | |
| 115 | + </el-button> | |
| 116 | + </el-form-item> | |
| 117 | + </el-form> | |
| 47 | 118 | </ContentWrap> |
| 48 | - <!-- 弹窗 --> | |
| 49 | - <XModal id="${classNameVar}Model" :loading="modelLoading" v-model="modelVisible" :title="modelTitle"> | |
| 50 | - <!-- 表单:添加/修改 --> | |
| 51 | - <Form | |
| 52 | - ref="formRef" | |
| 53 | - v-if="['create', 'update'].includes(actionType)" | |
| 54 | - :schema="allSchemas.formSchema" | |
| 55 | - :rules="rules" | |
| 56 | - /> | |
| 57 | - <!-- 表单:详情 --> | |
| 58 | - <Descriptions | |
| 59 | - v-if="actionType === 'detail'" | |
| 60 | - :schema="allSchemas.detailSchema" | |
| 61 | - :data="detailData" | |
| 62 | - /> | |
| 63 | - <template #footer> | |
| 64 | - <!-- 按钮:保存 --> | |
| 65 | - <XButton | |
| 66 | - v-if="['create', 'update'].includes(actionType)" | |
| 67 | - type="primary" | |
| 68 | - :title="t('action.save')" | |
| 69 | - :loading="actionLoading" | |
| 70 | - @click="submitForm()" | |
| 119 | + | |
| 120 | + <!-- 列表 --> | |
| 121 | + <ContentWrap> | |
| 122 | + <el-table v-loading="loading" :data="list"> | |
| 123 | + #foreach($column in $columns) | |
| 124 | + #if ($column.listOperationResult) | |
| 125 | + #set ($dictType=$column.dictType) | |
| 126 | + #set ($javaField = $column.javaField) | |
| 127 | + #set ($AttrName=$column.javaField.substring(0,1).toUpperCase() + ${column.javaField.substring(1)}) | |
| 128 | + #set ($comment=$column.columnComment) | |
| 129 | + #if ($column.javaType == "LocalDateTime")## 时间类型 | |
| 130 | + <el-table-column | |
| 131 | + label="${comment}" | |
| 132 | + align="center" | |
| 133 | + prop="${javaField}" | |
| 134 | + :formatter="dateFormatter" | |
| 71 | 135 | /> |
| 72 | - <!-- 按钮:关闭 --> | |
| 73 | - <XButton :loading="actionLoading" :title="t('dialog.close')" @click="modelVisible = false" /> | |
| 74 | - </template> | |
| 75 | - </XModal> | |
| 136 | + #elseif("" != $column.dictType)## 数据字典 | |
| 137 | + <el-table-column label="${comment}" align="center" prop="${javaField}"> | |
| 138 | + <template #default="scope"> | |
| 139 | + <dict-tag :type="DICT_TYPE.$dictType.toUpperCase()" :value="scope.row.${column.javaField}" /> | |
| 140 | + </template> | |
| 141 | + </el-table-column> | |
| 142 | + #else | |
| 143 | + <el-table-column label="${comment}" align="center" prop="${javaField}" /> | |
| 144 | + #end | |
| 145 | + #end | |
| 146 | + #end | |
| 147 | + <el-table-column label="操作" align="center"> | |
| 148 | + <template #default="scope"> | |
| 149 | + <el-button | |
| 150 | + link | |
| 151 | + type="primary" | |
| 152 | + @click="openForm('update', scope.row.id)" | |
| 153 | + v-hasPermi="['${permissionPrefix}:update']" | |
| 154 | + > | |
| 155 | + 编辑 | |
| 156 | + </el-button> | |
| 157 | + <el-button | |
| 158 | + link | |
| 159 | + type="danger" | |
| 160 | + @click="handleDelete(scope.row.id)" | |
| 161 | + v-hasPermi="['${permissionPrefix}:delete']" | |
| 162 | + > | |
| 163 | + 删除 | |
| 164 | + </el-button> | |
| 165 | + </template> | |
| 166 | + </el-table-column> | |
| 167 | + </el-table> | |
| 168 | + <!-- 分页 --> | |
| 169 | + <Pagination | |
| 170 | + :total="total" | |
| 171 | + v-model:page="queryParams.pageNo" | |
| 172 | + v-model:limit="queryParams.pageSize" | |
| 173 | + @pagination="getList" | |
| 174 | + /> | |
| 175 | + </ContentWrap> | |
| 176 | + | |
| 177 | + <!-- 表单弹窗:添加/修改 --> | |
| 178 | + <${simpleClassName}Form ref="formRef" @success="getList" /> | |
| 76 | 179 | </template> |
| 77 | -<script setup lang="ts" name="${simpleClassName}"> | |
| 78 | -import { FormExpose } from '@/components/Form' | |
| 79 | -// 业务相关的 import | |
| 80 | -import { rules, allSchemas } from './${classNameVar}.data' | |
| 81 | -import * as ${simpleClassName}Api from '@/api/${table.moduleName}/${classNameVar}' | |
| 82 | 180 | |
| 83 | -const { t } = useI18n() // 国际化 | |
| 181 | +<script setup lang="ts" name="${table.className}"> | |
| 182 | +#if ($dictMethods.size() > 0) | |
| 183 | +import { DICT_TYPE#foreach ($dictMethod in $dictMethods), ${dictMethod}#end } from '@/utils/dict' | |
| 184 | +#end | |
| 185 | +#foreach ($column in $columns) | |
| 186 | + #if ($column.listOperationResult && $column.htmlType == "datetime") | |
| 187 | +import { dateFormatter } from '@/utils/formatTime' | |
| 188 | + #break | |
| 189 | + #end | |
| 190 | +#end | |
| 191 | +import download from '@/utils/download' | |
| 192 | +import * as ${simpleClassName}Api from '@/api/${table.moduleName}/${classNameVar}' | |
| 193 | +import ${simpleClassName}Form from './${simpleClassName}Form.vue' | |
| 84 | 194 | const message = useMessage() // 消息弹窗 |
| 195 | +const { t } = useI18n() // 国际化 | |
| 85 | 196 | |
| 86 | -// 列表相关的变量 | |
| 87 | -const [registerTable, { reload, deleteData, exportList }] = useXTable({ | |
| 88 | - allSchemas: allSchemas, | |
| 89 | - getListApi: ${simpleClassName}Api.get${simpleClassName}PageApi, | |
| 90 | - deleteApi: ${simpleClassName}Api.delete${simpleClassName}Api, | |
| 91 | - exportListApi: ${simpleClassName}Api.export${simpleClassName}Api | |
| 197 | +const loading = ref(true) // 列表的加载中 | |
| 198 | +const total = ref(0) // 列表的总页数 | |
| 199 | +const list = ref([]) // 列表的数据 | |
| 200 | +const queryParams = reactive({ | |
| 201 | + pageNo: 1, | |
| 202 | + pageSize: 10, | |
| 203 | + #set ($listOperationLastIndex = -1)## 求最后一个需要 , 的地方 | |
| 204 | + #foreach ($column in $columns) | |
| 205 | + #if ($column.listOperation) | |
| 206 | + #set ($listOperationLastIndex = $foreach.index) | |
| 207 | + #end | |
| 208 | + #end | |
| 209 | + #foreach ($column in $columns) | |
| 210 | + #if ($column.listOperation) | |
| 211 | + #if ($column.listOperationCondition != 'BETWEEN') | |
| 212 | + $column.javaField: null#if($foreach.index < $listOperationLastIndex),#end | |
| 213 | + #end | |
| 214 | + #if ($column.htmlType == "datetime" || $column.listOperationCondition == "BETWEEN") | |
| 215 | + $column.javaField: []#if($foreach.index < $listOperationLastIndex),#end | |
| 216 | + #end | |
| 217 | + #end | |
| 218 | + #end | |
| 92 | 219 | }) |
| 220 | +const queryFormRef = ref() // 搜索的表单 | |
| 221 | +const exportLoading = ref(false) // 导出的加载中 | |
| 93 | 222 | |
| 94 | -// 弹窗相关的变量 | |
| 95 | -const modelVisible = ref(false) // 是否显示弹出层 | |
| 96 | -const modelTitle = ref('edit') // 弹出层标题 | |
| 97 | -const modelLoading = ref(false) // 弹出层loading | |
| 98 | -const actionType = ref('') // 操作按钮的类型 | |
| 99 | -const actionLoading = ref(false) // 按钮 Loading | |
| 100 | -const formRef = ref<FormExpose>() // 表单 Ref | |
| 101 | -const detailData = ref() // 详情 Ref | |
| 223 | +/** 查询列表 */ | |
| 224 | +const getList = async () => { | |
| 225 | + loading.value = true | |
| 226 | + try { | |
| 227 | + const data = await ${simpleClassName}Api.get${simpleClassName}Page(queryParams) | |
| 228 | + list.value = data.list | |
| 229 | + total.value = data.total | |
| 230 | + } finally { | |
| 231 | + loading.value = false | |
| 232 | + } | |
| 233 | +} | |
| 102 | 234 | |
| 103 | -// 设置标题 | |
| 104 | -const setDialogTile = (type: string) => { | |
| 105 | - modelLoading.value = true | |
| 106 | - modelTitle.value = t('action.' + type) | |
| 107 | - actionType.value = type | |
| 108 | - modelVisible.value = true | |
| 235 | +/** 搜索按钮操作 */ | |
| 236 | +const handleQuery = () => { | |
| 237 | + queryParams.pageNo = 1 | |
| 238 | + getList() | |
| 109 | 239 | } |
| 110 | 240 | |
| 111 | -// 新增操作 | |
| 112 | -const handleCreate = () => { | |
| 113 | - setDialogTile('create') | |
| 114 | - modelLoading.value = false | |
| 241 | +/** 重置按钮操作 */ | |
| 242 | +const resetQuery = () => { | |
| 243 | + queryFormRef.value.resetFields() | |
| 244 | + handleQuery() | |
| 115 | 245 | } |
| 116 | 246 | |
| 117 | -// 修改操作 | |
| 118 | -const handleUpdate = async (rowId: number) => { | |
| 119 | - setDialogTile('update') | |
| 120 | - // 设置数据 | |
| 121 | - const res = await ${simpleClassName}Api.get${simpleClassName}Api(rowId) | |
| 122 | - unref(formRef)?.setValues(res) | |
| 123 | - modelLoading.value = false | |
| 247 | +/** 添加/修改操作 */ | |
| 248 | +const formRef = ref() | |
| 249 | +const openForm = (type: string, id?: number) => { | |
| 250 | + formRef.value.open(type, id) | |
| 124 | 251 | } |
| 125 | 252 | |
| 126 | -// 详情操作 | |
| 127 | -const handleDetail = async (rowId: number) => { | |
| 128 | - setDialogTile('detail') | |
| 129 | - const res = await ${simpleClassName}Api.get${simpleClassName}Api(rowId) | |
| 130 | - detailData.value = res | |
| 131 | - modelLoading.value = false | |
| 253 | +/** 删除按钮操作 */ | |
| 254 | +const handleDelete = async (id: number) => { | |
| 255 | + try { | |
| 256 | + // 删除的二次确认 | |
| 257 | + await message.delConfirm() | |
| 258 | + // 发起删除 | |
| 259 | + await ${simpleClassName}Api.delete${simpleClassName}(id) | |
| 260 | + message.success(t('common.delSuccess')) | |
| 261 | + // 刷新列表 | |
| 262 | + await getList() | |
| 263 | + } catch {} | |
| 132 | 264 | } |
| 133 | 265 | |
| 134 | -// 提交按钮 | |
| 135 | -const submitForm = async () => { | |
| 136 | - const elForm = unref(formRef)?.getElFormRef() | |
| 137 | - if (!elForm) return | |
| 138 | - elForm.validate(async (valid) => { | |
| 139 | - if (valid) { | |
| 140 | - actionLoading.value = true | |
| 141 | - // 提交请求 | |
| 142 | - try { | |
| 143 | - const data = unref(formRef)?.formModel as ${simpleClassName}Api.${simpleClassName}VO | |
| 144 | - if (actionType.value === 'create') { | |
| 145 | - await ${simpleClassName}Api.create${simpleClassName}Api(data) | |
| 146 | - message.success(t('common.createSuccess')) | |
| 147 | - } else { | |
| 148 | - await ${simpleClassName}Api.update${simpleClassName}Api(data) | |
| 149 | - message.success(t('common.updateSuccess')) | |
| 150 | - } | |
| 151 | - modelVisible.value = false | |
| 152 | - } finally { | |
| 153 | - actionLoading.value = false | |
| 154 | - // 刷新列表 | |
| 155 | - await reload() | |
| 156 | - } | |
| 157 | - } | |
| 158 | - }) | |
| 266 | +/** 导出按钮操作 */ | |
| 267 | +const handleExport = async () => { | |
| 268 | + try { | |
| 269 | + // 导出的二次确认 | |
| 270 | + await message.exportConfirm() | |
| 271 | + // 发起导出 | |
| 272 | + exportLoading.value = true | |
| 273 | + const data = await ${simpleClassName}Api.export${simpleClassName}(queryParams) | |
| 274 | + download.excel(data, '${table.classComment}.xls') | |
| 275 | + } catch { | |
| 276 | + } finally { | |
| 277 | + exportLoading.value = false | |
| 278 | + } | |
| 159 | 279 | } |
| 280 | + | |
| 281 | +/** 初始化 **/ | |
| 282 | +onMounted(() => { | |
| 283 | + getList() | |
| 284 | +}) | |
| 160 | 285 | </script> | ... | ... |
yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3_schema/api/api.ts.vm
0 → 100644
| 1 | +import request from '@/config/axios' | |
| 2 | + | |
| 3 | +export interface ${simpleClassName}VO { | |
| 4 | + #foreach ($column in $columns) | |
| 5 | + #if ($column.createOperation || $column.updateOperation) | |
| 6 | + #if(${column.javaType.toLowerCase()} == "long" || ${column.javaType.toLowerCase()} == "integer" || ${column.javaType.toLowerCase()} == "double" || ${column.javaType.toLowerCase()} == "bigdecimal") | |
| 7 | + ${column.javaField}: number | |
| 8 | + #elseif(${column.javaType.toLowerCase()} == "date" || ${column.javaType.toLowerCase()} == "localdatetime") | |
| 9 | + ${column.javaField}: Date | |
| 10 | + #else | |
| 11 | + ${column.javaField}: ${column.javaType.toLowerCase()} | |
| 12 | + #end | |
| 13 | + #end | |
| 14 | + #end | |
| 15 | +} | |
| 16 | + | |
| 17 | +// 查询${table.classComment}列表 | |
| 18 | +export const get${simpleClassName}Page = async (params: ${simpleClassName}PageReqVO) => { | |
| 19 | + return await request.get({ url: '${baseURL}/page', params }) | |
| 20 | +} | |
| 21 | + | |
| 22 | +// 查询${table.classComment}详情 | |
| 23 | +export const get${simpleClassName} = async (id: number) => { | |
| 24 | + return await request.get({ url: '${baseURL}/get?id=' + id }) | |
| 25 | +} | |
| 26 | + | |
| 27 | +// 新增${table.classComment} | |
| 28 | +export const create${simpleClassName} = async (data: ${simpleClassName}VO) => { | |
| 29 | + return await request.post({ url: '${baseURL}/create', data }) | |
| 30 | +} | |
| 31 | + | |
| 32 | +// 修改${table.classComment} | |
| 33 | +export const update${simpleClassName} = async (data: ${simpleClassName}VO) => { | |
| 34 | + return await request.put({ url: '${baseURL}/update', data }) | |
| 35 | +} | |
| 36 | + | |
| 37 | +// 删除${table.classComment} | |
| 38 | +export const delete${simpleClassName} = async (id: number) => { | |
| 39 | + return await request.delete({ url: '${baseURL}/delete?id=' + id }) | |
| 40 | +} | |
| 41 | + | |
| 42 | +// 导出${table.classComment} Excel | |
| 43 | +export const export${simpleClassName}Api = async (params) => { | |
| 44 | + return await request.download({ url: '${baseURL}/export-excel', params }) | |
| 45 | +} | ... | ... |
yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3/views/data.ts.vm renamed to yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3_schema/views/data.ts.vm
| 1 | -import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas' | |
| 2 | -const { t } = useI18n() // 国际化 | |
| 1 | +import type { CrudSchema } from '@/hooks/web/useCrudSchemas' | |
| 2 | +#foreach ($column in $columns) | |
| 3 | + #if ($column.listOperationResult && $column.htmlType == "datetime") | |
| 4 | +import { dateFormatter } from '@/utils/formatTime' | |
| 5 | + #break | |
| 6 | + #end | |
| 7 | +#end | |
| 8 | + | |
| 3 | 9 | // 表单校验 |
| 4 | 10 | export const rules = reactive({ |
| 5 | 11 | #foreach ($column in $columns) |
| ... | ... | @@ -9,98 +15,115 @@ export const rules = reactive({ |
| 9 | 15 | #end |
| 10 | 16 | #end |
| 11 | 17 | }) |
| 12 | -// CrudSchema | |
| 13 | -const crudSchemas = reactive<VxeCrudSchema>({ | |
| 14 | - primaryKey: 'id', // 默认的主键ID | |
| 15 | - primaryTitle: t('common.index'), // 默认显示的值 | |
| 16 | - primaryType: 'seq', // 默认为seq,序号模式 | |
| 17 | - action: true, | |
| 18 | - actionWidth: '200', // 3个按钮默认200,如有删减对应增减即可 | |
| 19 | - columns: [ | |
| 20 | - #foreach($column in $columns) | |
| 21 | - #if ($column.listOperation || $column.listOperationResult || $column.createOperation || $column.updateOperation) | |
| 22 | - #set ($dictType = $column.dictType) | |
| 23 | - #if(!$column.primaryKey) | |
| 24 | - { | |
| 25 | - title: '${column.columnComment}', | |
| 26 | - field: '${column.javaField}', | |
| 27 | - #if (!$column.listOperationResult) | |
| 28 | - isTable: false, | |
| 29 | - #end | |
| 30 | - #if ("" != $dictType)## 有数据字典 | |
| 31 | - dictType: DICT_TYPE.$dictType.toUpperCase(), | |
| 32 | - #if (${column.javaType.toLowerCase()} == "long" || ${column.javaType.toLowerCase()} == "integer") | |
| 33 | - dictClass: 'number', | |
| 34 | - #else | |
| 35 | - dictClass: 'string', | |
| 36 | - #end | |
| 37 | - #end | |
| 38 | - #if (!$column.createOperation && !$column.updateOperation) | |
| 39 | - isForm: false, | |
| 40 | - #elseif(!("" != $column.dictType)) | |
| 41 | - #if (${column.javaType.toLowerCase()} == "date" || ${column.javaType.toLowerCase()} == "localdatetime") | |
| 42 | - form: { | |
| 43 | - component: 'DatePicker', | |
| 44 | - componentProps: { | |
| 45 | - type: 'datetime', | |
| 46 | - valueFormat: 'x' | |
| 47 | - } | |
| 48 | - }, | |
| 49 | - #elseif($column.htmlType == "editor")## 文本编辑器 | |
| 50 | - form: { | |
| 51 | - component: 'Editor', | |
| 52 | - colProps: { | |
| 53 | - span: 24 | |
| 54 | - }, | |
| 55 | - componentProps: { | |
| 56 | - valueHtml: '' | |
| 57 | - } | |
| 58 | - }, | |
| 59 | - #elseif($column.htmlType == "textarea")## 文本框 | |
| 60 | - form: { | |
| 61 | - component: 'Input', | |
| 62 | - componentProps: { | |
| 63 | - type: 'textarea', | |
| 64 | - rows: 4 | |
| 65 | - }, | |
| 66 | - colProps: { | |
| 67 | - span: 24 | |
| 68 | - } | |
| 69 | - }, | |
| 70 | - #elseif(${column.javaType.toLowerCase()} == "long" || ${column.javaType.toLowerCase()} == "integer")## 数字类型 | |
| 71 | - form: { | |
| 72 | - component: 'InputNumber', | |
| 73 | - value: 0 | |
| 74 | - }, | |
| 75 | - #elseif($column.htmlType == "imageUpload")## 图片上传 | |
| 76 | - form: { | |
| 77 | - component: 'UploadImg' // 单图上传,多图为UploadImgs | |
| 78 | - }, | |
| 79 | - #elseif($column.htmlType == "fileUpload")## 图片上传 | |
| 80 | - form: { | |
| 81 | - component: 'UploadFile' | |
| 82 | - }, | |
| 83 | - #end | |
| 18 | + | |
| 19 | +// CrudSchema https://doc.iocoder.cn/vue3/crud-schema/ | |
| 20 | +const crudSchemas = reactive<CrudSchema[]>([ | |
| 21 | +#foreach($column in $columns) | |
| 22 | +#if ($column.listOperation || $column.listOperationResult || $column.createOperation || $column.updateOperation) | |
| 23 | +#set ($dictType = $column.dictType) | |
| 24 | +#set ($javaField = $column.javaField) | |
| 25 | +#set ($javaType = $column.javaType) | |
| 26 | + { | |
| 27 | + label: '${column.columnComment}', | |
| 28 | + field: '${column.javaField}', | |
| 29 | +## ========= 字典部分 ========= | |
| 30 | + #if ("" != $dictType)## 有数据字典 | |
| 31 | + dictType: DICT_TYPE.$dictType.toUpperCase(), | |
| 32 | + #if ($javaType == "Integer" || $javaType == "Long" || $javaType == "Byte" || $javaType == "Short") | |
| 33 | + dictClass: 'number', | |
| 34 | + #elseif ($javaType == "String") | |
| 35 | + dictClass: 'string', | |
| 36 | + #elseif ($javaType == "Boolean") | |
| 37 | + dictClass: 'boolean', | |
| 38 | + #end | |
| 39 | + #end | |
| 40 | +## ========= Table 表格部分 ========= | |
| 41 | + #if (!$column.listOperationResult) | |
| 42 | + isTable: false, | |
| 43 | + #else | |
| 44 | + #if ($column.htmlType == "datetime") | |
| 45 | + formatter: dateFormatter, | |
| 84 | 46 | #end |
| 85 | - #if ($column.listOperation) | |
| 86 | - #if($column.htmlType == "input") | |
| 87 | - isSearch: true, | |
| 88 | - #elseif("" != $dictType) | |
| 89 | - isSearch: true, | |
| 90 | - #elseif($column.htmlType == "datetime") | |
| 91 | - formatter: 'formatDate', | |
| 92 | - search: { | |
| 93 | - show: true, | |
| 94 | - itemRender: { | |
| 95 | - name: 'XDataTimePicker' | |
| 96 | - } | |
| 47 | + #end | |
| 48 | +## ========= Search 表格部分 ========= | |
| 49 | + #if ($column.listOperation) | |
| 50 | + isSearch: true, | |
| 51 | + #if ($column.htmlType == "datetime") | |
| 52 | + search: { | |
| 53 | + component: 'DatePicker', | |
| 54 | + componentProps: { | |
| 55 | + valueFormat: 'YYYY-MM-DD HH:mm:ss', | |
| 56 | + type: 'daterange', | |
| 57 | + defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] | |
| 58 | + } | |
| 59 | + }, | |
| 60 | + #end | |
| 61 | + #end | |
| 62 | +## ========= Form 表单部分 ========= | |
| 63 | + #if ((!$column.createOperation && !$column.updateOperation) || $column.primaryKey) | |
| 64 | + isForm: false, | |
| 65 | + #else | |
| 66 | + #if($column.htmlType == "imageUpload")## 图片上传 | |
| 67 | + form: { | |
| 68 | + component: 'UploadImg' | |
| 69 | + }, | |
| 70 | + #elseif($column.htmlType == "fileUpload")## 文件上传 | |
| 71 | + form: { | |
| 72 | + component: 'UploadFile' | |
| 73 | + }, | |
| 74 | + #elseif($column.htmlType == "editor")## 文本编辑器 | |
| 75 | + form: { | |
| 76 | + component: 'Editor', | |
| 77 | + componentProps: { | |
| 78 | + valueHtml: '', | |
| 79 | + height: 200 | |
| 80 | + } | |
| 81 | + }, | |
| 82 | + #elseif($column.htmlType == "select")## 下拉框 | |
| 83 | + form: { | |
| 84 | + component: 'SelectV2' | |
| 85 | + }, | |
| 86 | + #elseif($column.htmlType == "checkbox")## 多选框 | |
| 87 | + form: { | |
| 88 | + component: 'Checkbox' | |
| 89 | + }, | |
| 90 | + #elseif($column.htmlType == "radio")## 单选框 | |
| 91 | + form: { | |
| 92 | + component: 'Radio' | |
| 93 | + }, | |
| 94 | + #elseif($column.htmlType == "datetime")## 时间框 | |
| 95 | + form: { | |
| 96 | + component: 'DatePicker', | |
| 97 | + componentProps: { | |
| 98 | + type: 'datetime', | |
| 99 | + valueFormat: 'x' | |
| 100 | + } | |
| 101 | + }, | |
| 102 | + #elseif($column.htmlType == "textarea")## 文本框 | |
| 103 | + form: { | |
| 104 | + component: 'Input', | |
| 105 | + componentProps: { | |
| 106 | + type: 'textarea', | |
| 107 | + rows: 4 | |
| 97 | 108 | }, |
| 98 | - #end | |
| 99 | - #end | |
| 109 | + colProps: { | |
| 110 | + span: 24 | |
| 111 | + } | |
| 100 | 112 | }, |
| 101 | - #end | |
| 113 | + #elseif(${javaType.toLowerCase()} == "long" || ${javaType.toLowerCase()} == "integer")## 文本框 | |
| 114 | + form: { | |
| 115 | + component: 'InputNumber', | |
| 116 | + value: 0 | |
| 117 | + }, | |
| 118 | + #end | |
| 102 | 119 | #end |
| 103 | - #end | |
| 104 | - ] | |
| 105 | -}) | |
| 106 | -export const { allSchemas } = useVxeCrudSchemas(crudSchemas) | |
| 107 | 120 | \ No newline at end of file |
| 121 | + }, | |
| 122 | +#end | |
| 123 | +#end | |
| 124 | + { | |
| 125 | + label: '操作', | |
| 126 | + field: 'action', | |
| 127 | + isForm: false | |
| 128 | + } | |
| 129 | +]) | |
| 130 | +export const { allSchemas } = useCrudSchemas(crudSchemas) | ... | ... |
yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3_schema/views/form.vue.vm
0 → 100644
| 1 | +<template> | |
| 2 | + <Dialog :title="dialogTitle" v-model="dialogVisible"> | |
| 3 | + <Form ref="formRef" :schema="allSchemas.formSchema" :rules="rules" v-loading="formLoading" /> | |
| 4 | + <template #footer> | |
| 5 | + <el-button @click="submitForm" type="primary" :disabled="formLoading">确 定</el-button> | |
| 6 | + <el-button @click="dialogVisible = false">取 消</el-button> | |
| 7 | + </template> | |
| 8 | + </Dialog> | |
| 9 | +</template> | |
| 10 | +<script setup lang="ts"> | |
| 11 | + import * as ${simpleClassName}Api from '@/api/${table.moduleName}/${classNameVar}' | |
| 12 | +import { rules, allSchemas } from './${classNameVar}.data' | |
| 13 | +const { t } = useI18n() // 国际化 | |
| 14 | +const message = useMessage() // 消息弹窗 | |
| 15 | + | |
| 16 | +const dialogVisible = ref(false) // 弹窗的是否展示 | |
| 17 | +const dialogTitle = ref('') // 弹窗的标题 | |
| 18 | +const formLoading = ref(false) // 表单的加载中:1)修改时的数据加载;2)提交的按钮禁用 | |
| 19 | +const formType = ref('') // 表单的类型:create - 新增;update - 修改 | |
| 20 | +const formRef = ref() // 表单 Ref | |
| 21 | + | |
| 22 | +/** 打开弹窗 */ | |
| 23 | +const open = async (type: string, id?: number) => { | |
| 24 | + dialogVisible.value = true | |
| 25 | + dialogTitle.value = t('action.' + type) | |
| 26 | + formType.value = type | |
| 27 | + // 修改时,设置数据 | |
| 28 | + if (id) { | |
| 29 | + formLoading.value = true | |
| 30 | + try { | |
| 31 | + const data = await ${simpleClassName}Api.get${simpleClassName}(id) | |
| 32 | + formRef.value.setValues(data) | |
| 33 | + } finally { | |
| 34 | + formLoading.value = false | |
| 35 | + } | |
| 36 | + } | |
| 37 | +} | |
| 38 | +defineExpose({ open }) // 提供 open 方法,用于打开弹窗 | |
| 39 | + | |
| 40 | +/** 提交表单 */ | |
| 41 | +const emit = defineEmits(['success']) // 定义 success 事件,用于操作成功后的回调 | |
| 42 | +const submitForm = async () => { | |
| 43 | + // 校验表单 | |
| 44 | + if (!formRef) return | |
| 45 | + const valid = await formRef.value.getElFormRef().validate() | |
| 46 | + if (!valid) return | |
| 47 | + // 提交请求 | |
| 48 | + formLoading.value = true | |
| 49 | + try { | |
| 50 | + const data = formRef.value.formModel as ${simpleClassName}Api.${simpleClassName}VO | |
| 51 | + if (formType.value === 'create') { | |
| 52 | + await ${simpleClassName}Api.create${simpleClassName}(data) | |
| 53 | + message.success(t('common.createSuccess')) | |
| 54 | + } else { | |
| 55 | + await ${simpleClassName}Api.update${simpleClassName}(data) | |
| 56 | + message.success(t('common.updateSuccess')) | |
| 57 | + } | |
| 58 | + dialogVisible.value = false | |
| 59 | + // 发送操作成功的事件 | |
| 60 | + emit('success') | |
| 61 | + } finally { | |
| 62 | + formLoading.value = false | |
| 63 | + } | |
| 64 | +} | |
| 65 | +</script> | ... | ... |
yudao-module-infra/yudao-module-infra-biz/src/main/resources/codegen/vue3_schema/views/index.vue.vm
0 → 100644
| 1 | +<template> | |
| 2 | + <!-- 搜索工作栏 --> | |
| 3 | + <ContentWrap> | |
| 4 | + <Search :schema="allSchemas.searchSchema" @search="setSearchParams" @reset="setSearchParams"> | |
| 5 | + <!-- 新增等操作按钮 --> | |
| 6 | + <template #actionMore> | |
| 7 | + <el-button | |
| 8 | + type="primary" | |
| 9 | + plain | |
| 10 | + @click="openForm('create')" | |
| 11 | + v-hasPermi="['${permissionPrefix}:create']" | |
| 12 | + > | |
| 13 | + <Icon icon="ep:plus" class="mr-5px" /> 新增 | |
| 14 | + </el-button> | |
| 15 | + </template> | |
| 16 | + </Search> | |
| 17 | + </ContentWrap> | |
| 18 | + | |
| 19 | + <!-- 列表 --> | |
| 20 | + <ContentWrap> | |
| 21 | + <Table | |
| 22 | + :columns="allSchemas.tableColumns" | |
| 23 | + :data="tableObject.tableList" | |
| 24 | + :loading="tableObject.loading" | |
| 25 | + :pagination="{ | |
| 26 | + total: tableObject.total | |
| 27 | + }" | |
| 28 | + v-model:pageSize="tableObject.pageSize" | |
| 29 | + v-model:currentPage="tableObject.currentPage" | |
| 30 | + > | |
| 31 | + <template #action="{ row }"> | |
| 32 | + <el-button | |
| 33 | + link | |
| 34 | + type="primary" | |
| 35 | + @click="openForm('update', row.id)" | |
| 36 | + v-hasPermi="['${permissionPrefix}:update']" | |
| 37 | + > | |
| 38 | + 编辑 | |
| 39 | + </el-button> | |
| 40 | + <el-button | |
| 41 | + link | |
| 42 | + type="danger" | |
| 43 | + v-hasPermi="['${permissionPrefix}:delete']" | |
| 44 | + @click="handleDelete(row.id)" | |
| 45 | + > | |
| 46 | + 删除 | |
| 47 | + </el-button> | |
| 48 | + </template> | |
| 49 | + </Table> | |
| 50 | + </ContentWrap> | |
| 51 | + | |
| 52 | + <!-- 表单弹窗:添加/修改 --> | |
| 53 | + <${simpleClassName}Form ref="formRef" @success="getList" /> | |
| 54 | +</template> | |
| 55 | +<script setup lang="ts" name="${table.className}"> | |
| 56 | +import { allSchemas } from './${classNameVar}.data' | |
| 57 | +import * as ${simpleClassName}Api from '@/api/${table.moduleName}/${classNameVar}' | |
| 58 | +import ${simpleClassName}Form from './${simpleClassName}Form.vue' | |
| 59 | + | |
| 60 | +// tableObject:表格的属性对象,可获得分页大小、条数等属性 | |
| 61 | +// tableMethods:表格的操作对象,可进行获得分页、删除记录等操作 | |
| 62 | +// 详细可见:https://doc.iocoder.cn/vue3/crud-schema/ | |
| 63 | +const { tableObject, tableMethods } = useTable({ | |
| 64 | + getListApi: ${simpleClassName}Api.get${simpleClassName}Page, // 分页接口 | |
| 65 | + delListApi: ${simpleClassName}Api.delete${simpleClassName} // 删除接口 | |
| 66 | +}) | |
| 67 | +// 获得表格的各种操作 | |
| 68 | +const { getList, setSearchParams } = tableMethods | |
| 69 | + | |
| 70 | +/** 添加/修改操作 */ | |
| 71 | +const formRef = ref() | |
| 72 | +const openForm = (type: string, id?: number) => { | |
| 73 | + formRef.value.open(type, id) | |
| 74 | +} | |
| 75 | + | |
| 76 | +/** 删除按钮操作 */ | |
| 77 | +const handleDelete = (id: number) => { | |
| 78 | + tableMethods.delList(id, false) | |
| 79 | +} | |
| 80 | + | |
| 81 | +/** 初始化 **/ | |
| 82 | +onMounted(() => { | |
| 83 | + getList() | |
| 84 | +}) | |
| 85 | +</script> | ... | ... |
yudao-server/src/main/resources/application.yaml
| ... | ... | @@ -125,6 +125,7 @@ yudao: |
| 125 | 125 | codegen: |
| 126 | 126 | base-package: ${yudao.info.base-package} |
| 127 | 127 | db-schemas: ${spring.datasource.dynamic.datasource.master.name} |
| 128 | + front-type: 10 # 前端模版的类型,参见 CodegenFrontTypeEnum 枚举类 | |
| 128 | 129 | error-code: # 错误码相关配置项 |
| 129 | 130 | constants-class-list: |
| 130 | 131 | - cn.iocoder.yudao.module.bpm.enums.ErrorCodeConstants | ... | ... |
yudao-ui-admin/src/api/infra/redis.js
| ... | ... | @@ -7,48 +7,3 @@ export function getCache() { |
| 7 | 7 | method: 'get' |
| 8 | 8 | }) |
| 9 | 9 | } |
| 10 | - | |
| 11 | -// 获取模块 | |
| 12 | -export function getKeyDefineList() { | |
| 13 | - return request({ | |
| 14 | - url: '/infra/redis/get-key-define-list', | |
| 15 | - method: 'get' | |
| 16 | - }) | |
| 17 | -} | |
| 18 | - | |
| 19 | -// 获取键名列表 | |
| 20 | -export function getKeyList(keyTemplate) { | |
| 21 | - return request({ | |
| 22 | - url: '/infra/redis/get-key-list', | |
| 23 | - method: 'get', | |
| 24 | - params: { | |
| 25 | - keyTemplate | |
| 26 | - } | |
| 27 | - }) | |
| 28 | -} | |
| 29 | - | |
| 30 | -// 获取缓存内容 | |
| 31 | -export function getKeyValue(key) { | |
| 32 | - return request({ | |
| 33 | - url: '/infra/redis/get-key-value?key=' + key, | |
| 34 | - method: 'get' | |
| 35 | - }) | |
| 36 | -} | |
| 37 | - | |
| 38 | -// 根据键名删除缓存 | |
| 39 | -export function deleteKey(key) { | |
| 40 | - return request({ | |
| 41 | - url: '/infra/redis/delete-key?key=' + key, | |
| 42 | - method: 'delete' | |
| 43 | - }) | |
| 44 | -} | |
| 45 | - | |
| 46 | -export function deleteKeys(keyTemplate) { | |
| 47 | - return request({ | |
| 48 | - url: '/infra/redis/delete-keys?', | |
| 49 | - method: 'delete', | |
| 50 | - params: { | |
| 51 | - keyTemplate | |
| 52 | - } | |
| 53 | - }) | |
| 54 | -} | ... | ... |
yudao-ui-admin/src/router/index.js
| ... | ... | @@ -100,7 +100,7 @@ export const constantRoutes = [ |
| 100 | 100 | children: [{ |
| 101 | 101 | path: 'type/data/:dictId(\\d+)', |
| 102 | 102 | component: (resolve) => require(['@/views/system/dict/data'], resolve), |
| 103 | - name: 'Data', | |
| 103 | + name: 'SystemDictData', | |
| 104 | 104 | meta: {title: '字典数据', icon: '', activeMenu: '/system/dict'} |
| 105 | 105 | } |
| 106 | 106 | ] |
| ... | ... | @@ -112,7 +112,7 @@ export const constantRoutes = [ |
| 112 | 112 | children: [{ |
| 113 | 113 | path: 'log', |
| 114 | 114 | component: (resolve) => require(['@/views/infra/job/log'], resolve), |
| 115 | - name: 'JobLog', | |
| 115 | + name: 'InfraJobLog', | |
| 116 | 116 | meta: {title: '调度日志', activeMenu: '/infra/job'} |
| 117 | 117 | } |
| 118 | 118 | ] |
| ... | ... | @@ -123,7 +123,7 @@ export const constantRoutes = [ |
| 123 | 123 | children: [{ |
| 124 | 124 | path: 'edit/:tableId(\\d+)', |
| 125 | 125 | component: (resolve) => require(['@/views/infra/codegen/editTable'], resolve), |
| 126 | - name: 'GenEdit', | |
| 126 | + name: 'InfraCodegenEditTable', | |
| 127 | 127 | meta: {title: '修改生成配置', activeMenu: '/infra/codegen'} |
| 128 | 128 | } |
| 129 | 129 | ] |
| ... | ... | @@ -136,12 +136,12 @@ export const constantRoutes = [ |
| 136 | 136 | children: [{ |
| 137 | 137 | path: 'oa/leave/create', |
| 138 | 138 | component: (resolve) => require(['@/views/bpm/oa/leave/create'], resolve), |
| 139 | - name: '发起 OA 请假', | |
| 139 | + name: 'BpmOALeaveCreate', | |
| 140 | 140 | meta: {title: '发起 OA 请假', icon: 'form', activeMenu: '/bpm/oa/leave'} |
| 141 | 141 | }, { |
| 142 | 142 | path: 'oa/leave/detail', |
| 143 | 143 | component: (resolve) => require(['@/views/bpm/oa/leave/detail'], resolve), |
| 144 | - name: '查看 OA 请假', | |
| 144 | + name: 'BpmOALeaveDetail', | |
| 145 | 145 | meta: {title: '查看 OA 请假', icon: 'view', activeMenu: '/bpm/oa/leave'} |
| 146 | 146 | } |
| 147 | 147 | ] |
| ... | ... | @@ -153,27 +153,27 @@ export const constantRoutes = [ |
| 153 | 153 | children: [{ |
| 154 | 154 | path: 'manager/form/edit', |
| 155 | 155 | component: (resolve) => require(['@/views/bpm/form/formEditor'], resolve), |
| 156 | - name: '流程表单-编辑', | |
| 156 | + name: 'BpmFormEditor', | |
| 157 | 157 | meta: {title: '流程表单-编辑', activeMenu: '/bpm/manager/form'} |
| 158 | 158 | }, { |
| 159 | 159 | path: 'manager/definition', |
| 160 | 160 | component: (resolve) => require(['@/views/bpm/definition/index'], resolve), |
| 161 | - name: '流程定义', | |
| 161 | + name: 'BpmProcessDefinition', | |
| 162 | 162 | meta: {title: '流程定义', activeMenu: '/bpm/manager/model'} |
| 163 | 163 | }, { |
| 164 | 164 | path: 'manager/model/design', |
| 165 | 165 | component: (resolve) => require(['@/views/bpm/model/modelEditor'], resolve), |
| 166 | - name: '设计流程', | |
| 166 | + name: 'BpmModelEditor', | |
| 167 | 167 | meta: {title: '设计流程', activeMenu: '/bpm/manager/model'} |
| 168 | 168 | }, { |
| 169 | 169 | path: 'process-instance/create', |
| 170 | 170 | component: (resolve) => require(['@/views/bpm/processInstance/create'], resolve), |
| 171 | - name: '发起流程', | |
| 171 | + name: 'BpmProcessInstanceCreate', | |
| 172 | 172 | meta: {title: '发起流程', activeMenu: '/bpm/task/my'} |
| 173 | 173 | }, { |
| 174 | 174 | path: 'process-instance/detail', |
| 175 | 175 | component: (resolve) => require(['@/views/bpm/processInstance/detail'], resolve), |
| 176 | - name: '流程详情', | |
| 176 | + name: 'BpmProcessInstanceDetail', | |
| 177 | 177 | meta: {title: '流程详情', activeMenu: '/bpm/task/my'} |
| 178 | 178 | } |
| 179 | 179 | ] |
| ... | ... | @@ -185,7 +185,7 @@ export const constantRoutes = [ |
| 185 | 185 | children: [{ |
| 186 | 186 | path: 'value/:propertyId(\\d+)', |
| 187 | 187 | component: (resolve) => require(['@/views/mall/product/property/value'], resolve), |
| 188 | - name: 'PropertyValue', | |
| 188 | + name: 'ProductPropertyValue', | |
| 189 | 189 | meta: {title: '商品属性值', icon: '', activeMenu: '/product/property'} |
| 190 | 190 | } |
| 191 | 191 | ] |
| ... | ... | @@ -197,13 +197,13 @@ export const constantRoutes = [ |
| 197 | 197 | children: [{ |
| 198 | 198 | path: 'edit/:spuId(\\d+)', |
| 199 | 199 | component: (resolve) => require(['@/views/mall/product/spu/save'], resolve), |
| 200 | - name: 'SpuEdit', | |
| 200 | + name: 'ProductSpuUpdate', | |
| 201 | 201 | meta: {title: '修改商品', activeMenu: '/product/spu'} |
| 202 | 202 | }, |
| 203 | 203 | { |
| 204 | 204 | path: 'add', |
| 205 | 205 | component: (resolve) => require(['@/views/mall/product/spu/save'], resolve), |
| 206 | - name: 'SpuAdd', | |
| 206 | + name: 'ProductSpuCreate', | |
| 207 | 207 | meta: {title: '添加商品', activeMenu: '/product/spu'} |
| 208 | 208 | } |
| 209 | 209 | ] |
| ... | ... | @@ -215,7 +215,7 @@ export const constantRoutes = [ |
| 215 | 215 | children: [ |
| 216 | 216 | { |
| 217 | 217 | path: 'detail', |
| 218 | - name: '订单详情', | |
| 218 | + name: 'TradeOrderDetail', | |
| 219 | 219 | hidden: true, |
| 220 | 220 | meta: { title: '订单详情' }, |
| 221 | 221 | component: (resolve) => require(['@/views/mall/trade/order/detail'], resolve) | ... | ... |
yudao-ui-admin/src/utils/dict.js
| ... | ... | @@ -36,6 +36,7 @@ export const DICT_TYPE = { |
| 36 | 36 | INFRA_API_ERROR_LOG_PROCESS_STATUS: 'infra_api_error_log_process_status', |
| 37 | 37 | INFRA_CONFIG_TYPE: 'infra_config_type', |
| 38 | 38 | INFRA_CODEGEN_TEMPLATE_TYPE: 'infra_codegen_template_type', |
| 39 | + INFRA_CODEGEN_FRONT_TYPE: 'infra_codegen_front_type', | |
| 39 | 40 | INFRA_CODEGEN_SCENE: 'infra_codegen_scene', |
| 40 | 41 | INFRA_FILE_STORAGE: 'infra_file_storage', |
| 41 | 42 | ... | ... |
yudao-ui-admin/src/views/bpm/definition/index.vue
| ... | ... | @@ -81,7 +81,7 @@ import Parser from '@/components/parser/Parser' |
| 81 | 81 | import taskAssignRuleDialog from "../taskAssignRule/taskAssignRuleDialog"; |
| 82 | 82 | |
| 83 | 83 | export default { |
| 84 | - name: "processDefinition", | |
| 84 | + name: "BpmProcessDefinition", | |
| 85 | 85 | components: { |
| 86 | 86 | Parser, |
| 87 | 87 | taskAssignRuleDialog | ... | ... |
yudao-ui-admin/src/views/bpm/form/index.vue
| ... | ... | @@ -67,7 +67,7 @@ import Parser from '@/components/parser/Parser' |
| 67 | 67 | import {decodeFields} from "@/utils/formGenerator"; |
| 68 | 68 | |
| 69 | 69 | export default { |
| 70 | - name: "Form", | |
| 70 | + name: "BpmForm", | |
| 71 | 71 | components: { |
| 72 | 72 | Parser |
| 73 | 73 | }, |
| ... | ... | @@ -134,13 +134,13 @@ export default { |
| 134 | 134 | /** 新增按钮操作 */ |
| 135 | 135 | handleAdd() { |
| 136 | 136 | this.$router.push({ |
| 137 | - path:"/bpm/manager/form/edit" | |
| 137 | + name: "BpmFormEditor" | |
| 138 | 138 | }); |
| 139 | 139 | }, |
| 140 | 140 | /** 修改按钮操作 */ |
| 141 | 141 | handleUpdate(row) { |
| 142 | 142 | this.$router.push({ |
| 143 | - path:"/bpm/manager/form/edit", | |
| 143 | + name: "BpmFormEditor", | |
| 144 | 144 | query:{ |
| 145 | 145 | formId: row.id |
| 146 | 146 | } | ... | ... |
yudao-ui-admin/src/views/bpm/group/index.vue
yudao-ui-admin/src/views/bpm/model/index.vue
| ... | ... | @@ -233,7 +233,7 @@ import Treeselect from "@riophae/vue-treeselect"; |
| 233 | 233 | import "@riophae/vue-treeselect/dist/vue-treeselect.css"; |
| 234 | 234 | |
| 235 | 235 | export default { |
| 236 | - name: "model", | |
| 236 | + name: "BpmModel", | |
| 237 | 237 | components: { |
| 238 | 238 | Parser, |
| 239 | 239 | Treeselect, |
| ... | ... | @@ -380,7 +380,7 @@ export default { |
| 380 | 380 | /** 设计按钮操作 */ |
| 381 | 381 | handleDesign(row) { |
| 382 | 382 | this.$router.push({ |
| 383 | - path:"/bpm/manager/model/design", | |
| 383 | + name: "BpmModelEditor", | |
| 384 | 384 | query:{ |
| 385 | 385 | modelId: row.id |
| 386 | 386 | } |
| ... | ... | @@ -473,7 +473,7 @@ export default { |
| 473 | 473 | /** 跳转流程定义的列表 */ |
| 474 | 474 | handleDefinitionList(row) { |
| 475 | 475 | this.$router.push({ |
| 476 | - path:"/bpm/manager/definition", | |
| 476 | + name: "BpmProcessDefinition", | |
| 477 | 477 | query:{ |
| 478 | 478 | key: row.key |
| 479 | 479 | } | ... | ... |
yudao-ui-admin/src/views/bpm/model/modelEditor.vue
| ... | ... | @@ -26,7 +26,7 @@ import {createModel, getModel, updateModel} from "@/api/bpm/model"; |
| 26 | 26 | // import MyProcessPanel from "../package/process-panel/ProcessPanel"; |
| 27 | 27 | |
| 28 | 28 | export default { |
| 29 | - name: "App", | |
| 29 | + name: "BpmModelEditor", | |
| 30 | 30 | components: { MyProcessPalette }, |
| 31 | 31 | data() { |
| 32 | 32 | return { | ... | ... |
yudao-ui-admin/src/views/bpm/oa/leave/create.vue
yudao-ui-admin/src/views/bpm/oa/leave/detail.vue
yudao-ui-admin/src/views/bpm/oa/leave/index.vue
| ... | ... | @@ -89,7 +89,7 @@ import { getDictDatas, DICT_TYPE } from '@/utils/dict' |
| 89 | 89 | import {cancelProcessInstance} from "@/api/bpm/processInstance"; |
| 90 | 90 | |
| 91 | 91 | export default { |
| 92 | - name: "Leave", | |
| 92 | + name: "BpmOALeave", | |
| 93 | 93 | components: { |
| 94 | 94 | }, |
| 95 | 95 | data() { |
| ... | ... | @@ -142,15 +142,15 @@ export default { |
| 142 | 142 | }, |
| 143 | 143 | /** 新增按钮操作 */ |
| 144 | 144 | handleAdd() { |
| 145 | - this.$router.push({ path: "/bpm/oa/leave/create"}); | |
| 145 | + this.$router.push({ name: "BpmOALeaveCreate"}); | |
| 146 | 146 | }, |
| 147 | 147 | /** 详情按钮操作 */ |
| 148 | 148 | handleDetail(row) { |
| 149 | - this.$router.push({ path: "/bpm/oa/leave/detail", query: { id: row.id}}); | |
| 149 | + this.$router.push({ name: "BpmOALeaveDetail", query: { id: row.id}}); | |
| 150 | 150 | }, |
| 151 | 151 | /** 查看审批进度的操作 */ |
| 152 | 152 | handleProcessDetail(row) { |
| 153 | - this.$router.push({ path: "/bpm/process-instance/detail", query: { id: row.processInstanceId}}); | |
| 153 | + this.$router.push({ name: "BpmProcessInstanceDetail", query: { id: row.processInstanceId}}); | |
| 154 | 154 | }, |
| 155 | 155 | /** 取消请假 */ |
| 156 | 156 | handleCancel(row) { | ... | ... |
yudao-ui-admin/src/views/bpm/processInstance/index.vue
| ... | ... | @@ -103,7 +103,7 @@ |
| 103 | 103 | import { getMyProcessInstancePage, cancelProcessInstance } from "@/api/bpm/processInstance"; |
| 104 | 104 | |
| 105 | 105 | export default { |
| 106 | - name: "ProcessInstance", | |
| 106 | + name: "BpmProcessInstance", | |
| 107 | 107 | components: { |
| 108 | 108 | }, |
| 109 | 109 | data() { |
| ... | ... | @@ -155,7 +155,7 @@ export default { |
| 155 | 155 | }, |
| 156 | 156 | /** 新增按钮操作 **/ |
| 157 | 157 | handleAdd() { |
| 158 | - this.$router.push({ path: "/bpm/process-instance/create"}) | |
| 158 | + this.$router.push({ name: "BpmProcessInstanceCreate"}) | |
| 159 | 159 | }, |
| 160 | 160 | /** 取消按钮操作 */ |
| 161 | 161 | handleCancel(row) { |
| ... | ... | @@ -175,7 +175,7 @@ export default { |
| 175 | 175 | }, |
| 176 | 176 | /** 处理详情按钮 */ |
| 177 | 177 | handleDetail(row) { |
| 178 | - this.$router.push({ path: "/bpm/process-instance/detail", query: { id: row.id}}); | |
| 178 | + this.$router.push({ name: "BpmProcessInstanceDetail", query: { id: row.id}}); | |
| 179 | 179 | }, |
| 180 | 180 | } |
| 181 | 181 | }; | ... | ... |
yudao-ui-admin/src/views/bpm/task/done.vue
| ... | ... | @@ -63,7 +63,7 @@ import {getDoneTaskPage} from '@/api/bpm/task' |
| 63 | 63 | import {getDate} from "@/utils/dateUtils"; |
| 64 | 64 | |
| 65 | 65 | export default { |
| 66 | - name: "Done", | |
| 66 | + name: "BpmDoneTask", | |
| 67 | 67 | components: { |
| 68 | 68 | }, |
| 69 | 69 | data() { |
| ... | ... | @@ -113,7 +113,7 @@ export default { |
| 113 | 113 | }, |
| 114 | 114 | /** 处理审批按钮 */ |
| 115 | 115 | handleAudit(row) { |
| 116 | - this.$router.push({ path: "/bpm/process-instance/detail", query: { id: row.processInstance.id}}); | |
| 116 | + this.$router.push({ name: "BpmProcessInstanceDetail", query: { id: row.processInstance.id}}); | |
| 117 | 117 | }, |
| 118 | 118 | } |
| 119 | 119 | }; | ... | ... |
yudao-ui-admin/src/views/bpm/task/todo.vue
| ... | ... | @@ -52,7 +52,7 @@ |
| 52 | 52 | import {getTodoTaskPage} from '@/api/bpm/task' |
| 53 | 53 | |
| 54 | 54 | export default { |
| 55 | - name: "Todo", | |
| 55 | + name: "BpmTodoTask", | |
| 56 | 56 | components: { |
| 57 | 57 | }, |
| 58 | 58 | data() { |
| ... | ... | @@ -100,7 +100,7 @@ export default { |
| 100 | 100 | }, |
| 101 | 101 | /** 处理审批按钮 */ |
| 102 | 102 | handleAudit(row) { |
| 103 | - this.$router.push({ path: "/bpm/process-instance/detail", query: { id: row.processInstance.id}}); | |
| 103 | + this.$router.push({ name: "BpmProcessInstanceDetail", query: { id: row.processInstance.id}}); | |
| 104 | 104 | }, |
| 105 | 105 | } |
| 106 | 106 | }; | ... | ... |
yudao-ui-admin/src/views/bpm/taskAssignRule/taskAssignRuleDialog.vue
| ... | ... | @@ -91,7 +91,7 @@ import {listSimpleUsers} from "@/api/system/user"; |
| 91 | 91 | import {listSimpleUserGroups} from "@/api/bpm/userGroup"; |
| 92 | 92 | |
| 93 | 93 | export default { |
| 94 | - name: "taskAssignRuleDialog", | |
| 94 | + name: "BpmTaskAssignRule", | |
| 95 | 95 | components: { |
| 96 | 96 | Treeselect |
| 97 | 97 | }, | ... | ... |
yudao-ui-admin/src/views/infra/apiAccessLog/index.vue
yudao-ui-admin/src/views/infra/apiErrorLog/index.vue
| ... | ... | @@ -123,7 +123,7 @@ import { updateApiErrorLogProcess, getApiErrorLogPage, exportApiErrorLogExcel } |
| 123 | 123 | import { InfraApiErrorLogProcessStatusEnum } from '@/utils/constants' |
| 124 | 124 | |
| 125 | 125 | export default { |
| 126 | - name: "ApiErrorLog", | |
| 126 | + name: "InfraApiErrorLog", | |
| 127 | 127 | components: { |
| 128 | 128 | }, |
| 129 | 129 | data() { | ... | ... |
yudao-ui-admin/src/views/infra/build/index.vue
yudao-ui-admin/src/views/infra/codegen/genInfoForm.vue
| ... | ... | @@ -11,6 +11,16 @@ |
| 11 | 11 | </el-form-item> |
| 12 | 12 | </el-col> |
| 13 | 13 | <el-col :span="12"> |
| 14 | + <el-form-item prop="templateType"> | |
| 15 | + <span slot="label">前端类型</span> | |
| 16 | + <el-select v-model="info.frontType"> | |
| 17 | + <el-option v-for="dict in this.getDictDatas(DICT_TYPE.INFRA_CODEGEN_FRONT_TYPE)" | |
| 18 | + :key="parseInt(dict.value)" :label="dict.label" :value="parseInt(dict.value)"/> | |
| 19 | + </el-select> | |
| 20 | + </el-form-item> | |
| 21 | + </el-col> | |
| 22 | + | |
| 23 | + <el-col :span="12"> | |
| 14 | 24 | <el-form-item prop="scene"> |
| 15 | 25 | <span slot="label">生成场景</span> |
| 16 | 26 | <el-select v-model="info.scene"> |
| ... | ... | @@ -19,6 +29,18 @@ |
| 19 | 29 | </el-select> |
| 20 | 30 | </el-form-item> |
| 21 | 31 | </el-col> |
| 32 | + <el-col :span="12"> | |
| 33 | + <el-form-item> | |
| 34 | + <span slot="label"> | |
| 35 | + 上级菜单 | |
| 36 | + <el-tooltip content="分配到指定菜单下,例如 系统管理" placement="top"> | |
| 37 | + <i class="el-icon-question"></i> | |
| 38 | + </el-tooltip> | |
| 39 | + </span> | |
| 40 | + <treeselect :append-to-body="true" v-model="info.parentMenuId" :options="menus" | |
| 41 | + :normalizer="normalizer" :show-count="true" placeholder="请选择系统菜单" /> | |
| 42 | + </el-form-item> | |
| 43 | + </el-col> | |
| 22 | 44 | |
| 23 | 45 | <!-- <el-col :span="12">--> |
| 24 | 46 | <!-- <el-form-item prop="packageName">--> |
| ... | ... | @@ -92,19 +114,6 @@ |
| 92 | 114 | </el-form-item> |
| 93 | 115 | </el-col> |
| 94 | 116 | |
| 95 | - <el-col :span="12"> | |
| 96 | - <el-form-item> | |
| 97 | - <span slot="label"> | |
| 98 | - 上级菜单 | |
| 99 | - <el-tooltip content="分配到指定菜单下,例如 系统管理" placement="top"> | |
| 100 | - <i class="el-icon-question"></i> | |
| 101 | - </el-tooltip> | |
| 102 | - </span> | |
| 103 | - <treeselect :append-to-body="true" v-model="info.parentMenuId" :options="menus" | |
| 104 | - :normalizer="normalizer" :show-count="true" placeholder="请选择系统菜单" /> | |
| 105 | - </el-form-item> | |
| 106 | - </el-col> | |
| 107 | - | |
| 108 | 117 | <el-col :span="24" v-if="info.genType === '1'"> |
| 109 | 118 | <el-form-item prop="genPath"> |
| 110 | 119 | <span slot="label"> |
| ... | ... | @@ -257,6 +266,9 @@ export default { |
| 257 | 266 | scene: [ |
| 258 | 267 | { required: true, message: "请选择生成场景", trigger: "blur" } |
| 259 | 268 | ], |
| 269 | + frontType: [ | |
| 270 | + { required: true, message: "请选择前端类型", trigger: "blur" } | |
| 271 | + ], | |
| 260 | 272 | // packageName: [ |
| 261 | 273 | // { required: true, message: "请输入生成包路径", trigger: "blur" } |
| 262 | 274 | // ], | ... | ... |
yudao-ui-admin/src/views/infra/codegen/index.vue
| ... | ... | @@ -100,7 +100,7 @@ hljs.registerLanguage("javascript", require("highlight.js/lib/languages/javascri |
| 100 | 100 | hljs.registerLanguage("sql", require("highlight.js/lib/languages/sql")); |
| 101 | 101 | hljs.registerLanguage("typescript", require("highlight.js/lib/languages/typescript")); |
| 102 | 102 | export default { |
| 103 | - name: "Codegen", | |
| 103 | + name: "InfraCodegen", | |
| 104 | 104 | components: { importTable }, |
| 105 | 105 | data() { |
| 106 | 106 | return { | ... | ... |
yudao-ui-admin/src/views/infra/config/index.vue
yudao-ui-admin/src/views/infra/dataSourceConfig/index.vue
| ... | ... | @@ -57,7 +57,7 @@ |
| 57 | 57 | import { createDataSourceConfig, updateDataSourceConfig, deleteDataSourceConfig, getDataSourceConfig, getDataSourceConfigList } from "@/api/infra/dataSourceConfig"; |
| 58 | 58 | |
| 59 | 59 | export default { |
| 60 | - name: "DataSourceConfig", | |
| 60 | + name: "InfraDataSourceConfig", | |
| 61 | 61 | components: { |
| 62 | 62 | }, |
| 63 | 63 | data() { | ... | ... |
yudao-ui-admin/src/views/infra/dbDoc/index.vue
| ... | ... | @@ -21,7 +21,7 @@ import { exportHtml, exportWord, exportMarkdown} from "@/api/infra/dbDoc"; |
| 21 | 21 | import iFrame from "@/components/iFrame/index"; |
| 22 | 22 | |
| 23 | 23 | export default { |
| 24 | - name: "DBDoc", | |
| 24 | + name: "InfraDBDoc", | |
| 25 | 25 | components: { iFrame }, |
| 26 | 26 | data() { |
| 27 | 27 | return { | ... | ... |
yudao-ui-admin/src/views/infra/druid/index.vue
| ... | ... | @@ -2,18 +2,31 @@ |
| 2 | 2 | <div> |
| 3 | 3 | <doc-alert title="数据库 MyBatis" url="https://doc.iocoder.cn/mybatis/" /> |
| 4 | 4 | <doc-alert title="多数据源(读写分离)" url="https://doc.iocoder.cn/dynamic-datasource/" /> |
| 5 | - <i-frame :src="url" /> | |
| 5 | + | |
| 6 | + <i-frame v-if="!loading" :src="url" /> | |
| 6 | 7 | </div> |
| 7 | 8 | </template> |
| 8 | 9 | <script> |
| 9 | 10 | import iFrame from "@/components/iFrame/index"; |
| 11 | +import { getConfigKey } from "@/api/infra/config"; | |
| 10 | 12 | export default { |
| 11 | 13 | name: "Druid", |
| 12 | 14 | components: { iFrame }, |
| 13 | 15 | data() { |
| 14 | 16 | return { |
| 15 | - url: process.env.VUE_APP_BASE_API + "/druid/index.html" | |
| 17 | + url: process.env.VUE_APP_BASE_API + "/druid/index.html", | |
| 18 | + loading: true | |
| 16 | 19 | }; |
| 17 | 20 | }, |
| 21 | + created() { | |
| 22 | + getConfigKey("url.druid").then(response => { | |
| 23 | + if (!response.data || response.data.length === 0) { | |
| 24 | + return | |
| 25 | + } | |
| 26 | + this.url = response.data; | |
| 27 | + }).finally(() => { | |
| 28 | + this.loading = false; | |
| 29 | + }) | |
| 30 | + } | |
| 18 | 31 | }; |
| 19 | 32 | </script> | ... | ... |
yudao-ui-admin/src/views/infra/file/index.vue
yudao-ui-admin/src/views/infra/fileConfig/index.vue
yudao-ui-admin/src/views/infra/job/index.vue
yudao-ui-admin/src/views/infra/job/log.vue
yudao-ui-admin/src/views/infra/redis/index.vue
| ... | ... | @@ -65,81 +65,15 @@ |
| 65 | 65 | </el-card> |
| 66 | 66 | </el-col> |
| 67 | 67 | </el-row> |
| 68 | - | |
| 69 | - <el-table v-loading="keyDefineListLoad" :data="keyDefineList" row-key="id" @row-click="openKeyTemplate"> | |
| 70 | - <el-table-column prop="keyTemplate" label="Key 模板" width="200" /> | |
| 71 | - <el-table-column prop="keyType" label="Key 类型" width="100" /> | |
| 72 | - <el-table-column prop="valueType" label="Value 类型" /> | |
| 73 | - <el-table-column prop="timeoutType" label="超时时间" width="200"> | |
| 74 | - <template v-slot="scope"> | |
| 75 | - <dict-tag | |
| 76 | - :type="DICT_TYPE.INFRA_REDIS_TIMEOUT_TYPE" | |
| 77 | - :value="scope.row.timeoutType" | |
| 78 | - /> | |
| 79 | - <span v-if="scope.row.timeout > 0" | |
| 80 | - >({{ scope.row.timeout / 1000 }} 秒)</span | |
| 81 | - > | |
| 82 | - </template> | |
| 83 | - </el-table-column> | |
| 84 | - <el-table-column prop="memo" label="备注" /> | |
| 85 | - </el-table> | |
| 86 | - | |
| 87 | - <!-- 缓存模块信息框 --> | |
| 88 | - <el-dialog :title="keyTemplate + ' 模板'" :visible.sync="open" width="70vw" append-to-body> | |
| 89 | - <el-row :gutter="10"> | |
| 90 | - <el-col :span="14" class="card-box"> | |
| 91 | - <el-card style="height: 70vh; overflow: scroll"> | |
| 92 | - <div slot="header"> | |
| 93 | - <span>键名列表</span> | |
| 94 | - <el-button style="float: right; padding: 3px 0" type="text" icon="el-icon-refresh-right" @click="refreshKeys" /> | |
| 95 | - </div> | |
| 96 | - <el-table :data="cacheKeys" style="width: 100%" @row-click="handleKeyValue"> | |
| 97 | - <el-table-column label="缓存键名" align="center" :show-overflow-tooltip="true"> | |
| 98 | - <template v-slot="scope">{{ scope.row }}</template> | |
| 99 | - </el-table-column> | |
| 100 | - <el-table-column label="操作" width="60" align="center" class-name="small-padding fixed-width"> | |
| 101 | - <template v-slot="scope"> | |
| 102 | - <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDeleteKey(scope.row)" /> | |
| 103 | - </template> | |
| 104 | - </el-table-column> | |
| 105 | - </el-table> | |
| 106 | - </el-card> | |
| 107 | - </el-col> | |
| 108 | - | |
| 109 | - <el-col :span="10"> | |
| 110 | - <el-card :bordered="false" style="height: 70vh"> | |
| 111 | - <div slot="header"> | |
| 112 | - <span>缓存内容</span> | |
| 113 | - <el-button style="float: right; padding: 3px 0" type="text" icon="el-icon-refresh-right" | |
| 114 | - @click="handleDeleteKeys(keyTemplate)">清理全部</el-button> | |
| 115 | - </div> | |
| 116 | - <el-form :model="cacheForm"> | |
| 117 | - <el-row :gutter="32"> | |
| 118 | - <el-col :offset="1" :span="22"> | |
| 119 | - <el-form-item label="缓存键名:" prop="key"> | |
| 120 | - <el-input v-model="cacheForm.key" :readOnly="true" /> | |
| 121 | - </el-form-item> | |
| 122 | - </el-col> | |
| 123 | - <el-col :offset="1" :span="22"> | |
| 124 | - <el-form-item label="缓存内容:" prop="value"> | |
| 125 | - <el-input v-model="cacheForm.value" type="textarea" :rows="12" :readOnly="true"/> | |
| 126 | - </el-form-item> | |
| 127 | - </el-col> | |
| 128 | - </el-row> | |
| 129 | - </el-form> | |
| 130 | - </el-card> | |
| 131 | - </el-col> | |
| 132 | - </el-row> | |
| 133 | - </el-dialog> | |
| 134 | 68 | </div> |
| 135 | 69 | </template> |
| 136 | 70 | |
| 137 | 71 | <script> |
| 138 | -import {getCache, getKeyDefineList, getKeyList, getKeyValue, deleteKey, deleteKeys} from "@/api/infra/redis"; | |
| 72 | +import { getCache } from "@/api/infra/redis"; | |
| 139 | 73 | import * as echarts from 'echarts' |
| 140 | 74 | require('echarts/theme/macarons') // echarts theme |
| 141 | 75 | export default { |
| 142 | - name: "Server", | |
| 76 | + name: "InfraRedis", | |
| 143 | 77 | data () { |
| 144 | 78 | return { |
| 145 | 79 | // 统计命令信息 |
| ... | ... | @@ -147,15 +81,7 @@ export default { |
| 147 | 81 | // 使用内存 |
| 148 | 82 | usedmemory: null, |
| 149 | 83 | // cache 信息 |
| 150 | - cache: [], | |
| 151 | - // key 列表 | |
| 152 | - keyDefineListLoad: true, | |
| 153 | - keyDefineList: [], | |
| 154 | - // 模块弹出框 | |
| 155 | - open: false, | |
| 156 | - keyTemplate: "", | |
| 157 | - cacheKeys: [], | |
| 158 | - cacheForm: {} | |
| 84 | + cache: [] | |
| 159 | 85 | }; |
| 160 | 86 | }, |
| 161 | 87 | created () { |
| ... | ... | @@ -220,61 +146,12 @@ export default { |
| 220 | 146 | ], |
| 221 | 147 | }); |
| 222 | 148 | }); |
| 223 | - | |
| 224 | - // 查询 Redis Key 列表 | |
| 225 | - getKeyDefineList().then(response => { | |
| 226 | - this.keyDefineList = response.data; | |
| 227 | - this.keyDefineListLoad = false; | |
| 228 | - }); | |
| 229 | 149 | }, |
| 230 | 150 | |
| 231 | 151 | // 打开加载层 |
| 232 | 152 | openLoading () { |
| 233 | 153 | this.$modal.loading("正在加载缓存监控数据,请稍后!"); |
| 234 | - }, | |
| 235 | - | |
| 236 | - // 打开缓存弹窗 | |
| 237 | - openKeyTemplate (keyDefine) { | |
| 238 | - this.open = true; | |
| 239 | - // 加载键名列表 | |
| 240 | - this.keyTemplate = keyDefine.keyTemplate; | |
| 241 | - this.doGetKeyList(this.keyTemplate); | |
| 242 | - }, | |
| 243 | - | |
| 244 | - // 获取键名列表 | |
| 245 | - doGetKeyList (keyTemplate) { | |
| 246 | - getKeyList(keyTemplate).then(response => { | |
| 247 | - this.cacheKeys = response.data | |
| 248 | - this.cacheForm = {} | |
| 249 | - }) | |
| 250 | - }, | |
| 251 | - | |
| 252 | - // 获取缓存值 | |
| 253 | - handleKeyValue (key) { | |
| 254 | - getKeyValue(key).then(response => { | |
| 255 | - this.cacheForm = response.data | |
| 256 | - }) | |
| 257 | - }, | |
| 258 | - | |
| 259 | - // 刷新键名列表 | |
| 260 | - refreshKeys() { | |
| 261 | - this.$modal.msgSuccess("刷新键名列表成功"); | |
| 262 | - this.doGetKeyList(this.keyTemplate); | |
| 263 | - }, | |
| 264 | - | |
| 265 | - // 删除缓存 | |
| 266 | - handleDeleteKey(key){ | |
| 267 | - deleteKey(key).then(response => { | |
| 268 | - this.$modal.msgSuccess("清理缓存键名[" + key + "]成功"); | |
| 269 | - this.doGetKeyList(this.keyTemplate); | |
| 270 | - }) | |
| 271 | - }, | |
| 272 | - handleDeleteKeys(keyTemplate){ | |
| 273 | - deleteKeys(keyTemplate).then(response => { | |
| 274 | - this.$modal.msgSuccess("清空[" + keyTemplate + "]成功"); | |
| 275 | - this.doGetKeyList(this.keyTemplate); | |
| 276 | - }) | |
| 277 | - }, | |
| 154 | + } | |
| 278 | 155 | }, |
| 279 | 156 | }; |
| 280 | 157 | </script> | ... | ... |
yudao-ui-admin/src/views/infra/server/index.vue
| 1 | 1 | <template> |
| 2 | 2 | <div> |
| 3 | 3 | <doc-alert title="服务监控" url="https://doc.iocoder.cn/server-monitor/" /> |
| 4 | - <i-frame :src="url" /> | |
| 4 | + <i-frame v-if="!loading" :src="url" /> | |
| 5 | 5 | </div> |
| 6 | 6 | </template> |
| 7 | 7 | <script> |
| 8 | 8 | import iFrame from "@/components/iFrame/index"; |
| 9 | +import { getConfigKey } from "@/api/infra/config"; | |
| 9 | 10 | export default { |
| 10 | - name: "Druid", | |
| 11 | + name: "InfraAdminServer", | |
| 11 | 12 | components: { iFrame }, |
| 12 | 13 | data() { |
| 13 | 14 | return { |
| 14 | - url: process.env.VUE_APP_BASE_API + "/admin/applications" | |
| 15 | + url: process.env.VUE_APP_BASE_API + "/admin/applications", | |
| 16 | + loading: true | |
| 15 | 17 | }; |
| 16 | 18 | }, |
| 19 | + created() { | |
| 20 | + getConfigKey("url.spring-boot-admin").then(response => { | |
| 21 | + if (!response.data || response.data.length === 0) { | |
| 22 | + return | |
| 23 | + } | |
| 24 | + this.url = response.data; | |
| 25 | + }).finally(() => { | |
| 26 | + this.loading = false; | |
| 27 | + }) | |
| 28 | + } | |
| 17 | 29 | }; |
| 18 | 30 | </script> | ... | ... |
yudao-ui-admin/src/views/infra/skywalking/index.vue
| 1 | 1 | <template> |
| 2 | 2 | <div> |
| 3 | 3 | <doc-alert title="服务监控" url="https://doc.iocoder.cn/server-monitor/" /> |
| 4 | - <i-frame :src="url" /> | |
| 4 | + <i-frame v-if="!loading" :src="url" /> | |
| 5 | 5 | </div> |
| 6 | 6 | </template> |
| 7 | 7 | <script> |
| 8 | 8 | import iFrame from "@/components/iFrame/index"; |
| 9 | +import { getConfigKey } from "@/api/infra/config"; | |
| 9 | 10 | export default { |
| 10 | - name: "Druid", | |
| 11 | + name: "InfraSkyWalking", | |
| 11 | 12 | components: { iFrame }, |
| 12 | 13 | data() { |
| 13 | 14 | return { |
| 14 | - url: "http://skywalking.shop.iocoder.cn", // TODO 芋艿,后续改成配置读取 | |
| 15 | + url: "http://skywalking.shop.iocoder.cn", | |
| 16 | + loading: true | |
| 15 | 17 | }; |
| 16 | 18 | }, |
| 19 | + created() { | |
| 20 | + getConfigKey("url.skywalking").then(response => { | |
| 21 | + if (!response.data || response.data.length === 0) { | |
| 22 | + return | |
| 23 | + } | |
| 24 | + this.url = response.data; | |
| 25 | + }).finally(() => { | |
| 26 | + this.loading = false; | |
| 27 | + }) | |
| 28 | + } | |
| 17 | 29 | }; |
| 18 | 30 | </script> | ... | ... |
yudao-ui-admin/src/views/infra/swagger/index.vue
| 1 | 1 | <template> |
| 2 | 2 | <div> |
| 3 | 3 | <doc-alert title="接口文档" url="https://doc.iocoder.cn/api-doc/" /> |
| 4 | - <i-frame :src="url" /> | |
| 4 | + <i-frame v-if="!loading" :src="url" /> | |
| 5 | 5 | </div> |
| 6 | 6 | </template> |
| 7 | 7 | <script> |
| 8 | 8 | import iFrame from "@/components/iFrame/index"; |
| 9 | +import { getConfigKey } from "@/api/infra/config"; | |
| 9 | 10 | export default { |
| 10 | - name: "Druid", | |
| 11 | + name: "InfraSwagger", | |
| 11 | 12 | components: { iFrame }, |
| 12 | 13 | data() { |
| 13 | 14 | return { |
| 14 | - // url: process.env.VUE_APP_BASE_API + "/doc.html" | |
| 15 | - url: process.env.VUE_APP_BASE_API + "/swagger-ui" | |
| 15 | + url: process.env.VUE_APP_BASE_API + "/doc.html", // Knife4j UI | |
| 16 | + // url: process.env.VUE_APP_BASE_API + "/swagger-ui", // Swagger UI | |
| 17 | + loading: true | |
| 16 | 18 | }; |
| 17 | 19 | }, |
| 20 | + created() { | |
| 21 | + getConfigKey("url.swagger").then(response => { | |
| 22 | + if (!response.data || response.data.length === 0) { | |
| 23 | + return | |
| 24 | + } | |
| 25 | + this.url = response.data; | |
| 26 | + }).finally(() => { | |
| 27 | + this.loading = false; | |
| 28 | + }) | |
| 29 | + } | |
| 18 | 30 | }; |
| 19 | 31 | </script> | ... | ... |
yudao-ui-admin/src/views/mall/product/property/index.vue
yudao-ui-admin/src/views/mall/product/property/value.vue
yudao-ui-admin/src/views/mall/product/spu/index.vue
| ... | ... | @@ -227,7 +227,7 @@ import {getBrandList} from "@/api/mall/product/brand"; |
| 227 | 227 | import {ProductSpuStatusEnum} from "@/utils/constants"; |
| 228 | 228 | |
| 229 | 229 | export default { |
| 230 | - name: "Spu", | |
| 230 | + name: "ProductSpu", | |
| 231 | 231 | data() { |
| 232 | 232 | return { |
| 233 | 233 | activeTabs: "all", |
| ... | ... | @@ -318,11 +318,11 @@ export default { |
| 318 | 318 | }, |
| 319 | 319 | /** 新增按钮操作 */ |
| 320 | 320 | handleAdd() { |
| 321 | - this.$router.push({ name: 'SpuAdd'}) | |
| 321 | + this.$router.push({ name: 'ProductSpuCreate'}) | |
| 322 | 322 | }, |
| 323 | 323 | /** 修改按钮操作 */ |
| 324 | 324 | handleUpdate(row) { |
| 325 | - this.$router.push({ name: 'SpuEdit', params: { spuId: row.id }}) | |
| 325 | + this.$router.push({ name: 'ProductSpuUpdate', params: { spuId: row.id }}) | |
| 326 | 326 | }, |
| 327 | 327 | /** 删除按钮操作 */ |
| 328 | 328 | handleDelete(row) { | ... | ... |
yudao-ui-admin/src/views/mall/product/spu/save.vue
| ... | ... | @@ -187,7 +187,6 @@ |
| 187 | 187 | </template> |
| 188 | 188 | |
| 189 | 189 | <script> |
| 190 | - | |
| 191 | 190 | import {getBrandList} from "@/api/mall/product/brand"; |
| 192 | 191 | import {getProductCategoryList} from "@/api/mall/product/category"; |
| 193 | 192 | import {createSpu, getSpuDetail, updateSpu} from "@/api/mall/product/spu"; |
| ... | ... | @@ -197,6 +196,7 @@ import ImageUpload from "@/components/ImageUpload"; |
| 197 | 196 | import VideoUpload from "@/components/VideoUpload"; |
| 198 | 197 | |
| 199 | 198 | export default { |
| 199 | + name: "ProductSave", | |
| 200 | 200 | components: { |
| 201 | 201 | Editor, |
| 202 | 202 | ImageUpload, | ... | ... |
yudao-ui-admin/src/views/mall/promotion/coupon/index.vue
| ... | ... | @@ -74,7 +74,7 @@ import { deleteCoupon, getCouponPage } from "@/api/mall/promotion/coupon"; |
| 74 | 74 | import { DICT_TYPE, getDictDatas} from "@/utils/dict"; |
| 75 | 75 | |
| 76 | 76 | export default { |
| 77 | - name: "Coupon", | |
| 77 | + name: "PromotionCoupon", | |
| 78 | 78 | components: { |
| 79 | 79 | }, |
| 80 | 80 | data() { | ... | ... |
yudao-ui-admin/src/views/mall/promotion/couponTemplate/index.vue
| ... | ... | @@ -179,7 +179,7 @@ import { parseTime } from "@/utils/ruoyi"; |
| 179 | 179 | import {changeRoleStatus} from "@/api/system/role"; |
| 180 | 180 | |
| 181 | 181 | export default { |
| 182 | - name: "CouponTemplate", | |
| 182 | + name: "PromotionCouponTemplate", | |
| 183 | 183 | components: { |
| 184 | 184 | }, |
| 185 | 185 | data() { | ... | ... |
yudao-ui-admin/src/views/mall/promotion/discountActivity/index.vue
| ... | ... | @@ -156,7 +156,7 @@ import { getSkuOptionList } from "@/api/mall/product/sku"; |
| 156 | 156 | import { deepClone } from "@/utils"; |
| 157 | 157 | |
| 158 | 158 | export default { |
| 159 | - name: "DiscountActivity", | |
| 159 | + name: "PromotionDiscountActivity", | |
| 160 | 160 | components: { |
| 161 | 161 | }, |
| 162 | 162 | data() { | ... | ... |
yudao-ui-admin/src/views/mall/promotion/rewardActivity/index.vue
yudao-ui-admin/src/views/mall/promotion/seckill/seckillActivity/index.vue
| ... | ... | @@ -192,7 +192,7 @@ import { getSeckillTimeList } from "@/api/mall/promotion/seckillTime"; |
| 192 | 192 | import { deepClone } from "@/utils"; |
| 193 | 193 | |
| 194 | 194 | export default { |
| 195 | - name: "SeckillActivity", | |
| 195 | + name: "PromotionSeckillActivity", | |
| 196 | 196 | components: { |
| 197 | 197 | }, |
| 198 | 198 | data() { | ... | ... |
yudao-ui-admin/src/views/mall/promotion/seckill/seckillTime/index.vue
yudao-ui-admin/src/views/mall/trade/afterSale/index.vue
| ... | ... | @@ -104,7 +104,7 @@ import { datePickerOptions } from "@/utils/constants"; |
| 104 | 104 | import { DICT_TYPE, getDictDatas } from "@/utils/dict"; |
| 105 | 105 | |
| 106 | 106 | export default { |
| 107 | - name: "AfterSale", | |
| 107 | + name: "TradeAfterSale", | |
| 108 | 108 | components: { |
| 109 | 109 | }, |
| 110 | 110 | data() { | ... | ... |
yudao-ui-admin/src/views/mall/trade/order/detail.vue
yudao-ui-admin/src/views/mall/trade/order/index.vue
| ... | ... | @@ -143,7 +143,7 @@ import { datePickerOptions } from "@/utils/constants"; |
| 143 | 143 | import { DICT_TYPE, getDictDatas } from "@/utils/dict"; |
| 144 | 144 | |
| 145 | 145 | export default { |
| 146 | - name: "index", | |
| 146 | + name: "TradeOrder", | |
| 147 | 147 | data () { |
| 148 | 148 | return { |
| 149 | 149 | // 遮罩层 |
| ... | ... | @@ -232,7 +232,7 @@ export default { |
| 232 | 232 | this.getList(); |
| 233 | 233 | }, |
| 234 | 234 | goToDetail (row) { |
| 235 | - this.$router.push({ path: '/trade/order/detail', query: { id: row.id }}) | |
| 235 | + this.$router.push({ name: 'TradeOrderDetail', query: { id: row.id }}) | |
| 236 | 236 | } |
| 237 | 237 | } |
| 238 | 238 | } | ... | ... |
yudao-ui-admin/src/views/mp/mpuser/index.vue renamed to yudao-ui-admin/src/views/mp/user/index.vue
yudao-ui-admin/src/views/pay/app/index.vue
| ... | ... | @@ -229,7 +229,7 @@ import wechatChannelForm from "@/views/pay/app/components/wechatChannelForm"; |
| 229 | 229 | import aliPayChannelForm from "@/views/pay/app/components/aliPayChannelForm"; |
| 230 | 230 | |
| 231 | 231 | export default { |
| 232 | - name: "App", | |
| 232 | + name: "PayApp", | |
| 233 | 233 | components: { |
| 234 | 234 | "wechatChannelForm": wechatChannelForm, |
| 235 | 235 | "aliPayChannelForm": aliPayChannelForm | ... | ... |
yudao-ui-admin/src/views/pay/merchant/index.vue
yudao-ui-admin/src/views/pay/refund/index.vue
yudao-ui-admin/src/views/system/area/index.vue
yudao-ui-admin/src/views/system/dept/index.vue
| ... | ... | @@ -117,7 +117,7 @@ import { getDictDatas, DICT_TYPE } from '@/utils/dict' |
| 117 | 117 | import {listSimpleUsers} from "@/api/system/user"; |
| 118 | 118 | |
| 119 | 119 | export default { |
| 120 | - name: "Dept", | |
| 120 | + name: "SystemDept", | |
| 121 | 121 | components: { Treeselect }, |
| 122 | 122 | data() { |
| 123 | 123 | return { | ... | ... |
yudao-ui-admin/src/views/system/dict/data.vue
yudao-ui-admin/src/views/system/dict/index.vue
yudao-ui-admin/src/views/system/errorCode/index.vue
| ... | ... | @@ -99,7 +99,7 @@ |
| 99 | 99 | import { createErrorCode, updateErrorCode, deleteErrorCode, getErrorCode, getErrorCodePage, exportErrorCodeExcel } from "@/api/system/errorCode"; |
| 100 | 100 | |
| 101 | 101 | export default { |
| 102 | - name: "ErrorCode", | |
| 102 | + name: "SystemErrorCode", | |
| 103 | 103 | components: { |
| 104 | 104 | }, |
| 105 | 105 | data() { | ... | ... |
yudao-ui-admin/src/views/system/loginlog/index.vue
yudao-ui-admin/src/views/system/mail/account/index.vue
| ... | ... | @@ -92,7 +92,7 @@ |
| 92 | 92 | import { createMailAccount, updateMailAccount, deleteMailAccount, getMailAccount, getMailAccountPage } from "@/api/system/mail/account"; |
| 93 | 93 | |
| 94 | 94 | export default { |
| 95 | - name: "MailAccount", | |
| 95 | + name: "SystemMailAccount", | |
| 96 | 96 | components: { |
| 97 | 97 | }, |
| 98 | 98 | data() { | ... | ... |
yudao-ui-admin/src/views/system/mail/log/index.vue
yudao-ui-admin/src/views/system/mail/template/index.vue
| ... | ... | @@ -144,7 +144,7 @@ import { CommonStatusEnum } from "@/utils/constants"; |
| 144 | 144 | import { getSimpleMailAccountList } from "@/api/system/mail/account"; |
| 145 | 145 | |
| 146 | 146 | export default { |
| 147 | - name: "MailTemplate", | |
| 147 | + name: "SystemMailTemplate", | |
| 148 | 148 | components: { |
| 149 | 149 | Editor, |
| 150 | 150 | }, | ... | ... |
yudao-ui-admin/src/views/system/menu/index.vue
| ... | ... | @@ -207,7 +207,7 @@ import { getDictDatas, DICT_TYPE } from '@/utils/dict' |
| 207 | 207 | import {isExternal} from "@/utils/validate"; |
| 208 | 208 | |
| 209 | 209 | export default { |
| 210 | - name: "Menu", | |
| 210 | + name: "SystemMenu", | |
| 211 | 211 | components: { Treeselect, IconSelect }, |
| 212 | 212 | data() { |
| 213 | 213 | return { | ... | ... |
yudao-ui-admin/src/views/system/notice/index.vue
yudao-ui-admin/src/views/system/notify/message/index.vue
yudao-ui-admin/src/views/system/notify/my/index.vue
yudao-ui-admin/src/views/system/notify/template/index.vue
| ... | ... | @@ -140,7 +140,7 @@ import {listSimpleUsers} from "@/api/system/user"; |
| 140 | 140 | import {CommonStatusEnum} from "@/utils/constants"; |
| 141 | 141 | |
| 142 | 142 | export default { |
| 143 | - name: "NotifyTemplate", | |
| 143 | + name: "SystemNotifyTemplate", | |
| 144 | 144 | data() { |
| 145 | 145 | return { |
| 146 | 146 | // 遮罩层 | ... | ... |
yudao-ui-admin/src/views/system/oauth2/client/index.vue
| ... | ... | @@ -155,7 +155,7 @@ import {CommonStatusEnum} from "@/utils/constants"; |
| 155 | 155 | import FileUpload from "@/components/FileUpload"; |
| 156 | 156 | |
| 157 | 157 | export default { |
| 158 | - name: "OAuth2Client", | |
| 158 | + name: "SystemOAuth2Client", | |
| 159 | 159 | components: { |
| 160 | 160 | FileUpload, |
| 161 | 161 | ImageUpload, | ... | ... |
yudao-ui-admin/src/views/system/oauth2/token/index.vue
yudao-ui-admin/src/views/system/operatelog/index.vue
yudao-ui-admin/src/views/system/post/index.vue
yudao-ui-admin/src/views/system/role/index.vue
| ... | ... | @@ -180,7 +180,7 @@ import {CommonStatusEnum, SystemDataScopeEnum} from "@/utils/constants"; |
| 180 | 180 | import {DICT_TYPE, getDictDatas} from "@/utils/dict"; |
| 181 | 181 | |
| 182 | 182 | export default { |
| 183 | - name: "Role", | |
| 183 | + name: "SystemRole", | |
| 184 | 184 | data() { |
| 185 | 185 | return { |
| 186 | 186 | // 遮罩层 | ... | ... |
yudao-ui-admin/src/views/system/sensitiveWord/index.vue
| ... | ... | @@ -133,7 +133,7 @@ import { createSensitiveWord, updateSensitiveWord, deleteSensitiveWord, getSensi |
| 133 | 133 | import {CommonStatusEnum} from "@/utils/constants"; |
| 134 | 134 | |
| 135 | 135 | export default { |
| 136 | - name: "SensitiveWord", | |
| 136 | + name: "SystemSensitiveWord", | |
| 137 | 137 | data() { |
| 138 | 138 | return { |
| 139 | 139 | // 遮罩层 | ... | ... |
yudao-ui-admin/src/views/system/sms/smsChannel.vue renamed to yudao-ui-admin/src/views/system/sms/channel/index.vue
| ... | ... | @@ -110,7 +110,7 @@ |
| 110 | 110 | import { createSmsChannel, updateSmsChannel, deleteSmsChannel, getSmsChannel, getSmsChannelPage } from "@/api/system/sms/smsChannel"; |
| 111 | 111 | |
| 112 | 112 | export default { |
| 113 | - name: "SmsChannel", | |
| 113 | + name: "SystemSmsChannel", | |
| 114 | 114 | components: { |
| 115 | 115 | }, |
| 116 | 116 | data() { | ... | ... |
yudao-ui-admin/src/views/system/sms/smsLog.vue renamed to yudao-ui-admin/src/views/system/sms/log/index.vue
| ... | ... | @@ -189,7 +189,7 @@ import { getSmsLogPage, exportSmsLogExcel } from "@/api/system/sms/smsLog"; |
| 189 | 189 | import { getSimpleSmsChannels } from "@/api/system/sms/smsChannel"; |
| 190 | 190 | |
| 191 | 191 | export default { |
| 192 | - name: "SmsLog", | |
| 192 | + name: "SystemSmsLog", | |
| 193 | 193 | components: { |
| 194 | 194 | }, |
| 195 | 195 | data() { | ... | ... |
yudao-ui-admin/src/views/system/sms/smsTemplate.vue renamed to yudao-ui-admin/src/views/system/sms/template/index.vue
| ... | ... | @@ -166,7 +166,7 @@ import { createSmsTemplate, updateSmsTemplate, deleteSmsTemplate, getSmsTemplate |
| 166 | 166 | import { getSimpleSmsChannels } from "@/api/system/sms/smsChannel"; |
| 167 | 167 | |
| 168 | 168 | export default { |
| 169 | - name: "SmsTemplate", | |
| 169 | + name: "SystemSmsTemplate", | |
| 170 | 170 | data() { |
| 171 | 171 | return { |
| 172 | 172 | // 遮罩层 | ... | ... |
yudao-ui-admin/src/views/system/tenant/index.vue
| ... | ... | @@ -141,7 +141,7 @@ import { CommonStatusEnum } from '@/utils/constants' |
| 141 | 141 | import {getTenantPackageList} from "@/api/system/tenantPackage"; |
| 142 | 142 | |
| 143 | 143 | export default { |
| 144 | - name: "Tenant", | |
| 144 | + name: "SystemTenant", | |
| 145 | 145 | components: { |
| 146 | 146 | }, |
| 147 | 147 | data() { | ... | ... |
yudao-ui-admin/src/views/system/tenantPackage/index.vue
yudao-ui-admin/src/views/system/user/index.vue
| ... | ... | @@ -248,7 +248,7 @@ import {listSimpleRoles} from "@/api/system/role"; |
| 248 | 248 | import {getBaseHeader} from "@/utils/request"; |
| 249 | 249 | |
| 250 | 250 | export default { |
| 251 | - name: "User", | |
| 251 | + name: "SystemUser", | |
| 252 | 252 | components: { Treeselect }, |
| 253 | 253 | data() { |
| 254 | 254 | return { | ... | ... |