Skip to content

Commit

Permalink
优化MapperScan
Browse files Browse the repository at this point in the history
  • Loading branch information
zhou-hao committed Jul 20, 2018
1 parent 4077daf commit c8c5b7b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@

@Configuration
@ComponentScan("org.hswebframework.web.dao.mybatis")
@MapperScan(value = "org.hswebframework.web.dao", markerInterface = Dao.class)
@MapperScan(value = "org.hswebframework.web.dao"
, markerInterface = Dao.class
,sqlSessionFactoryRef = "sqlSessionFactory")
@AutoConfigureAfter(MyBatisAutoConfiguration.class)
@EnableConfigurationProperties(MybatisProperties.class)
public class MybatisDaoAutoConfiguration {
Expand Down

0 comments on commit c8c5b7b

Please sign in to comment.