yangys
2025-11-14 fca5c28c79b061f4db3658f6d9e043024f326962
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
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);
    }
}