fix compiling issues

This commit is contained in:
zz 2021-10-28 12:33:32 +08:00
parent 1d878b9492
commit 78227a9677
3 changed files with 8 additions and 3 deletions

View File

@ -90,4 +90,8 @@
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
</dependencies> </dependencies>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
</project> </project>

View File

@ -171,11 +171,11 @@ public class DateUtil {
return getChineseDate(str.substring(0, 1)) return getChineseDate(str.substring(0, 1))
+ getChineseDate(str.substring(1, 2)) + getChineseDate(str.substring(1, 2))
+ getChineseDate(str.substring(2, 3)) + getChineseDate(str.substring(2, 3))
+ getChineseDate(str.substring(3, 4)) + '年' + getChineseDate(str.substring(3, 4)) + ""
+ getChineseDate(str.substring(yearBorder + 1, monthBorder)) + getChineseDate(str.substring(yearBorder + 1, monthBorder))
+ '月' + ""
+ getChineseDate(str.substring(monthBorder + 1, dayBorder)) + getChineseDate(str.substring(monthBorder + 1, dayBorder))
+ '日'; + "";
} }
/** /**

View File

@ -11,6 +11,7 @@
<groupId>com.xhpc</groupId> <groupId>com.xhpc</groupId>
<artifactId>evcs-modules</artifactId> <artifactId>evcs-modules</artifactId>
<packaging>pom</packaging> <packaging>pom</packaging>
<version>1.0</version>
<modules> <modules>
<module>evcs-core</module> <module>evcs-core</module>