修复调用存储过程时无法传参的问题

This commit is contained in:
jmxd
2025-05-11 10:53:49 +08:00
parent 956a0381f7
commit f7bffdd7e8

View File

@@ -71,7 +71,7 @@ public class BoundSql {
private void init() {
Map<String, Object> varMap = new HashMap<>();
if (this.bindParameters != null) {
if (this.bindParameters != null && !this.bindParameters.isEmpty()) {
varMap.putAll(this.bindParameters);
} else {
varMap.putAll(runtimeContext.getVarMap());