Skip to content

Commit 570e9fa

Browse files
authoredApr 17, 2023
解决多表插入报错,感谢 wahowaho 的贡献 #545
#545
2 parents fd3e0ee + e6dbbd9 commit 570e9fa

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
 

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

+7
Original file line numberDiff line numberDiff line change
@@ -2229,6 +2229,13 @@ protected JSONObject batchVerify(RequestMethod method, String tag, int version,
22292229
continue;
22302230
}
22312231

2232+
if(tag != null && !tag.contains(":")) {
2233+
JSONObject object = getRequestStructure(_method, tag, version);
2234+
JSONObject ret = objectVerify(_method, tag, version, name, request, maxUpdateCount, creator, object);
2235+
jsonObject.putAll(ret);
2236+
break;
2237+
}
2238+
22322239
String _tag = buildTag(request, key, method, tag);
22332240
JSONObject requestItem = new JSONObject();
22342241
// key 处理别名

0 commit comments

Comments
 (0)
Please sign in to comment.