mirror of
https://gitee.com/ssssssss-team/magic-api.git
synced 2026-09-03 13:18:12 +08:00
修复调用存储过程时无法传参的问题
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user