package com.dy.pipIrrDemo; import com.dy.common.multiDataSource.EnableMultiDataSource; 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; @SpringBootApplication @EnableAspectJAutoProxy @EnableMultiDataSource @ComponentScan(basePackages = {"com.dy.common", "com.dy.pipIrrGlobal", "com.dy.pipIrrDemo"}) @MapperScan(basePackages={"com.dy.pipIrrGlobal.daoDemo"}) public class PipIrrDemoApplication { public static void main(String[] args) { SpringApplication.run(PipIrrDemoApplication.class, args); } }