mirror of
https://github.com/hs-web/hsweb-framework.git
synced 2026-06-01 10:21:26 +08:00
升级版本
This commit is contained in:
@@ -38,7 +38,6 @@
|
||||
<dependency>
|
||||
<groupId>com.alibaba</groupId>
|
||||
<artifactId>fastjson</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
@@ -13,7 +13,7 @@ import java.util.function.Predicate;
|
||||
* @author zhouhao
|
||||
* @see 3.0
|
||||
*/
|
||||
public interface EnumDict<V> {
|
||||
public interface EnumDict<V>{
|
||||
/**
|
||||
* 枚举选项的值,通常由字母或者数字组成,并且在同一个枚举中值唯一;对应数据库中的值通常也为此值
|
||||
*
|
||||
|
||||
@@ -22,6 +22,10 @@ public class DictDefineTest {
|
||||
|
||||
private DictSupportApi api = new DefaultDictSupportApi(repository);
|
||||
|
||||
public void testJson(){
|
||||
UserCode code=UserCode.CODE0;
|
||||
|
||||
}
|
||||
@Test
|
||||
public void testEnumDict() {
|
||||
|
||||
|
||||
4
pom.xml
4
pom.xml
@@ -89,7 +89,7 @@
|
||||
<javassist.version>3.20.0-GA</javassist.version>
|
||||
<activiti.version>5.19.0.2</activiti.version>
|
||||
|
||||
<fastjson.version>1.2.32</fastjson.version>
|
||||
<fastjson.version>1.2.47</fastjson.version>
|
||||
<h2.version>1.4.191</h2.version>
|
||||
<mysql.version>5.1.39</mysql.version>
|
||||
<cglib.version>3.2.2</cglib.version>
|
||||
@@ -325,7 +325,7 @@
|
||||
<dependency>
|
||||
<groupId>org.redisson</groupId>
|
||||
<artifactId>redisson</artifactId>
|
||||
<version>3.5.5</version>
|
||||
<version>3.7.0</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
|
||||
Reference in New Issue
Block a user