package com;

import org.aspectj.lang.annotation.Before;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.http.client.SimpleClientHttpRequestFactory;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.web.client.RestTemplate;

/**
 * 项目入口
 *
 * @author xingkong1221
 * @since 2017-06-19
 */
@SpringBootApplication
@EnableAutoConfiguration
@EnableScheduling
@MapperScan(value = {"com.ydd.oms.mapper","com.sv.mapper"})
public class Application {

    /**
     * 启动项目
     *
     * @param args 启动参˙数
     */
    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }


}
