|
@@ -16,13 +16,6 @@ import javax.sql.DataSource;
|
|
|
/**
|
|
/**
|
|
|
* Created by hzlinhai on 2025/8/26.
|
|
* Created by hzlinhai on 2025/8/26.
|
|
|
*/
|
|
*/
|
|
|
-//@Configuration
|
|
|
|
|
-//@EnableTransactionManagement
|
|
|
|
|
-//@EnableJpaRepositories(
|
|
|
|
|
-// entityManagerFactoryRef = "secondaryEntityManagerFactory",
|
|
|
|
|
-// transactionManagerRef = "secondaryTransactionManager",
|
|
|
|
|
-// basePackages = {"com.mirage.mirageservice.mapper.sqlserver"} // SQL Server对应的Repository包路径
|
|
|
|
|
-//)
|
|
|
|
|
@Configuration
|
|
@Configuration
|
|
|
@MapperScan(
|
|
@MapperScan(
|
|
|
basePackages = "com.mirage.mirageservice.mapper.sqlserver", // SQL Server Mapper 包路径
|
|
basePackages = "com.mirage.mirageservice.mapper.sqlserver", // SQL Server Mapper 包路径
|