package com.yunfeiyun.agmp.pts;

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.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

/**
 * 启动程序
 * 
 * @author 杨晓辉
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
@ComponentScan({"com.yunfeiyun"})
@MapperScan({"com.yunfeiyun.agmp.pts.**.mapper"})
public class AgmpPtsApplication
{
    protected static Logger logger = LoggerFactory.getLogger(AgmpPtsApplication.class);

    public static void main(String[] args)
    {
        SpringApplication.run(AgmpPtsApplication.class, args);
        logger.info("集成门户系统启动成功");
    }

}
