y_ys79
2024-01-05 e5840972b6b17ec03bfc1069a9cacfe0cef189c6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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);
    }
 
    
}