FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: fix global @explain not effective · APIJSON/APIJSON@5789d66 · GitHub

Commit 5789d66

Browse files
committed
fix: fix global @Explain not effective
1 parent 8f2c951 commit 5789d66

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎APIJSONORM/src/main/java/apijson/orm/AbstractObjectParser.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ else if (_method == PUT && value instanceof List<?> && (whereList == null || whe
375375

376376
if (isSubquery == false) { // 解决 SQL 语法报错,子查询不能 EXPLAIN
377377
Boolean exp = parser.getGlobalExplain();
378-
if (sch != null) {
378+
if (exp != null) {
379379
sqlRequest.putIfAbsent(JSONMap.KEY_EXPLAIN, exp);
380380
}
381381

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL