修改包名

This commit is contained in:
zhouhao
2018-04-19 15:26:43 +08:00
parent a349710338
commit 7d51a4f5ba
30 changed files with 19 additions and 3 deletions

View File

@@ -7,7 +7,22 @@ package org.hswebframework.web.dictionary.api;
* @since 3.0
*/
public interface DictionaryWrapper {
/**
* 向一个实体类里填充数据字典
*
* @param id 实体类的id
* @param bean 实体类
* @param <T> 实体类型
* @return 填充后的实体类
*/
<T> T wrap(Object id, T bean);
/**
* 把实体类中的
* @param id
* @param bean
* @param <T>
* @return
*/
<T> T persistent(Object id, T bean);
}

View File

@@ -9,7 +9,7 @@
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>hsweb-system-dictionary-simple</artifactId>
<artifactId>hsweb-system-dictionary-local</artifactId>
<dependencies>
<dependency>

View File

@@ -41,7 +41,7 @@
<dependencies>
<dependency>
<groupId>org.hswebframework.web</groupId>
<artifactId>hsweb-system-dictionary-simple</artifactId>
<artifactId>hsweb-system-dictionary-local</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>

View File

@@ -30,6 +30,7 @@ import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;
import java.math.BigDecimal;
import java.util.List;
/**

View File

@@ -31,7 +31,7 @@
<modules>
<module>hsweb-system-dictionary-starter</module>
<module>hsweb-system-dictionary-api</module>
<module>hsweb-system-dictionary-simple</module>
<module>hsweb-system-dictionary-local</module>
<module>hsweb-system-dictionary-web</module>
</modules>