From 25c6ff313ed4c4ee5d5d54941a9502409beab834 Mon Sep 17 00:00:00 2001 From: Stormeye Wu Date: Wed, 29 Apr 2020 09:33:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81=E5=89=8D=E7=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- easypoi-annotation/pom.xml | 2 +- .../easypoi/excel/annotation/Excel.java | 5 +++++ easypoi-base/pom.xml | 2 +- .../excel/entity/params/ExcelExportEntity.java | 4 ++++ .../excel/entity/params/ExcelImportEntity.java | 4 ++++ .../excel/export/base/ExportCommonService.java | 4 ++++ .../excel/imports/CellValueService.java | 18 ++++++++++++++++++ .../excel/imports/base/ImportBaseService.java | 1 + easypoi-web/pom.xml | 2 +- pom.xml | 4 ++-- 10 files changed, 41 insertions(+), 5 deletions(-) diff --git a/easypoi-annotation/pom.xml b/easypoi-annotation/pom.xml index fe598d3..7e26b0c 100644 --- a/easypoi-annotation/pom.xml +++ b/easypoi-annotation/pom.xml @@ -4,7 +4,7 @@ cn.afterturn easypoi - 4.1.3 + 4.1.3.A easypoi-annotation base annotation diff --git a/easypoi-annotation/src/main/java/cn/afterturn/easypoi/excel/annotation/Excel.java b/easypoi-annotation/src/main/java/cn/afterturn/easypoi/excel/annotation/Excel.java index b1f0d08..1ca2372 100644 --- a/easypoi-annotation/src/main/java/cn/afterturn/easypoi/excel/annotation/Excel.java +++ b/easypoi-annotation/src/main/java/cn/afterturn/easypoi/excel/annotation/Excel.java @@ -67,6 +67,11 @@ public @interface Excel { */ public int imageType() default 1; + /** + * 文字前缀,如1234567890112242335 变成`1234567890112242335 + */ + public String prefix() default ""; + /** * 文字后缀,如% 90 变成90% */ diff --git a/easypoi-base/pom.xml b/easypoi-base/pom.xml index 4e6f35d..cb01f57 100644 --- a/easypoi-base/pom.xml +++ b/easypoi-base/pom.xml @@ -4,7 +4,7 @@ cn.afterturn easypoi - 4.1.3 + 4.1.3.A easypoi-base diff --git a/easypoi-base/src/main/java/cn/afterturn/easypoi/excel/entity/params/ExcelExportEntity.java b/easypoi-base/src/main/java/cn/afterturn/easypoi/excel/entity/params/ExcelExportEntity.java index f5db35e..103ffb9 100644 --- a/easypoi-base/src/main/java/cn/afterturn/easypoi/excel/entity/params/ExcelExportEntity.java +++ b/easypoi-base/src/main/java/cn/afterturn/easypoi/excel/entity/params/ExcelExportEntity.java @@ -84,6 +84,10 @@ public class ExcelExportEntity extends ExcelBaseEntity implements Comparable cn.afterturn easypoi - 4.1.3 + 4.1.3.A easypoi-web diff --git a/pom.xml b/pom.xml index cd0b4bb..af91899 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 cn.afterturn easypoi - 4.1.3 + 4.1.3.A pom easypoi @@ -45,7 +45,7 @@ - 4.1.3 + 4.1.3.A 4.1.1 2.9.1 16.0.1