package com.qianwen.mdc;
|
|
import org.mybatis.spring.annotation.MapperScan;
|
import org.slf4j.Logger;
|
import org.slf4j.LoggerFactory;
|
import org.springframework.boot.SpringApplication;
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
import org.springframework.boot.web.servlet.ServletComponentScan;
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
|
/**
|
* @author y_ys79
|
* mdc启动程序
|
*/
|
@SpringBootApplication
|
@ServletComponentScan(basePackages = "com.qianwen.mdc.listener")
|
@MapperScan("com.qianwen.mdc.mapper")
|
@EnableScheduling
|
public class MdcApplication {
|
private static final Logger logger = LoggerFactory.getLogger(MdcApplication.class);
|
/**
|
*
|
* @param args
|
*/
|
public static void main(String[] args) {
|
logger.trace("starting MdcApplication");
|
|
SpringApplication.run(MdcApplication.class, args);
|
}
|
|
|
}
|