mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
bug fixed
This commit is contained in:
@@ -179,9 +179,11 @@ public class MappingVisitorUtils {
|
||||
expr.putAttribute("mapping.varIndex", varIndex);
|
||||
}
|
||||
|
||||
Object parameter = visitor.getParameters().get(varIndex);
|
||||
if (visitor.getParameters().size() > varIndex) {
|
||||
Object parameter = visitor.getParameters().get(varIndex);
|
||||
expr.putAttribute("mapping.value", parameter);
|
||||
}
|
||||
|
||||
expr.putAttribute("mapping.value", parameter);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user