package com.yunfeiyun.agmp.fms;

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;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 启动程序
 * 
 * @author 杨晓辉
 */
@EnableScheduling
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
@ComponentScan({"com.yunfeiyun"})
@MapperScan({"com.yunfeiyun.agmp.fms.**.mapper"})
public class AgmpFmsApplication
{
    private static final Logger log = LoggerFactory.getLogger(AgmpFmsApplication.class);

    public static void main(String[] args)
    {
        SpringApplication.run(AgmpFmsApplication.class, args);
        log.info("农事任务管理系统启动成功");
    }


}