[DB] Config basePackages 변경
This commit is contained in:
@@ -22,7 +22,7 @@ import java.io.IOException;
|
|||||||
@Slf4j
|
@Slf4j
|
||||||
@Configuration
|
@Configuration
|
||||||
@MapperScan(
|
@MapperScan(
|
||||||
basePackages = { "app.module.admin", "app.module.core" },
|
basePackages = { "app.module.admin.**.persistence", "app.module.core.**.persistence" },
|
||||||
annotationClass = org.apache.ibatis.annotations.Mapper.class,
|
annotationClass = org.apache.ibatis.annotations.Mapper.class,
|
||||||
sqlSessionFactoryRef = "kriSqlSessionFactory")
|
sqlSessionFactoryRef = "kriSqlSessionFactory")
|
||||||
@EnableTransactionManagement
|
@EnableTransactionManagement
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ import java.io.IOException;
|
|||||||
@Slf4j
|
@Slf4j
|
||||||
@Configuration
|
@Configuration
|
||||||
@MapperScan(
|
@MapperScan(
|
||||||
basePackages = "app.module.mms",
|
basePackages = "app.module.mms.**.persistence",
|
||||||
annotationClass = org.apache.ibatis.annotations.Mapper.class,
|
annotationClass = org.apache.ibatis.annotations.Mapper.class,
|
||||||
sqlSessionFactoryRef = "mmsSqlSessionFactory")
|
sqlSessionFactoryRef = "mmsSqlSessionFactory")
|
||||||
@EnableTransactionManagement
|
@EnableTransactionManagement
|
||||||
|
|||||||
Reference in New Issue
Block a user