We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please fill it out carefully, or it will be closed. 请认真填写,不然会直接关闭。
JDK Version(required): 8
SpringBoot Version(required): 2.4.3
dynamic-datasource-spring-boot-starter Version(required):3.4.1
druid Version(optional):na
Expected Result:
DS注解优先级问题: 查看注释查找注解的顺序
但是当在方法和类上都加上@DS注解后,默认会获取类上注解,方法上注解会失效
@DS
@DS("pg") public interface Mapper{ //这个方法会查pg @DS("mysql") public List<User> select(String id); public List<User> selectAnother(String id) }
Actual Result:
If there is an exception,or aop invalid,please attach the exception trace:
Just paste your stack trace here!
Step 1
Step 2
Step 3
The text was updated successfully, but these errors were encountered:
fix: 修复 @ds优先级 baomidou#407
d490ef8
fix: 修复 @ds优先级 #407 (#408)
d3cbf9c
merge
Sorry, something went wrong.
No branches or pull requests
Please fill it out carefully, or it will be closed.
请认真填写,不然会直接关闭。
Enviroment
JDK Version(required): 8
SpringBoot Version(required): 2.4.3
dynamic-datasource-spring-boot-starter Version(required):3.4.1
druid Version(optional):na
Describe what happened
Expected Result:
DS注解优先级问题:
查看注释查找注解的顺序
但是当在方法和类上都加上
@DS
注解后,默认会获取类上注解,方法上注解会失效Actual Result:
If there is an exception,or aop invalid,please attach the exception trace:
Steps to reproduce
Step 1
Step 2
Step 3
The text was updated successfully, but these errors were encountered: