We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 956a038 commit f7bffddCopy full SHA for f7bffdd
magic-api/src/main/java/org/ssssssss/magicapi/modules/db/BoundSql.java
@@ -71,7 +71,7 @@ private BoundSql() {
71
72
private void init() {
73
Map<String, Object> varMap = new HashMap<>();
74
- if (this.bindParameters != null) {
+ if (this.bindParameters != null && !this.bindParameters.isEmpty()) {
75
varMap.putAll(this.bindParameters);
76
} else {
77
varMap.putAll(runtimeContext.getVarMap());
0 commit comments