bug in RestoreVisitor.visit

This commit is contained in:
XenoAmess
2022-09-05 08:49:52 +08:00
committed by 温绍锦
parent 85a0522edc
commit 3b65c2bfec
@@ -480,7 +480,7 @@ public class ParameterizedOutputVisitorUtils {
if (c0 == '#' && c1 == '{' && c1x == '}') {
String key = name.substring(2, name.length() - 1);
Object value = parameters.get(x);
Object value = parameters.get(key);
SQLExpr expr = SQLExprUtils.fromJavaObject(value, timeZone);
SQLUtils.replaceInParent(x, expr);
}