Skip to content

Commit

Permalink
解决多表插入报错,感谢 wahowaho 的贡献 #545
Browse files Browse the repository at this point in the history
  • Loading branch information
TommyLemon authored Apr 17, 2023
2 parents fd3e0ee + e6dbbd9 commit 570e9fa
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions APIJSONORM/src/main/java/apijson/orm/AbstractParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -2229,6 +2229,13 @@ protected JSONObject batchVerify(RequestMethod method, String tag, int version,
continue;
}

if(tag != null && !tag.contains(":")) {
JSONObject object = getRequestStructure(_method, tag, version);
JSONObject ret = objectVerify(_method, tag, version, name, request, maxUpdateCount, creator, object);
jsonObject.putAll(ret);
break;
}

String _tag = buildTag(request, key, method, tag);
JSONObject requestItem = new JSONObject();
// key 处理别名
Expand Down

0 comments on commit 570e9fa

Please sign in to comment.