分账完善

This commit is contained in:
maxf 2019-01-03 21:13:36 +08:00
parent ceb7b77a71
commit 6c186e39cd
4 changed files with 46 additions and 25 deletions

53
pom.xml
View File

@ -10,6 +10,7 @@
<name>${project.artifactId}</name> <name>${project.artifactId}</name>
<url>https://github.com/yexuejc/yexuejc-base</url> <url>https://github.com/yexuejc/yexuejc-base</url>
<description>Common toolkits based on JDK8 packaging</description>
<licenses> <licenses>
<license> <license>
@ -50,6 +51,11 @@
<commons-io.version>2.6</commons-io.version> <commons-io.version>2.6</commons-io.version>
<bcprov-jdk15on.version>1.60</bcprov-jdk15on.version> <bcprov-jdk15on.version>1.60</bcprov-jdk15on.version>
<guava.version>20.0</guava.version> <guava.version>20.0</guava.version>
<!-- 文件拷贝时的编码 -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!-- 编译时的编码 -->
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
</properties> </properties>
<dependencies> <dependencies>
@ -150,17 +156,17 @@
<!--</plugin>--> <!--</plugin>-->
<!-- GPG --> <!-- GPG -->
<!--<plugin> &lt;!&ndash; 进行延签 &ndash;&gt;--> <!--<plugin> &lt;!&ndash; 进行延签 &ndash;&gt;-->
<!--<groupId>org.apache.maven.plugins</groupId>--> <!--<groupId>org.apache.maven.plugins</groupId>-->
<!--<artifactId>maven-gpg-plugin</artifactId>--> <!--<artifactId>maven-gpg-plugin</artifactId>-->
<!--<version>1.6</version>--> <!--<version>1.6</version>-->
<!--<executions>--> <!--<executions>-->
<!--<execution>--> <!--<execution>-->
<!--<phase>verify</phase>--> <!--<phase>verify</phase>-->
<!--<goals>--> <!--<goals>-->
<!--<goal>sign</goal>--> <!--<goal>sign</goal>-->
<!--</goals>--> <!--</goals>-->
<!--</execution>--> <!--</execution>-->
<!--</executions>--> <!--</executions>-->
<!--</plugin>--> <!--</plugin>-->
</plugins> </plugins>
</build> </build>
@ -185,14 +191,14 @@
<distributionManagement> <distributionManagement>
<!--中央仓库发布--> <!--中央仓库发布-->
<!--<snapshotRepository>--> <!--<snapshotRepository>-->
<!--<id>sonatype-nexus-snapshots</id>--> <!--<id>sonatype-nexus-snapshots</id>-->
<!--<name>Sonatype Nexus Snapshots</name>--> <!--<name>Sonatype Nexus Snapshots</name>-->
<!--<url>https://oss.sonatype.org/content/repositories/snapshots/</url>--> <!--<url>https://oss.sonatype.org/content/repositories/snapshots/</url>-->
<!--</snapshotRepository>--> <!--</snapshotRepository>-->
<!--<repository>--> <!--<repository>-->
<!--<id>sonatype-nexus-staging</id>--> <!--<id>sonatype-nexus-staging</id>-->
<!--<name>Nexus Release Repository</name>--> <!--<name>Nexus Release Repository</name>-->
<!--<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>--> <!--<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>-->
<!--</repository>--> <!--</repository>-->
<!-- 私服仓库发布 <!-- 私服仓库发布
@ -237,6 +243,19 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<!--Javadoc-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId> <artifactId>maven-gpg-plugin</artifactId>

View File

@ -10,7 +10,7 @@ import java.util.*;
* @author maxf * @author maxf
* @version 1.0 * @version 1.0
* @ClassName ObjUtil * @ClassName ObjUtil
* @Description * @Description 对象工具对类的操作
* @date 2018/12/28 15:54 * @date 2018/12/28 15:54
*/ */
public class ObjUtil { public class ObjUtil {

View File

@ -6,9 +6,11 @@ import java.util.regex.Pattern;
/** /**
* 正则验证 * 正则验证
* *
* @author yexue * @author maxf
* @expl * @version 1.3.4
* @time 2017年11月9日 上午11:01:24 * @ClassName RegexUtil
* @Description
* @date 2019/1/3 9:33
*/ */
public class RegexUtil { public class RegexUtil {
private RegexUtil() { private RegexUtil() {

View File

@ -92,10 +92,10 @@ public final class StrUtil {
} }
/** /**
* 生成11位编号可以用作订单号有很小几率出现重复需要做异常处理<br/> * <p>生成11位编号可以用作订单号有很小几率出现重复需要做异常处理</p>
* 左边第一位为正负标识正数1 负数0<br/> * <p>左边第一位为正负标识正数1 负数0</p>
* 剩余位数为UUID的hashcode值<br/> * <p> 剩余位数为UUID的hashcode值</p>
* 可以再生成的编号基础上嵌入其他标识编码 * <p>可以再生成的编号基础上嵌入其他标识编码</p>
* *
* @return * @return
*/ */