feat:mapperScan导入

This commit is contained in:
xiang
2025-07-27 23:31:49 +08:00
parent fbecd0a03a
commit d34cc44950
2 changed files with 5 additions and 8 deletions

View File

@@ -11,7 +11,11 @@ import org.springframework.scheduling.annotation.EnableScheduling;
*/
@SpringBootApplication
@EnableScheduling
@MapperScan("com.xiang.xservice.fwd.mapper")
@MapperScan(basePackages = {
"com.xiang.xservice.fwd.mapper",
"com.xiang.xservice.glados.repository",
"com.xiang.xservice.xb.repository"
})
public class ServiceScriptApplication {
public static void main(String[] args) {
SpringApplication.run(ServiceScriptApplication.class, args);