许鹏程
2023-06-29 0b59e19fa4947a5b3de9549f08c7fe4da54adcf3
poi、easyexcel、poi-tl升级 ,合并空调中的报表、数据源模块。
已修改3个文件
193 ■■■■■ 文件已修改
pom.xml 41 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
product-server-web/pom.xml 151 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
product-server-web/src/main/java/com/product/Application.java 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pom.xml
@@ -14,8 +14,8 @@
    <name>product-server</name>
    <description>product-server</description>
    <modules>
        <module>product-server-web</module>
        <module>home-server-admin</module>
        <module>product-server-web</module>
    </modules>
    <properties>
        <skipTests>true</skipTests>
@@ -38,8 +38,10 @@
        <UserAgentUtils.version>1.21</UserAgentUtils.version>
        <thumbnailator.version>0.4.8</thumbnailator.version>
        <twelvemonkeys.version>3.4.1</twelvemonkeys.version>
        <poi.version>3.16</poi.version>
        <poi.version>4.1.2</poi.version>
        <pinyin4j.version>2.5.1</pinyin4j.version>
        <mybatis.version>3.4.6</mybatis.version>
        <mybatis-spring.version>1.3.2</mybatis-spring.version>
        <commons-fileupload.version>1.3.3</commons-fileupload.version>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <project.build.version>2.0.0-release</project.build.version>
@@ -95,6 +97,7 @@
                <artifactId>product-server-core</artifactId>
                <version>2.0.1</version>
            </dependency>
            <dependency>
                <groupId>com.lx</groupId>
                <artifactId>product-server-util</artifactId>
@@ -102,12 +105,12 @@
            </dependency>
            <dependency>
                <groupId>com.lx</groupId>
                <artifactId>product-server-tool-table</artifactId>
                <artifactId>product-server-tool-face</artifactId>
                <version>${product-module-version}</version>
            </dependency>
            <dependency>
                <groupId>com.lx</groupId>
                <artifactId>product-server-tool-face</artifactId>
                <artifactId>product-server-tool-table</artifactId>
                <version>${product-module-version}</version>
            </dependency>
            <dependency>
@@ -230,6 +233,11 @@
                <artifactId>product-server-admin</artifactId>
                <version>${product-module-version}</version>
            </dependency>
            <dependency>
                <groupId>com.lx</groupId>
                <artifactId>product-server-datasource</artifactId>
                <version>${product-module-version}</version>
            </dependency>
            <!--子模块:end-->
            <!--第三方依赖:start-->
@@ -345,6 +353,23 @@
                <groupId>io.jsonwebtoken</groupId>
                <artifactId>jjwt</artifactId>
                <version>0.9.1</version>
            </dependency>
            <!-- oracle jdbc -->
            <dependency>
                <groupId>com.oracle.database.nls</groupId>
                <artifactId>orai18n</artifactId>
                <version>19.7.0.0</version>
            </dependency>
            <dependency>
                <groupId>com.oracle.database.jdbc</groupId>
                <artifactId>ojdbc8</artifactId>
                <version>21.1.0.0</version>
            </dependency>
            <dependency>
                <groupId>junit</groupId>
                <artifactId>junit</artifactId>
                <version>4.12</version>
                <scope>test</scope>
            </dependency>
            <!--第三方依赖:end-->
@@ -608,7 +633,7 @@
        <dependency>
            <groupId>org.apache.poi</groupId>
            <artifactId>poi-ooxml-schemas</artifactId>
            <version>3.16</version>
            <version>${poi.version}</version>
            <exclusions>
                <exclusion>
                    <groupId>org.apache.logging.log4j</groupId>
@@ -792,9 +817,9 @@
            <version>1.6.4</version>
        </dependency>
        <dependency>
            <groupId>com.alibaba</groupId>
            <artifactId>easyexcel</artifactId>
            <version>2.2.6</version>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <scope>test</scope>
        </dependency>
    </dependencies>
</project>
product-server-web/pom.xml
@@ -21,29 +21,41 @@
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
        </profile>
        <profile>
            <id>test</id>
            <properties>
                <profileActive>test</profileActive>
            </properties>
        </profile>
        <profile>
            <id>prod</id>
            <properties>
                <profileActive>prod</profileActive>
            </properties>
        </profile>
    </profiles>
    <dependencies>
        <!--通用模块(util)-->
        <dependency>
            <groupId>com.lx</groupId>
            <artifactId>product-server-common</artifactId>
        </dependency>
        <!--数据源-->
        <dependency>
            <groupId>com.lx</groupId>
            <artifactId>product-server-datasource</artifactId>
        </dependency>
        <!--打印(word替换)-->
        <dependency>
            <groupId>com.lx</groupId>
            <artifactId>product-server-print</artifactId>
        </dependency>
        <!--util-->
        <dependency>
            <groupId>com.lx</groupId>
            <artifactId>product-server-util</artifactId>
@@ -69,63 +81,62 @@
            <groupId>com.lx</groupId>
            <artifactId>product-server-mq</artifactId>
        </dependency>
        <!--附件管理、文档管理-->
        <dependency>
            <groupId>com.lx</groupId>
            <artifactId>product-server-file</artifactId>
        </dependency>
        <dependency>
            <groupId>com.lx</groupId>
            <artifactId>product-server-email</artifactId>
        </dependency>
        <dependency>
            <groupId>com.lx</groupId>
            <artifactId>product-server-lucene</artifactId>
        </dependency>
        <!-- release -->
        <!-- releases -->
        <dependency>
            <groupId>com.lx</groupId>
            <artifactId>product-server-core</artifactId>
            <version>2.0.1</version>
        </dependency>
        <dependency>
            <groupId>com.sendgrid</groupId>
            <artifactId>sendgrid-java</artifactId>
            <version>4.0.1</version>
        </dependency>
        <dependency>
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-collections4</artifactId>
            <version>4.1</version>
        </dependency>
        <dependency>
            <groupId>com.lx</groupId>
            <artifactId>product-server-report</artifactId>
        </dependency>
        <!--数据导入导出-->
        <dependency>
            <groupId>com.lx</groupId>
            <artifactId>product-server-data-export-import</artifactId>
        </dependency>
        <!--开发工具-->
        <dependency>
            <groupId>com.lx</groupId>
            <artifactId>product-server-tool-dev</artifactId>
        </dependency>
        <!--流程建模-->
        <dependency>
            <groupId>com.lx</groupId>
            <artifactId>product-server-tool-flow</artifactId>
        </dependency>
        <!--功能建模-->
        <dependency>
            <groupId>com.lx</groupId>
            <artifactId>product-server-tool-mvc</artifactId>
        </dependency>
        <!-- 表单建模-->
        <dependency>
            <groupId>com.lx</groupId>
            <artifactId>product-server-tool-face</artifactId>
        </dependency>
        <!--数据建模-->
        <dependency>
            <groupId>com.lx</groupId>
            <artifactId>product-server-tool-table</artifactId>
        </dependency>
        <dependency>
            <groupId>com.lx</groupId>
            <artifactId>product-server-announcement</artifactId>
        </dependency>
        <dependency>
            <groupId>com.lx</groupId>
            <artifactId>product-server-tool-table</artifactId>
            <artifactId>product-server-data-sync</artifactId>
        </dependency>
        <dependency>
            <groupId>com.lx</groupId>
@@ -147,11 +158,18 @@
            <groupId>com.lx</groupId>
            <artifactId>product-server-data-center</artifactId>
        </dependency>
        <dependency>
            <groupId>org.spring</groupId>
            <artifactId>spring-server-master</artifactId>
            <version>1.2.6.6</version>
        </dependency>
        <!--项目管理模块-->
        <!--    <dependency>-->
        <!--        <groupId>com.lx</groupId>-->
        <!--        <artifactId>product-project-server-base</artifactId>-->
        <!--        <version>1.0.0-SNAPSHOT</version>-->
        <!--    </dependency>-->
        <!--    <dependency>-->
        <!--        <groupId>com.lx</groupId>-->
        <!--        <artifactId>product-project-server-contract</artifactId>-->
        <!--        <version>1.0.0-SNAPSHOT</version>-->
        <!--    </dependency>-->
        <dependency>
            <groupId>com.lx</groupId>
            <artifactId>product-server-customer</artifactId>
