package com.fdkankan.task; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.ComponentScan; @SpringBootApplication @MapperScan("com.fdkankan.**.mapper") @ComponentScan(basePackages = {"com.fdkankan.*"}) public class TaskApplication { public static void main(String[] args) { SpringApplication.run(TaskApplication.class, args); } }