package org.shunt;

import com.admin.major.manager.impl.MajorApplyExportManagerImpl;
import com.admin.major.manager.impl.SpecialApplyExportManagerImpl;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.context.annotation.FilterType;

@SpringBootApplication
@ComponentScan(
        value = {"com.admin","org.shunt"}
        ,excludeFilters = {
        @ComponentScan.Filter(type = FilterType.ASSIGNABLE_TYPE, classes = {
                MajorApplyExportManagerImpl.class,
                SpecialApplyExportManagerImpl.class,
        })
})
@MapperScan({"com.admin.major.mapper","org.shunt.mapper"})
@EnableAspectJAutoProxy(proxyTargetClass = true, exposeProxy = true)
public class App {
    public static void main( String[] args )    {
    	SpringApplication.run(App.class, args);
    }
}
