优化entityFactory

This commit is contained in:
zhouhao
2017-02-27 16:03:56 +08:00
parent 27c0283b9d
commit 98a3eaefb3
7 changed files with 12 additions and 24 deletions

View File

@@ -35,7 +35,6 @@ import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.boot.context.TypeExcludeFilter;
import org.springframework.context.annotation.*;
import org.springframework.jdbc.datasource.DataSourceUtils;

View File

@@ -11,4 +11,10 @@ spring:
hsweb:
app:
name: hsweb示例
version: 3.0.0
version: 3.0.0
entity:
mappings:
- source-base-package: org.hswebframework.web.entity.authorization
target-base-package: org.hswebframework.web.entity.authorization
mapping:
UserEntity: SimpleUserEntity