From 9350523b35df526c45ff3eeea3fb1975a28f461a Mon Sep 17 00:00:00 2001 From: liuhongfeng <291117974@qq.com> Date: Wed, 22 Nov 2023 22:15:08 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=96=B0=E5=A2=9E=E3=80=91ureport2?= =?UTF-8?q?=E8=8F=9C=E5=8D=95=EF=BC=8C=E5=88=9D=E5=A7=8B=E5=8C=96=E6=95=B0?= =?UTF-8?q?=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sql/mysql/Ureport.sql | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sql/mysql/Ureport.sql b/sql/mysql/Ureport.sql index b1c11afc0..f75efb874 100644 --- a/sql/mysql/Ureport.sql +++ b/sql/mysql/Ureport.sql @@ -4,7 +4,7 @@ INSERT INTO system_menu( path, icon, component, status, component_name ) VALUES ( - 'Ureport2报表管理', '', 2, 0, 1281, + 'Ureport2报表', '', 2, 0, 1281, 'ureport-file', '', 'report/ureport/index', 0, 'UreportFile' ); @@ -55,6 +55,7 @@ VALUES ( ); +-- 创建数据库表 DROP TABLE IF EXISTS `ureport_file`; CREATE TABLE `ureport_file` ( `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'ID', @@ -70,3 +71,7 @@ CREATE TABLE `ureport_file` ( `tenant_id` bigint(20) NOT NULL DEFAULT 0 COMMENT '租户编号', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = 'Ureport2报表' ROW_FORMAT = Dynamic; + + +-- 插入测试报表 +INSERT INTO `ureport_file` (`id`, `file_name`, `status`, `file_content`, `remark`, `creator`, `create_time`, `updater`, `update_time`, `deleted`, `tenant_id`) VALUES (7, '角色对应的用户列表.ureport.xml', 0, '', NULL, NULL, '2023-11-22 22:02:44', NULL, '2023-11-22 22:06:51', b'0', 0);