【移除】Ureport 的实现,因为和 Spring Boot 兼容性较差

This commit is contained in:
YunaiV
2024-03-30 20:51:41 +08:00
parent 4ecc26d08f
commit 6d8c608a59
6 changed files with 515 additions and 143 deletions

View File

@@ -12,8 +12,4 @@ public interface ErrorCodeConstants {
// ========== GoView 模块 1-003-000-000 ==========
ErrorCode GO_VIEW_PROJECT_NOT_EXISTS = new ErrorCode(1_003_000_000, "GoView 项目不存在");
// ========== UREPORT 模块 1-003-001-000 ==========
ErrorCode UREPORT_DATA_NOT_EXISTS = new ErrorCode(1_003_001_001, "Ureport2 报表不存在");
ErrorCode UREPORT_DATABASE_NOT_EXISTS = new ErrorCode(1_003_001_002, "Ureport2 报表数据源不存在");
}

View File

@@ -1,7 +0,0 @@
/**
* ureport2https://github.com/youseries/ureport
*
* ureport2 和 jimurepot 是相同类型的产品,不过停更了,最好发布时间是 2018 年。
* 它们之间的功能对比,可见 https://juejin.cn/post/6939836480269320200 地址
*/
package cn.iocoder.yudao.module.report.framework.ureport;

View File

@@ -1,2 +1 @@
DELETE FROM "report_go_view_project";
DELETE FROM "report_ureport_data";
DELETE FROM "report_go_view_project";

View File

@@ -11,17 +11,4 @@ CREATE TABLE IF NOT EXISTS "report_go_view_project" (
"update_time" datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
"deleted" bit NOT NULL DEFAULT FALSE,
PRIMARY KEY ("id")
) COMMENT 'GoView 项目表';
CREATE TABLE IF NOT EXISTS "report_ureport_data" (
"id" bigint NOT NULL GENERATED BY DEFAULT AS IDENTITY,
"name" varchar NOT NULL,
"status" int NOT NULL,
"content" varchar,
"remark" varchar,
"creator" varchar DEFAULT '',
"create_time" datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
"updater" varchar DEFAULT '',
"update_time" datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
"deleted" bit NOT NULL DEFAULT FALSE,
PRIMARY KEY ("id")
) COMMENT 'Ureport2报表';
) COMMENT 'GoView 项目表';