Commit ef19efb26508803e7cfa311340148a4983800268

Authored by YunaiV
1 parent e31b6dbf

reactor:移除 report 的 api 包

Showing 40 changed files with 59 additions and 116 deletions
yudao-module-report/pom.xml
... ... @@ -8,16 +8,65 @@
8 8 <version>${revision}</version>
9 9 </parent>
10 10 <modelVersion>4.0.0</modelVersion>
11   - <modules>
12   - <module>yudao-module-report-api</module>
13   - <module>yudao-module-report-biz</module>
14   - </modules>
15 11 <artifactId>yudao-module-report</artifactId>
16   - <packaging>pom</packaging>
  12 + <packaging>jar</packaging>
17 13  
18 14 <name>${project.artifactId}</name>
19 15 <description>
20 16 report 模块,主要实现数据可视化报表等功能。
  17 + 1. 基于「积木报表」实现,打印设计、报表设计、图形设计、大屏设计等。
21 18 </description>
22 19  
  20 + <dependencies>
  21 + <dependency>
  22 + <groupId>cn.iocoder.boot</groupId>
  23 + <artifactId>yudao-module-system</artifactId>
  24 + <version>${revision}</version>
  25 + </dependency>
  26 +
  27 + <!-- 业务组件 -->
  28 + <dependency>
  29 + <groupId>cn.iocoder.boot</groupId>
  30 + <artifactId>yudao-spring-boot-starter-biz-tenant</artifactId>
  31 + </dependency>
  32 +
  33 + <!-- Web 相关 -->
  34 + <dependency>
  35 + <groupId>cn.iocoder.boot</groupId>
  36 + <artifactId>yudao-spring-boot-starter-web</artifactId>
  37 + </dependency>
  38 +
  39 + <dependency>
  40 + <groupId>cn.iocoder.boot</groupId>
  41 + <artifactId>yudao-spring-boot-starter-security</artifactId>
  42 + </dependency>
  43 +
  44 + <!-- DB 相关 -->
  45 + <dependency>
  46 + <groupId>cn.iocoder.boot</groupId>
  47 + <artifactId>yudao-spring-boot-starter-mybatis</artifactId>
  48 + </dependency>
  49 +
  50 + <!-- Test 测试相关 -->
  51 + <dependency>
  52 + <groupId>cn.iocoder.boot</groupId>
  53 + <artifactId>yudao-spring-boot-starter-test</artifactId>
  54 + </dependency>
  55 +
  56 + <!-- 积木报表-->
  57 + <dependency>
  58 + <groupId>org.jeecgframework.jimureport</groupId>
  59 + <artifactId>jimureport-spring-boot3-starter-fastjson2</artifactId>
  60 + </dependency>
  61 + <dependency>
  62 + <groupId>org.jeecgframework.jimureport</groupId>
  63 + <artifactId>jimubi-spring-boot3-starter</artifactId>
  64 + </dependency>
  65 +
  66 + <dependency>
  67 + <groupId>cn.iocoder.boot</groupId>
  68 + <artifactId>yudao-spring-boot-starter-excel</artifactId>
  69 + </dependency>
  70 +
  71 + </dependencies>
