Bläddra i källkod

指定导入sheet的bug

4.1.3.A
jueyue 9 år sedan
förälder
incheckning
e602fc4640
5 ändrade filer med 25 tillägg och 37 borttagningar
  1. +2
    -0
      .gitignore
  2. +20
    -0
      README.md
  3. +1
    -1
      deploy.bat
  4. +2
    -1
      easypoi-base/src/main/java/org/jeecgframework/poi/excel/imports/ExcelImportServer.java
  5. +0
    -35
      pom.xml

+ 2
- 0
.gitignore Visa fil

@@ -5,3 +5,5 @@
target/
deploy.bat

/pom_bak.xml
/deploy_sing.bat

+ 20
- 0
README.md Visa fil

@@ -115,6 +115,26 @@ EasyPoi 模板 表达式支持
- ]] 换行符
--------------------------
pom说明
--------------------------
word和sax读取的时候才使用,就不是必须的了,请手动引用
```xml
<!-- sax 读取时候用到的 -->
<dependency>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
<version>${xerces.version}</version>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-scratchpad</artifactId>
<version>${poi.version}</version>
<optional>true</optional>
</dependency>
```
--------------------------
版本修改
--------------------------


+ 1
- 1
deploy.bat Visa fil

@@ -1 +1 @@
cmd /k mvn clean deploy -Dmaven.test.skip=true -Dgpg.passphrase=jeecg123456
cmd /k mvn clean deploy -Dmaven.test.skip=true

+ 2
- 1
easypoi-base/src/main/java/org/jeecgframework/poi/excel/imports/ExcelImportServer.java Visa fil

@@ -332,7 +332,8 @@ public class ExcelImportServer extends ImportBaseService {
}
createErrorCellStyle(book);
Map<String, PictureData> pictures;
for (int i = params.getStartSheetIndex(); i < params.getSheetNum(); i++) {
for (int i = params.getStartSheetIndex(); i < params.getStartSheetIndex()
+ params.getSheetNum(); i++) {
if (LOGGER.isDebugEnabled()) {
LOGGER.debug(" start to read excel by is ,startTime is {}", new Date().getTime());
}


+ 0
- 35
pom.xml Visa fil

@@ -154,27 +154,6 @@
<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.5</version>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5</version>
<configuration>
<autoVersionSubmodules>true</autoVersionSubmodules>
<useReleaseProfile>false</useReleaseProfile>
<releaseProfiles>release</releaseProfiles>
<goals>deploy</goals>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
@@ -185,20 +164,6 @@
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.5</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>


Laddar…
Avbryt
Spara