No qualifying bean of type [javax.sql.DataSource] is defined: expected single matching bean but found 2: zscq-detail-dataSource,count-dataSource
解决办法:
spring boot 启动类加上 exclude = DataSourceAutoConfiguration.class 代表启动项目的时候 不加载这个类
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})