|  |  |  | 
|---|
|  |  |  | import org.mybatis.spring.annotation.MapperScan; | 
|---|
|  |  |  | import org.springframework.boot.SpringApplication; | 
|---|
|  |  |  | import org.springframework.boot.autoconfigure.SpringBootApplication; | 
|---|
|  |  |  | import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; | 
|---|
|  |  |  | import org.springframework.context.ApplicationContext; | 
|---|
|  |  |  | import org.springframework.scheduling.annotation.EnableAsync; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 启动类 | 
|---|
|  |  |  | 
|---|
|  |  |  | @Slf4j | 
|---|
|  |  |  | @SpringBootApplication | 
|---|
|  |  |  | @MapperScan("com.doumee.dao") | 
|---|
|  |  |  | @EnableAsync | 
|---|
|  |  |  | public class CompanyApplication { | 
|---|
|  |  |  | public static void main(String[] args) { | 
|---|
|  |  |  | ApplicationContext context = SpringApplication.run(CompanyApplication.class); | 
|---|