package cn.com.tenlion.systemoa; import org.mybatis.spring.annotation.MapperScan; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.scheduling.annotation.EnableScheduling; import springfox.documentation.swagger2.annotations.EnableSwagger2; @EnableSwagger2 @EnableScheduling @SpringBootApplication(scanBasePackages = {"ink.wgink", "cn.com.tenlion"}) @MapperScan(basePackages = {"ink.wgink.**.dao", "cn.com.tenlion.**.dao"}) public class SystemOaApplication { public static void main(String[] args) { SpringApplication.run(SystemOaApplication.class, args); } }