23 72 </project>
... ...
yudao-module-report/yudao-module-report-biz/src/main/java/cn/iocoder/yudao/module/report/controller/admin/ajreport/package-info.java renamed to yudao-module-report/src/main/java/cn/iocoder/yudao/module/report/controller/admin/ajreport/package-info.java
yudao-module-report/yudao-module-report-biz/src/main/java/cn/iocoder/yudao/module/report/controller/admin/goview/GoViewDataController.java renamed to yudao-module-report/src/main/java/cn/iocoder/yudao/module/report/controller/admin/goview/GoViewDataController.java
yudao-module-report/yudao-module-report-biz/src/main/java/cn/iocoder/yudao/module/report/controller/admin/goview/GoViewProjectController.java renamed to yudao-module-report/src/main/java/cn/iocoder/yudao/module/report/controller/admin/goview/GoViewProjectController.java
yudao-module-report/yudao-module-report-biz/src/main/java/cn/iocoder/yudao/module/report/controller/admin/goview/vo/data/GoViewDataGetBySqlReqVO.java renamed to yudao-module-report/src/main/java/cn/iocoder/yudao/module/report/controller/admin/goview/vo/data/GoViewDataGetBySqlReqVO.java
yudao-module-report/yudao-module-report-biz/src/main/java/cn/iocoder/yudao/module/report/controller/admin/goview/vo/data/GoViewDataRespVO.java renamed to yudao-module-report/src/main/java/cn/iocoder/yudao/module/report/controller/admin/goview/vo/data/GoViewDataRespVO.java
yudao-module-report/yudao-module-report-biz/src/main/java/cn/iocoder/yudao/module/report/controller/admin/goview/vo/project/GoViewProjectCreateReqVO.java renamed to yudao-module-report/src/main/java/cn/iocoder/yudao/module/report/controller/admin/goview/vo/project/GoViewProjectCreateReqVO.java
yudao-module-report/yudao-module-report-biz/src/main/java/cn/iocoder/yudao/module/report/controller/admin/goview/vo/project/GoViewProjectRespVO.java renamed to yudao-module-report/src/main/java/cn/iocoder/yudao/module/report/controller/admin/goview/vo/project/GoViewProjectRespVO.java
yudao-module-report/yudao-module-report-biz/src/main/java/cn/iocoder/yudao/module/report/controller/admin/goview/vo/project/GoViewProjectUpdateReqVO.java renamed to yudao-module-report/src/main/java/cn/iocoder/yudao/module/report/controller/admin/goview/vo/project/GoViewProjectUpdateReqVO.java
yudao-module-report/yudao-module-report-biz/src/main/java/cn/iocoder/yudao/module/report/controller/package-info.java renamed to yudao-module-report/src/main/java/cn/iocoder/yudao/module/report/controller/package-info.java
yudao-module-report/yudao-module-report-biz/src/main/java/cn/iocoder/yudao/module/report/convert/ajreport/package-info.java renamed to yudao-module-report/src/main/java/cn/iocoder/yudao/module/report/convert/ajreport/package-info.java
yudao-module-report/yudao-module-report-biz/src/main/java/cn/iocoder/yudao/module/report/convert/goview/GoViewProjectConvert.java renamed to yudao-module-report/src/main/java/cn/iocoder/yudao/module/report/convert/goview/GoViewProjectConvert.java
yudao-module-report/yudao-module-report-biz/src/main/java/cn/iocoder/yudao/module/report/dal/dataobject/ajreport/package-info.java renamed to yudao-module-report/src/main/java/cn/iocoder/yudao/module/report/dal/dataobject/ajreport/package-info.java
yudao-module-report/yudao-module-report-biz/src/main/java/cn/iocoder/yudao/module/report/dal/dataobject/goview/GoViewProjectDO.java renamed to yudao-module-report/src/main/java/cn/iocoder/yudao/module/report/dal/dataobject/goview/GoViewProjectDO.java
yudao-module-report/yudao-module-report-biz/src/main/java/cn/iocoder/yudao/module/report/dal/mysql/ajreport/package-info.java renamed to yudao-module-report/src/main/java/cn/iocoder/yudao/module/report/dal/mysql/ajreport/package-info.java
yudao-module-report/yudao-module-report-biz/src/main/java/cn/iocoder/yudao/module/report/dal/mysql/goview/GoViewProjectMapper.java renamed to yudao-module-report/src/main/java/cn/iocoder/yudao/module/report/dal/mysql/goview/GoViewProjectMapper.java
yudao-module-report/yudao-module-report-api/src/main/java/cn/iocoder/yudao/module/report/enums/ErrorCodeConstants.java renamed to yudao-module-report/src/main/java/cn/iocoder/yudao/module/report/enums/ErrorCodeConstants.java
yudao-module-report/yudao-module-report-biz/src/main/java/cn/iocoder/yudao/module/report/framework/jmreport/config/JmReportConfiguration.java renamed to yudao-module-report/src/main/java/cn/iocoder/yudao/module/report/framework/jmreport/config/JmReportConfiguration.java
1 1 package cn.iocoder.yudao.module.report.framework.jmreport.config;
2 2  
3 3 import cn.iocoder.yudao.framework.common.biz.system.oauth2.OAuth2TokenCommonApi;
  4 +import cn.iocoder.yudao.framework.common.biz.system.permission.PermissionCommonApi;
