mirror of https://gitee.com/maxjhandsome/pig
feat(dynamic-datasource): dynamic-datasource new version resolve this problem
This commit is contained in:
parent
dae8860e43
commit
b5c4662bb8
|
@ -38,8 +38,6 @@ public class LastParamDsProcessor extends DsProcessor {
|
||||||
@Override
|
@Override
|
||||||
public boolean matches(String key) {
|
public boolean matches(String key) {
|
||||||
if (key.startsWith(LAST_PREFIX)) {
|
if (key.startsWith(LAST_PREFIX)) {
|
||||||
// https://github.com/baomidou/dynamic-datasource-spring-boot-starter/issues/213
|
|
||||||
DynamicDataSourceContextHolder.clear();
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue