mirror of
https://github.com/hs-web/hsweb-framework.git
synced 2026-06-21 21:42:55 +08:00
修改包名
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>hsweb-system-dictionary-simple</artifactId>
|
||||
<artifactId>hsweb-system-dictionary-local</artifactId>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
|
||||
/**
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user