Browse Source

修改包名

zhouhao 7 năm trước cách đây
mục cha
commit
7d51a4f5ba
30 tập tin đã thay đổi với 19 bổ sung3 xóa
  1. 15 0
      hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-api/src/main/java/org/hswebframework/web/dictionary/api/DictionaryWrapper.java
  2. 1 1
      hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-simple/pom.xml
  3. 0 0
      hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/java/org/hswebframework/web/dictionary/simple/BoostDictDefineRepository.java
  4. 0 0
      hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/java/org/hswebframework/web/dictionary/simple/DefaultDictionaryHelper.java
  5. 0 0
      hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/java/org/hswebframework/web/dictionary/simple/DefaultDictionaryWrapper.java
  6. 0 0
      hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/java/org/hswebframework/web/dictionary/simple/DictionaryWrapperObject.java
  7. 0 0
      hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/java/org/hswebframework/web/dictionary/simple/SimpleDictionaryItemService.java
  8. 0 0
      hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/java/org/hswebframework/web/dictionary/simple/SimpleDictionaryParser.java
  9. 0 0
      hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/java/org/hswebframework/web/dictionary/simple/SimpleDictionaryParserService.java
  10. 0 0
      hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/java/org/hswebframework/web/dictionary/simple/SimpleDictionaryService.java
  11. 0 0
      hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/java/org/hswebframework/web/dictionary/simple/builder/SimpleDictionaryParserBuilder.java
  12. 0 0
      hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/java/org/hswebframework/web/dictionary/simple/dao/DictionaryDao.java
  13. 0 0
      hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/java/org/hswebframework/web/dictionary/simple/dao/DictionaryItemDao.java
  14. 0 0
      hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/java/org/hswebframework/web/dictionary/simple/dao/DictionaryParserDao.java
  15. 0 0
      hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/java/org/hswebframework/web/dictionary/simple/parser/DictParserFormat.java
  16. 0 0
      hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/java/org/hswebframework/web/dictionary/simple/parser/DictParserFormatter.java
  17. 0 0
      hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/java/org/hswebframework/web/dictionary/simple/parser/FormatterResult.java
  18. 0 0
      hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/java/org/hswebframework/web/dictionary/simple/parser/ScriptSingleDictParser.java
  19. 0 0
      hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/java/org/hswebframework/web/dictionary/simple/parser/SimpleDictParserFormatter.java
  20. 0 0
      hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/java/org/hswebframework/web/dictionary/simple/parser/SimpleSingleDictParser.java
  21. 0 0
      hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/resources/org/hswebframework/web/dao/mybatis/mappers/dictionary/DictionaryItemMapper.xml
  22. 0 0
      hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/resources/org/hswebframework/web/dao/mybatis/mappers/dictionary/DictionaryMapper.xml
  23. 0 0
      hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/resources/org/hswebframework/web/dao/mybatis/mappers/dictionary/DictionaryParserMapper.xml
  24. 0 0
      hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/test/java/org/hswebframework/web/dictionary/simple/DefaultDictionaryWrapperTest.java
  25. 0 0
      hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/test/java/org/hswebframework/web/dictionary/simple/EmptyDictBean.java
  26. 0 0
      hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/test/java/org/hswebframework/web/dictionary/simple/TestBean.java
  27. 0 0
      hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/test/java/org/hswebframework/web/dictionary/simple/TestDict.java
  28. 1 1
      hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-starter/pom.xml
  29. 1 0
      hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-starter/src/test/java/org/hswebframework/web/dictionary/starter/DictionaryTests.java
  30. 1 1
      hsweb-system/hsweb-system-dictionary/pom.xml

+ 15 - 0
hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-api/src/main/java/org/hswebframework/web/dictionary/api/DictionaryWrapper.java

@@ -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);
 }

+ 1 - 1
hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-simple/pom.xml

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

hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-simple/src/main/java/org/hswebframework/web/dictionary/simple/BoostDictDefineRepository.java → hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/java/org/hswebframework/web/dictionary/simple/BoostDictDefineRepository.java


hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-simple/src/main/java/org/hswebframework/web/dictionary/simple/DefaultDictionaryHelper.java → hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/java/org/hswebframework/web/dictionary/simple/DefaultDictionaryHelper.java


hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-simple/src/main/java/org/hswebframework/web/dictionary/simple/DefaultDictionaryWrapper.java → hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/java/org/hswebframework/web/dictionary/simple/DefaultDictionaryWrapper.java


hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-simple/src/main/java/org/hswebframework/web/dictionary/simple/DictionaryWrapperObject.java → hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/java/org/hswebframework/web/dictionary/simple/DictionaryWrapperObject.java


hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-simple/src/main/java/org/hswebframework/web/dictionary/simple/SimpleDictionaryItemService.java → hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/java/org/hswebframework/web/dictionary/simple/SimpleDictionaryItemService.java


hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-simple/src/main/java/org/hswebframework/web/dictionary/simple/SimpleDictionaryParser.java → hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/java/org/hswebframework/web/dictionary/simple/SimpleDictionaryParser.java


hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-simple/src/main/java/org/hswebframework/web/dictionary/simple/SimpleDictionaryParserService.java → hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/java/org/hswebframework/web/dictionary/simple/SimpleDictionaryParserService.java


hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-simple/src/main/java/org/hswebframework/web/dictionary/simple/SimpleDictionaryService.java → hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/java/org/hswebframework/web/dictionary/simple/SimpleDictionaryService.java


hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-simple/src/main/java/org/hswebframework/web/dictionary/simple/builder/SimpleDictionaryParserBuilder.java → hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/java/org/hswebframework/web/dictionary/simple/builder/SimpleDictionaryParserBuilder.java


hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-simple/src/main/java/org/hswebframework/web/dictionary/simple/dao/DictionaryDao.java → hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/java/org/hswebframework/web/dictionary/simple/dao/DictionaryDao.java


hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-simple/src/main/java/org/hswebframework/web/dictionary/simple/dao/DictionaryItemDao.java → hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/java/org/hswebframework/web/dictionary/simple/dao/DictionaryItemDao.java


hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-simple/src/main/java/org/hswebframework/web/dictionary/simple/dao/DictionaryParserDao.java → hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/java/org/hswebframework/web/dictionary/simple/dao/DictionaryParserDao.java


hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-simple/src/main/java/org/hswebframework/web/dictionary/simple/parser/DictParserFormat.java → hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/java/org/hswebframework/web/dictionary/simple/parser/DictParserFormat.java


hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-simple/src/main/java/org/hswebframework/web/dictionary/simple/parser/DictParserFormatter.java → hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/java/org/hswebframework/web/dictionary/simple/parser/DictParserFormatter.java


hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-simple/src/main/java/org/hswebframework/web/dictionary/simple/parser/FormatterResult.java → hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/java/org/hswebframework/web/dictionary/simple/parser/FormatterResult.java


hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-simple/src/main/java/org/hswebframework/web/dictionary/simple/parser/ScriptSingleDictParser.java → hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/java/org/hswebframework/web/dictionary/simple/parser/ScriptSingleDictParser.java


hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-simple/src/main/java/org/hswebframework/web/dictionary/simple/parser/SimpleDictParserFormatter.java → hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/java/org/hswebframework/web/dictionary/simple/parser/SimpleDictParserFormatter.java


hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-simple/src/main/java/org/hswebframework/web/dictionary/simple/parser/SimpleSingleDictParser.java → hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/java/org/hswebframework/web/dictionary/simple/parser/SimpleSingleDictParser.java


hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-simple/src/main/resources/org/hswebframework/web/dao/mybatis/mappers/dictionary/DictionaryItemMapper.xml → hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/resources/org/hswebframework/web/dao/mybatis/mappers/dictionary/DictionaryItemMapper.xml


hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-simple/src/main/resources/org/hswebframework/web/dao/mybatis/mappers/dictionary/DictionaryMapper.xml → hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/resources/org/hswebframework/web/dao/mybatis/mappers/dictionary/DictionaryMapper.xml


hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-simple/src/main/resources/org/hswebframework/web/dao/mybatis/mappers/dictionary/DictionaryParserMapper.xml → hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/main/resources/org/hswebframework/web/dao/mybatis/mappers/dictionary/DictionaryParserMapper.xml


hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-simple/src/test/java/org/hswebframework/web/dictionary/simple/DefaultDictionaryWrapperTest.java → hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/test/java/org/hswebframework/web/dictionary/simple/DefaultDictionaryWrapperTest.java


hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-simple/src/test/java/org/hswebframework/web/dictionary/simple/EmptyDictBean.java → hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/test/java/org/hswebframework/web/dictionary/simple/EmptyDictBean.java


hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-simple/src/test/java/org/hswebframework/web/dictionary/simple/TestBean.java → hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/test/java/org/hswebframework/web/dictionary/simple/TestBean.java


hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-simple/src/test/java/org/hswebframework/web/dictionary/simple/TestDict.java → hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-local/src/test/java/org/hswebframework/web/dictionary/simple/TestDict.java


+ 1 - 1
hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-starter/pom.xml

@@ -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>

+ 1 - 0
hsweb-system/hsweb-system-dictionary/hsweb-system-dictionary-starter/src/test/java/org/hswebframework/web/dictionary/starter/DictionaryTests.java

@@ -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;
 
 /**

+ 1 - 1
hsweb-system/hsweb-system-dictionary/pom.xml

@@ -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>