Browse Source

修改Bug

yjp 1 year ago
parent
commit
ca8aa74d0e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      framework/core/infrastructure/database/database.go

+ 1 - 1
framework/core/infrastructure/database/database.go

@@ -393,7 +393,7 @@ func InsertBatch(executor Executor, executeParams *sql.InsertBatchExecuteParams)
 		values = append(values, tableRow.Values())
 	}
 
-	_, err = executor.ExecuteRawSql(sql.InsertTpl, executeParamsMap, values)
+	_, err = executor.ExecuteRawSqlTemplate(sql.InsertTpl, executeParamsMap, values)
 	if err != nil {
 		return err
 	}