1 parent 8f2c951 commit 5789d66Copy full SHA for 5789d66
1 file changed
APIJSONORM/src/main/java/apijson/orm/AbstractObjectParser.java
@@ -375,7 +375,7 @@ else if (_method == PUT && value instanceof List<?> && (whereList == null || whe
375
376
if (isSubquery == false) { // 解决 SQL 语法报错,子查询不能 EXPLAIN
377
Boolean exp = parser.getGlobalExplain();
378
- if (sch != null) {
+ if (exp != null) {
379
sqlRequest.putIfAbsent(JSONMap.KEY_EXPLAIN, exp);
380
}
381
0 commit comments