Skip to content

Commit 264781e

Browse files
committed
解决 "isPraised-()": "isContain(praiseUserIdList,userId)" 这种有前置执行 远程函数 的表对象可能返回没有表数据的对象,只有 { "isPraised": true } 这种无意义的对象
1 parent 6b72cbf commit 264781e

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
@@ -702,7 +702,7 @@ public AbstractObjectParser executeSQL() throws Exception {
702702
public JSONObject response() throws Exception {
703703
if (sqlReponse == null || sqlReponse.isEmpty()) {
704704
if (isTable) {//Table自身都获取不到值,则里面的Child都无意义,不需要再解析
705-
return response;
705+
return null; // response;
706706
}
707707
} else {
708708
response.putAll(sqlReponse);

0 commit comments

Comments
 (0)