Skip to content

Commit

Permalink
refactor: 适配 ContiNew Starter Excel(文件处理模块)
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles7c committed Nov 26, 2023
1 parent feef427 commit 1311ae3
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 191 deletions.
13 changes: 6 additions & 7 deletions continew-admin-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@
<artifactId>continew-starter-captcha-graphic</artifactId>
</dependency>

<!-- ContiNew Starter 文件处理模块 - Excel -->
<dependency>
<groupId>top.charles7c.continew</groupId>
<artifactId>continew-starter-file-excel</artifactId>
</dependency>

<!-- ContiNew Starter API 文档模块 -->
<dependency>
<groupId>top.charles7c.continew</groupId>
Expand Down Expand Up @@ -75,17 +81,10 @@
<artifactId>mysql-connector-j</artifactId>
</dependency>

<!-- ################ 工具库相关 ################ -->
<!-- SMS4J(短信聚合框架,轻松集成多家短信服务,解决接入多个短信 SDK 的繁琐流程) -->
<dependency>
<groupId>org.dromara.sms4j</groupId>
<artifactId>sms4j-spring-boot-starter</artifactId>
</dependency>

<!-- Easy Excel(一个基于 Java 的、快速、简洁、解决大文件内存溢出的 Excel 处理工具) -->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>easyexcel</artifactId>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@
import top.charles7c.cnadmin.common.model.query.SortQuery;
import top.charles7c.cnadmin.common.model.resp.PageDataResp;
import top.charles7c.cnadmin.common.service.CommonUserService;
import top.charles7c.cnadmin.common.util.ExcelUtils;
import top.charles7c.cnadmin.common.util.ReflectUtils;
import top.charles7c.cnadmin.common.util.TreeUtils;
import top.charles7c.cnadmin.common.util.helper.QueryHelper;
import top.charles7c.cnadmin.common.util.validate.CheckUtils;
import top.charles7c.continew.starter.core.util.ExceptionUtils;
import top.charles7c.continew.starter.file.excel.util.ExcelUtils;

/**
* 业务实现基类
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@

import top.charles7c.cnadmin.common.base.BaseServiceImpl;
import top.charles7c.cnadmin.common.model.query.SortQuery;
import top.charles7c.cnadmin.common.util.ExcelUtils;
import top.charles7c.cnadmin.common.util.validate.CheckUtils;
import top.charles7c.cnadmin.system.mapper.DictMapper;
import top.charles7c.cnadmin.system.model.entity.DictDO;
Expand All @@ -38,6 +37,7 @@
import top.charles7c.cnadmin.system.model.resp.*;
import top.charles7c.cnadmin.system.service.DictItemService;
import top.charles7c.cnadmin.system.service.DictService;
import top.charles7c.continew.starter.file.excel.util.ExcelUtils;

/**
* 字典业务实现
Expand Down
9 changes: 0 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,22 +34,13 @@

<properties>
<revision>2.1.0-SNAPSHOT</revision>
<easyexcel.version>3.3.2</easyexcel.version>
<!-- Maven Plugin Versions -->
<spotless.version>2.40.0</spotless.version>
</properties>

<!-- 全局依赖版本管理 -->
<dependencyManagement>
<dependencies>
<!-- ################ 工具库相关 ################ -->
<!-- Easy Excel(一个基于 Java 的、快速、简洁、解决大文件内存溢出的 Excel 处理工具) -->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>easyexcel</artifactId>
<version>${easyexcel.version}</version>
</dependency>

<!-- API 模块(存放 Controller 层代码,打包部署的模块) -->
<dependency>
<groupId>top.charles7c.continew</groupId>
Expand Down

0 comments on commit 1311ae3

Please sign in to comment.