@@ -161,24 +179,19 @@
            <artifactId>product-server-task</artifactId>
        </dependency>
        <dependency>
            <groupId>com.lx</groupId>
            <artifactId>product-server-xining</artifactId>
            <version>2.0.0-release</version>
            <groupId>org.spring</groupId>
            <artifactId>spring-server-master</artifactId>
        </dependency>
        <dependency>
            <groupId>com.sendgrid</groupId>
            <artifactId>sendgrid-java</artifactId>
            <version>4.0.1</version>
        </dependency>
        <dependency>
            <groupId>org.aspose</groupId>
            <artifactId>cells-line</artifactId>
            <version>15.9.0</version>
        </dependency>
        <dependency>
            <groupId>org.aspose</groupId>
            <artifactId>slides-line</artifactId>
            <version>15.9.0</version>
        </dependency>
        <dependency>
            <groupId>org.aspose</groupId>
            <artifactId>words-line</artifactId>
            <version>15.9.0</version>
            <groupId>org.apache.commons</groupId>
            <artifactId>commons-collections4</artifactId>
            <version>4.1</version>
        </dependency>
    </dependencies>
    <build>
@@ -296,12 +309,12 @@
                            <goal>run</goal>
                        </goals>
                        <configuration>
                            <target description="run the bat">
                            <!-- <target description="run the bat">
                                <echo>开始运行packed.bat命令行</echo>
                                <exec dir="D:/product/lxworkspaces/product-web" executable="cmd.exe">
                               <exec dir="D:/product/lxworkspaces/product-web" executable="cmd.exe">
                                    <arg line="packed.bat"></arg>
                                </exec>
                            </target>
                            </target> -->
                        </configuration>
                    </execution>
                </executions>
@@ -315,32 +328,32 @@
                        <id>copy</id>
                        <phase>package</phase>
                        <configuration>
                            <!--
                                <tasks>
                                    <copy todir="D:/product/lxworkspaces/product-server-install/resources/product-server/lib">
                                        <fileset dir="${project.build.directory}/lib">
                                            <include name="*.jar"/>
                                            <exclude name="product-server-core-1.0.0-SNAPSHOT.jar"/>
                                        </fileset>
                                    </copy>
                                    <copy todir="D:/product/lxworkspaces/product-server-install/resources/product-server/resources">
                                        <fileset dir="${project.build.directory}/resources">
                                            <include name="application-prod.properties"/>
                                            <include name="cache-prod.properties"/>
                                            <include name="*.txt"/>
                                            <include name="*.xml"/>
                                        </fileset>
                                    </copy>
                                    <copy todir="D:/product/lxworkspaces/product-server-install/resources/product-server/web">
                                        <fileset dir="D:/product/lxworkspaces/product-web/dist">
                                            <include name="*.*"/>
                                        </fileset>
                                    </copy>
                                    <copy file="${project.build.directory}/product-server-web-1.0.0-SNAPSHOT.jar"
                                          tofile="D:/product/lxworkspaces/product-server-install/resources/product-server/product-server-web-1.0.0-SNAPSHOT.jar"
                                          overwrite="true"/>
                                </tasks>
                                -->
                            <tasks>
                                <copy todir="D:/product/workspace/product-server-install/resources/product-server/lib">
                                    <fileset dir="${project.build.directory}/lib">
                                        <include name="*.jar"/>
                                        <exclude name="product-server-core-1.0.0-SNAPSHOT.jar"/>
                                        <exclude name="product-server-core-2.0.0-SNAPSHOT.jar"/>
                                    </fileset>
                                </copy>
                                <copy todir="D:/product/workspace/product-server-install/resources/product-server/resources">
                                    <fileset dir="${project.build.directory}/resources">
                                        <include name="application-prod.properties"/>
                                        <include name="cache-prod.properties"/>
                                        <include name="*.txt"/>
                                        <include name="*.xml"/>
                                    </fileset>
                                </copy>
                                <!--                                <copy todir="D:/product/workspace/product-server-install/resources/product-server/webapp/web">-->
                                <!--                                    <fileset dir="D:/product/workspace3.0/WEB/V3.0.0/dist">-->
                                <!--                                        <include name="*.*"/>-->
                                <!--                                    </fileset>-->
                                <!--                                </copy>-->
                                <copy file="${project.build.directory}/product-server-web-2.0.0-release.jar"
                                      tofile="D:/product/workspace/product-server-install/resources/product-server/product-server-web-2.0.0-release.jar"
                                      overwrite="true"/>
                            </tasks>
                        </configuration>
                        <goals>
                            <goal>run</goal>
product-server-web/src/main/java/com/product/Application.java
@@ -3,7 +3,6 @@
import com.product.core.spring.context.SpringBeanUtil;
import com.product.customer.service.CreateSignatureFile;
import com.product.file.util.PdfConcurrenceUtil;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;