4 5 import cn.iocoder.yudao.framework.security.config.SecurityProperties;
5 6 import cn.iocoder.yudao.module.report.framework.jmreport.core.service.JmOnlDragExternalServiceImpl;
6 7 import cn.iocoder.yudao.module.report.framework.jmreport.core.service.JmReportTokenServiceImpl;
... ... @@ -22,7 +23,7 @@ public class JmReportConfiguration {
22 23  
23 24 @Bean
24 25 public JmReportTokenServiceI jmReportTokenService(OAuth2TokenCommonApi oAuth2TokenApi,
25   - PermissionApi permissionApi,
  26 + PermissionCommonApi permissionApi,
26 27 SecurityProperties securityProperties) {
27 28 return new JmReportTokenServiceImpl(oAuth2TokenApi, permissionApi, securityProperties);
28 29 }
... ...
yudao-module-report/yudao-module-report-biz/src/main/java/cn/iocoder/yudao/module/report/framework/jmreport/core/service/JmOnlDragExternalServiceImpl.java renamed to yudao-module-report/src/main/java/cn/iocoder/yudao/module/report/framework/jmreport/core/service/JmOnlDragExternalServiceImpl.java
yudao-module-report/yudao-module-report-biz/src/main/java/cn/iocoder/yudao/module/report/framework/jmreport/core/service/JmReportTokenServiceImpl.java renamed to yudao-module-report/src/main/java/cn/iocoder/yudao/module/report/framework/jmreport/core/service/JmReportTokenServiceImpl.java
... ... @@ -2,6 +2,7 @@ package cn.iocoder.yudao.module.report.framework.jmreport.core.service;
2 2  
3 3 import cn.hutool.core.util.ObjectUtil;
4 4 import cn.hutool.core.util.StrUtil;
  5 +import cn.iocoder.yudao.framework.common.biz.system.permission.PermissionCommonApi;
5 6 import cn.iocoder.yudao.framework.common.exception.ServiceException;
6 7 import cn.iocoder.yudao.framework.common.util.servlet.ServletUtils;
7 8 import cn.iocoder.yudao.framework.security.config.SecurityProperties;
... ... @@ -38,7 +39,7 @@ public class JmReportTokenServiceImpl implements JmReportTokenServiceI {
38 39 private static final String AUTHORIZATION_FORMAT = SecurityFrameworkUtils.AUTHORIZATION_BEARER + " %s";
39 40  
40 41 private final OAuth2TokenCommonApi oauth2TokenApi;
41   - private final PermissionApi permissionApi;
  42 + private final PermissionCommonApi permissionApi;
42 43  
43 44 private final SecurityProperties securityProperties;
44 45  
... ...
yudao-module-report/yudao-module-report-biz/src/main/java/cn/iocoder/yudao/module/report/framework/jmreport/core/web/package-info.java renamed to yudao-module-report/src/main/java/cn/iocoder/yudao/module/report/framework/jmreport/core/web/package-info.java
yudao-module-report/yudao-module-report-biz/src/main/java/cn/iocoder/yudao/module/report/framework/package-info.java renamed to yudao-module-report/src/main/java/cn/iocoder/yudao/module/report/framework/package-info.java
yudao-module-report/yudao-module-report-biz/src/main/java/cn/iocoder/yudao/module/report/framework/security/config/SecurityConfiguration.java renamed to yudao-module-report/src/main/java/cn/iocoder/yudao/module/report/framework/security/config/SecurityConfiguration.java
yudao-module-report/yudao-module-report-biz/src/main/java/cn/iocoder/yudao/module/report/framework/security/core/package-info.java renamed to yudao-module-report/src/main/java/cn/iocoder/yudao/module/report/framework/security/core/package-info.java
yudao-module-report/yudao-module-report-biz/src/main/java/cn/iocoder/yudao/module/report/package-info.java renamed to yudao-module-report/src/main/java/cn/iocoder/yudao/module/report/package-info.java
yudao-module-report/yudao-module-report-biz/src/main/java/cn/iocoder/yudao/module/report/service/ajreport/package-info.java renamed to yudao-module-report/src/main/java/cn/iocoder/yudao/module/report/service/ajreport/package-info.java
yudao-module-report/yudao-module-report-biz/src/main/java/cn/iocoder/yudao/module/report/service/goview/GoViewDataService.java renamed to yudao-module-report/src/main/java/cn/iocoder/yudao/module/report/service/goview/GoViewDataService.java
yudao-module-report/yudao-module-report-biz/src/main/java/cn/iocoder/yudao/module/report/service/goview/GoViewDataServiceImpl.java renamed to yudao-module-report/src/main/java/cn/iocoder/yudao/module/report/service/goview/GoViewDataServiceImpl.java
yudao-module-report/yudao-module-report-biz/src/main/java/cn/iocoder/yudao/module/report/service/goview/GoViewProjectService.java renamed to yudao-module-report/src/main/java/cn/iocoder/yudao/module/report/service/goview/GoViewProjectService.java
yudao-module-report/yudao-module-report-biz/src/main/java/cn/iocoder/yudao/module/report/service/goview/GoViewProjectServiceImpl.java renamed to yudao-module-report/src/main/java/cn/iocoder/yudao/module/report/service/goview/GoViewProjectServiceImpl.java
yudao-module-report/yudao-module-report-biz/src/test/java/cn/iocoder/yudao/module/report/service/goview/GoViewDataServiceImplTest.java renamed to yudao-module-report/src/test/java/cn/iocoder/yudao/module/report/service/goview/GoViewDataServiceImplTest.java
yudao-module-report/yudao-module-report-biz/src/test/java/cn/iocoder/yudao/module/report/service/goview/GoViewProjectServiceImplTest.java renamed to yudao-module-report/src/test/java/cn/iocoder/yudao/module/report/service/goview/GoViewProjectServiceImplTest.java
yudao-module-report/yudao-module-report-biz/src/test/resources/application-unit-test.yaml renamed to yudao-module-report/src/test/resources/application-unit-test.yaml
yudao-module-report/yudao-module-report-biz/src/test/resources/logback.xml renamed to yudao-module-report/src/test/resources/logback.xml
yudao-module-report/yudao-module-report-biz/src/test/resources/sql/clean.sql renamed to yudao-module-report/src/test/resources/sql/clean.sql
yudao-module-report/yudao-module-report-biz/src/test/resources/sql/create_tables.sql renamed to yudao-module-report/src/test/resources/sql/create_tables.sql
yudao-module-report/yudao-module-report-api/pom.xml deleted
1   -<?xml version="1.0" encoding="UTF-8"?>
2   -<project xmlns="http://maven.apache.org/POM/4.0.0"
3   - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4   - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5   - <parent>
6   - <groupId>cn.iocoder.boot</groupId>
7   - <artifactId>yudao-module-report</artifactId>
8   - <version>${revision}</version>
9   - </parent>
10   - <modelVersion>4.0.0</modelVersion>
11   -
12   - <artifactId>yudao-module-report-api</artifactId>
13   - <packaging>jar</packaging>
14   -
15   - <name>${project.artifactId}</name>
16   - <description>
17   - report 模块 API,暴露给其它模块调用
18   - </description>
19   -
20   - <dependencies>
21   - <dependency>
22   - <groupId>cn.iocoder.boot</groupId>
23   - <artifactId>yudao-common</artifactId>
24   - </dependency>
25   - </dependencies>
26   -</project>
yudao-module-report/yudao-module-report-api/src/main/java/cn/iocoder/yudao/module/report/api/package-info.java deleted
1   -/**
2   - * 占位,避免 api 目录无文件时,git 无法提交
3   - */
4   -package cn.iocoder.yudao.module.report.api;
yudao-module-report/yudao-module-report-biz/pom.xml deleted
1   -<?xml version="1.0" encoding="UTF-8"?>
2   -<project xmlns="http://maven.apache.org/POM/4.0.0"
3   - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4   - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5   - <parent>
6   - <groupId>cn.iocoder.boot</groupId>
7   - <artifactId>yudao-module-report</artifactId>
8   - <version>${revision}</version>
9   - </parent>
10   - <modelVersion>4.0.0</modelVersion>
11   -
12   - <artifactId>yudao-module-report-biz</artifactId>
13   - <packaging>jar</packaging>
14   -
15   - <name>${project.artifactId}</name>
16   - <description>
17   - report 模块,主要实现数据可视化报表等功能:
18   - 1. 基于「积木报表」实现,打印设计、报表设计、图形设计、大屏设计等。
19   - </description>
20   - <dependencies>
21   - <dependency>
22   - <groupId>cn.iocoder.boot</groupId>
23   - <artifactId>yudao-module-report-api</artifactId>
24   - <version>${revision}</version>
25   - </dependency>
26   -
27   - <dependency>
28   - <groupId>cn.iocoder.boot</groupId>
29   - <artifactId>yudao-module-system-api</artifactId>
30   - <version>${revision}</version>
31   - </dependency>
32   -
33   - <!-- 业务组件 -->
34   - <dependency>
35   - <groupId>cn.iocoder.boot</groupId>
36   - <artifactId>yudao-spring-boot-starter-biz-tenant</artifactId>
37   - </dependency>
38   -
39   - <!-- Web 相关 -->
40   - <dependency>
41   - <groupId>cn.iocoder.boot</groupId>
42   - <artifactId>yudao-spring-boot-starter-web</artifactId>
43   - </dependency>
44   -
45   - <dependency>
46   - <groupId>cn.iocoder.boot</groupId>
47   - <artifactId>yudao-spring-boot-starter-security</artifactId>
48   - </dependency>
49   -
50   - <!-- DB 相关 -->
51   - <dependency>
52   - <groupId>cn.iocoder.boot</groupId>
53   - <artifactId>yudao-spring-boot-starter-mybatis</artifactId>
54   - </dependency>
55   -
56   - <!-- Test 测试相关 -->
57   - <dependency>
58   - <groupId>cn.iocoder.boot</groupId>
59   - <artifactId>yudao-spring-boot-starter-test</artifactId>
60   - </dependency>
61   -
62   - <!-- 积木报表-->
63   - <dependency>
64   - <groupId>org.jeecgframework.jimureport</groupId>
65   - <artifactId>jimureport-spring-boot3-starter-fastjson2</artifactId>
66   - </dependency>
67   - <dependency>
68   - <groupId>org.jeecgframework.jimureport</groupId>
69   - <artifactId>jimubi-spring-boot3-starter</artifactId>
70   - </dependency>
71   -
72   - <dependency>
73   - <groupId>cn.iocoder.boot</groupId>
74   - <artifactId>yudao-spring-boot-starter-excel</artifactId>
75   - </dependency>
76   -
77   - </dependencies>
78   -</project>
yudao-server/pom.xml
... ... @@ -42,7 +42,7 @@
42 42 <!-- 数据报表。默认注释,保证编译速度 -->
43 43 <!-- <dependency>-->
44 44 <!-- <groupId>cn.iocoder.boot</groupId>-->
45   -<!-- <artifactId>yudao-module-report-biz</artifactId>-->
  45 +<!-- <artifactId>yudao-module-report</artifactId>-->
46 46 <!-- <version>${revision}</version>-->
47 47 <!-- </dependency>-->
48 48 <!-- 工作流。默认注释,保证编译速度 -->
... ...