import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.scheduling.annotation.EnableScheduling; @SpringBootApplication(scanBasePackages = {"com.hanhan","hanhan"}) @MapperScan({"com.hanhan.dao"}) @EnableScheduling public class BeetltestApplication { public static void main(String[] args) { SpringApplication.run(BeetltestApplication.class, args); } }