package com.qianwen.mdc.collect;
|
|
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;
|
|
|
//@ServletComponentScan(basePackages = {"com.qianwen.mdc.listener"})
|
@SpringBootApplication
|
|
//@MapperScan(value = {"com.qianwen.mdc.collect.mapper", "com.qianwen.mdc.collect.mapper.mgr"})
|
//mapperscan使用starter-mybatis中的
|
@EnableScheduling
|
public class MdcTansApplication {
|
private static final Logger logger = LoggerFactory.getLogger(MdcTansApplication.class);
|
|
public static void main(String[] args) {
|
logger.trace("MdcTansApplication start");
|
SpringApplication.run(MdcTansApplication.class, args);
|
}
|
}
|