mirror of
https://gitee.com/jzsw-it/yexuejc-base.git
synced 2025-06-16 02:16:55 +08:00
分账完善
This commit is contained in:
parent
ceb7b77a71
commit
6c186e39cd
19
pom.xml
19
pom.xml
@ -10,6 +10,7 @@
|
||||
|
||||
<name>${project.artifactId}</name>
|
||||
<url>https://github.com/yexuejc/yexuejc-base</url>
|
||||
<description>Common toolkits based on JDK8 packaging</description>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
@ -50,6 +51,11 @@
|
||||
<commons-io.version>2.6</commons-io.version>
|
||||
<bcprov-jdk15on.version>1.60</bcprov-jdk15on.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>
|
||||
|
||||
<dependencies>
|
||||
@ -237,6 +243,19 @@
|
||||
</execution>
|
||||
</executions>
|
||||
</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>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-gpg-plugin</artifactId>
|
||||
|
@ -10,7 +10,7 @@ import java.util.*;
|
||||
* @author maxf
|
||||
* @version 1.0
|
||||
* @ClassName ObjUtil
|
||||
* @Description
|
||||
* @Description 对象工具:对类的操作
|
||||
* @date 2018/12/28 15:54
|
||||
*/
|
||||
public class ObjUtil {
|
||||
|
@ -6,9 +6,11 @@ import java.util.regex.Pattern;
|
||||
/**
|
||||
* 正则验证
|
||||
*
|
||||
* @author yexue
|
||||
* @expl
|
||||
* @time 2017年11月9日 上午11:01:24
|
||||
* @author maxf
|
||||
* @version 1.3.4
|
||||
* @ClassName RegexUtil
|
||||
* @Description
|
||||
* @date 2019/1/3 9:33
|
||||
*/
|
||||
public class RegexUtil {
|
||||
private RegexUtil() {
|
||||
|
@ -92,10 +92,10 @@ public final class StrUtil {
|
||||
}
|
||||
|
||||
/**
|
||||
* 生成11位编号,可以用作订单号,有很小几率出现重复,需要做异常处理<br/>
|
||||
* 左边第一位为正负标识:正数1 负数0<br/>
|
||||
* 剩余位数为UUID的hashcode值<br/>
|
||||
* 可以再生成的编号基础上嵌入其他标识编码
|
||||
* <p>生成11位编号,可以用作订单号,有很小几率出现重复,需要做异常处理</p>
|
||||
* <p>左边第一位为正负标识:正数1 负数0</p>
|
||||
* <p> 剩余位数为UUID的hashcode值</p>
|
||||
* <p>可以再生成的编号基础上嵌入其他标识编码</p>
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user