fix: fix component scan error
This commit is contained in:
@@ -29,12 +29,12 @@ import java.util.Map;
|
||||
*/
|
||||
@Configuration
|
||||
// 配置tk.mybatis参数及通用mapper,指定sqlSession工厂Bean
|
||||
@tk.mybatis.spring.annotation.MapperScan(basePackages = "com.hcframe.**.dao", //这里扫描dao层的接口
|
||||
@tk.mybatis.spring.annotation.MapperScan(basePackages = "com.taixingyiji.**.dao", //这里扫描dao层的接口
|
||||
sqlSessionFactoryRef = "sqlSessionFactoryBean222",
|
||||
markerInterface = MyMapper.class //指定tkmybatis 中的通用mapper
|
||||
)
|
||||
// 配置mybatis参数,指定sqlSession工厂Bean
|
||||
@MapperScan(basePackages = "com.hcframe.**.dao",sqlSessionFactoryRef = "sqlSessionFactoryBean222")
|
||||
@MapperScan(basePackages = "com.taixingyiji.**.dao",sqlSessionFactoryRef = "sqlSessionFactoryBean222")
|
||||
@EnableConfigurationProperties(MybatisProperties.class)
|
||||
public class DataSourceConfiguration {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user