|
@@ -38,7 +38,9 @@ import java.util.Set;
|
|
|
|
|
|
@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 {
|