baomidou / dynamic-datasource

dynamic datasource for springboot 多数据源 动态数据源 主从分离 读写分离 分布式事务
https://www.kancloud.cn/tracy5546/dynamic-datasource/2264611
Apache License 2.0
4.74k stars 1.19k forks source link

@DS("dsName") 这个dsName是方法上的形参吗?想根据参数名来动态切换数据源 #216

Closed xiaomacdut closed 4 years ago

xiaomacdut commented 4 years ago

Enviroment

JDK Version(required):

SpringBoot Version(required):

dynamic-datasource-spring-boot-starter Version(required):

druid Version(optional):

Describe

Expected Result:

Actual Result:

Steps to reproduce

huayanYu commented 4 years ago

@xiaomacdut https://github.com/baomidou/dynamic-datasource-spring-boot-starter/wiki/Dynamic-Analysis-DataSource