package cn.tr.test; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.Bean; import org.springframework.scheduling.annotation.EnableAsync; /** * @ClassName : WebApplication * @Description : * @Author : LF * @Date: 2023年02月22日 */ @SpringBootApplication(scanBasePackages = "cn.tr.module.*") @MapperScan({"cn.tr.module.*.*.repository","cn.tr.module.*.modular.*.mapper"}) @EnableAsync public class WebApplication { public static void main(String[] args) { SpringApplication.run(WebApplication.class); } @Bean public QuartzTest quartzTest(){ return new QuartzTest(); } }