ControllerApplication.java 759 B

12345678910111213141516171819202122
  1. package com.koobietech.eas;
  2. import org.mybatis.spring.annotation.MapperScan;
  3. import org.springframework.boot.SpringApplication;
  4. import org.springframework.boot.autoconfigure.SpringBootApplication;
  5. import org.springframework.context.annotation.ComponentScan;
  6. import org.springframework.context.annotation.FilterType;
  7. @SpringBootApplication
  8. @MapperScan(basePackages = {"com.koobietech.eas.mbg.mapper"})
  9. @ComponentScan(basePackages = {"com.koobietech.eas"}, excludeFilters = {
  10. @ComponentScan.Filter(type = FilterType.REGEX, pattern = {
  11. "com.koobietech.eas.mbg.+"
  12. })
  13. })
  14. public class ControllerApplication {
  15. public static void main(String[] args) {
  16. SpringApplication.run(ControllerApplication.class, args);
  17. }
  18. }