ControllerApplication.java 675 B

12345678910111213141516171819
  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. @SpringBootApplication
  7. @MapperScan(basePackages = {"com.koobietech.eas.mbg.mapper"})
  8. @ComponentScan(basePackages = {
  9. "com.koobietech.eas.controller", "com.koobietech.eas.security",
  10. "com.koobietech.eas.service", "com.koobietech.eas.common"})
  11. public class ControllerApplication {
  12. public static void main(String[] args) {
  13. SpringApplication.run(ControllerApplication.class, args);
  14. }
  15. }