AlarmCustom.java 608 B

1234567891011121314151617181920
  1. package com.gyee.alarm;
  2. import org.mybatis.spring.annotation.MapperScan;
  3. import org.springframework.boot.SpringApplication;
  4. import org.springframework.boot.autoconfigure.SpringBootApplication;
  5. import org.springframework.scheduling.annotation.EnableAsync;
  6. import org.springframework.scheduling.annotation.EnableScheduling;
  7. @SpringBootApplication
  8. @EnableScheduling
  9. @EnableAsync
  10. @MapperScan("com.gyee.alarm.mapper")
  11. public class AlarmCustom {
  12. public static void main(String[] args) throws Exception {
  13. SpringApplication.run(AlarmCustom.class, args);
  14. System.out.println("完成");
  15. }
  16. }