Skip to content

Commit

Permalink
feat($Excel): add abstract excel import class
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnymillergh committed Feb 17, 2021
1 parent a3a41d9 commit 901edbd
Show file tree
Hide file tree
Showing 5 changed files with 1,389 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
package com.jmsoftware.maf.common.bean;

import lombok.Data;

import java.util.List;

/**
* <h1>ExcelImportResult</h1>
* <p>
* Change description here.
*
* @author 钟俊 (jun.zhong), email: jun.zhong@ucarinc.com
* @date 4/29/20 8:50 PM
**/
@Data
public class ExcelImportResult {
private List<String> messageList;
private String excelFilePath;
}
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
<knife4j.version>3.0.2</knife4j.version>
<jjwt.version>0.11.1</jjwt.version>
<java-faker.version>1.0.2</java-faker.version>
<easyexcel.version>2.2.6</easyexcel.version>
</properties>

<!-- The modules (sometimes called subprojects) to build as a part of this project. -->
Expand Down
9 changes: 8 additions & 1 deletion spring-cloud-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-autoconfigure</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
Expand All @@ -73,7 +74,7 @@
<artifactId>spring-cloud-sleuth-zipkin</artifactId>
</dependency>

<!-- Spring Information Dependencies -->
<!-- Spring Integration Dependencies -->
<dependency>
<groupId>org.springframework.integration</groupId>
<artifactId>spring-integration-sftp</artifactId>
Expand Down Expand Up @@ -122,5 +123,11 @@
<groupId>org.apache.commons</groupId>
<artifactId>commons-pool2</artifactId>
</dependency>

<dependency>
<groupId>com.alibaba</groupId>
<artifactId>easyexcel</artifactId>
<version>${easyexcel.version}</version>
</dependency>
</dependencies>
</project>
Loading

0 comments on commit 901edbd

Please sign in to comment.