|  |  | 
 |  |  | import org.springframework.boot.autoconfigure.SpringBootApplication; | 
 |  |  | import org.springframework.context.annotation.ComponentScan; | 
 |  |  | import org.springframework.context.annotation.EnableAspectJAutoProxy; | 
 |  |  | import org.springframework.context.annotation.FilterType; | 
 |  |  |  | 
 |  |  | /** | 
 |  |  |  * @author ZhuBaoMin | 
 |  |  | 
 |  |  | @SpringBootApplication | 
 |  |  | @EnableAspectJAutoProxy | 
 |  |  | @EnableMultiDataSource | 
 |  |  | @ComponentScan(basePackages = {"com.dy.common", "com.dy.pipIrrGlobal", "com.dy.pipIrrProject"}) | 
 |  |  | @MapperScan({"com.dy.pipIrrGlobal.daoPr"}) | 
 |  |  | @ComponentScan(basePackages = {"com.dy.common", "com.dy.pipIrrGlobal", "com.dy.pipIrrProject"}, | 
 |  |  |         excludeFilters = { | 
 |  |  |                 @ComponentScan.Filter(type = FilterType.ASSIGNABLE_TYPE, classes = { | 
 |  |  |                         com.dy.common.singleDataSource.DruidDataSourceConfig.class //排除单数据源 | 
 |  |  |                 }) | 
 |  |  |         } | 
 |  |  | ) | 
 |  |  | @MapperScan({"com.dy.pipIrrGlobal.daoPr", "com.dy.pipIrrGlobal.daoBa"}) | 
 |  |  | public class PipIrrProjectApplication { | 
 |  |  |  | 
 |  |  |     public static void main(String[] args) { |