1、新增微服务jar包瘦身配置;2、报表模板导入excel模板接口get->post

This commit is contained in:
gaoqr
2024-09-23 16:15:43 +08:00
parent 9a8f5a3340
commit 8168c1dad6
7 changed files with 406 additions and 11 deletions
@@ -175,6 +175,65 @@
<version>${spring.boot.version}</version>
<configuration>
<includeSystemScope>true</includeSystemScope>
<layout>ZIP</layout>
<includes>
<include>
<groupId>com.cf.imes</groupId>
<artifactId>cf-common</artifactId>
</include>
<include>
<groupId>com.cf.imes</groupId>
<artifactId>cf-module-infra-api</artifactId>
</include>
<include>
<groupId>com.cf.imes</groupId>
<artifactId>cf-module-prod-executor-api</artifactId>
</include>
<include>
<groupId>com.cf.imes</groupId>
<artifactId>cf-module-report-api</artifactId>
</include>
<include>
<groupId>com.cf.imes</groupId>
<artifactId>cf-module-system-api</artifactId>
</include>
<include>
<groupId>com.cf.imes</groupId>
<artifactId>cf-spring-boot-starter-banner</artifactId>
</include>
<include>
<groupId>com.cf.imes</groupId>
<artifactId>cf-spring-boot-starter-biz-operatelog</artifactId>
</include>
<include>
<groupId>com.cf.imes</groupId>
<artifactId>cf-spring-boot-starter-biz-organ</artifactId>
</include>
<include>
<groupId>com.cf.imes</groupId>
<artifactId>cf-spring-boot-starter-monitor</artifactId>
</include>
<include>
<groupId>com.cf.imes</groupId>
<artifactId>cf-spring-boot-starter-mybatis</artifactId>
</include>
<include>
<groupId>com.cf.imes</groupId>
<artifactId>cf-spring-boot-starter-redis</artifactId>
</include>
<include>
<groupId>com.cf.imes</groupId>
<artifactId>cf-spring-boot-starter-rpc</artifactId>
</include>
<include>
<groupId>com.cf.imes</groupId>
<artifactId>cf-spring-boot-starter-security</artifactId>
</include>
<include>
<groupId>com.cf.imes</groupId>
<artifactId>cf-spring-boot-starter-web</artifactId>
</include>
</includes>
</configuration>
<executions>
<execution>
@@ -151,7 +151,7 @@ public class ReportTemplateController {
}
}
@GetMapping("/template/excel/import")
@PostMapping("/template/excel/import")
@Operation(summary = "导入excel模板")
@PreAuthorize("@ss.hasPermission('report:design')")
public ReportDefinitionWrapper importExcel(@RequestParam("file") MultipartFile file) {