We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
apijson写法:
"[]": { "count":3, 'T_EVENT_MAIN': { "@schema": "ZHSQ", "EVENT_ID{}@": { "from": "WF_HI_TASK", "WF_HI_TASK": { "@schema": "CDA_FLOW", "@column": "BUSINESS_KEY", } }, }, },
这是根据官网的模板去掉多余参数,写的子查询apijson语句,mysql的查询语句只有简单的子查询语句,但是oracle的查询语句也会强制加上分页语句,这样就会导致id无法获取到子查询内部对应的字段,进而报错,无法使用。
我想问一下,这个怎么处理,是否存在开关或者配置,关闭子查询中的默认分页操作?
The text was updated successfully, but these errors were encountered:
像 getLimitString 一样在 getOraclePageSql 前拦截处理,不拼接分页 SQL 片段
if (count <= 0 || RequestMethod.isHeadMethod(getMethod(), true)) { // TODO HEAD 真的不需要 LIMIT ? return sql; }
https://github.com/Tencent/APIJSON/blob/master/APIJSONORM/src/main/java/apijson/orm/AbstractSQLConfig.java#L4546-L4549
https://github.com/Tencent/APIJSON/blob/master/APIJSONORM/src/main/java/apijson/orm/AbstractSQLConfig.java#L4584-L4595
https://github.com/Tencent/APIJSON/blob/master/APIJSONORM/src/main/java/apijson/orm/AbstractSQLConfig.java#L2634-L2636
Sorry, something went wrong.
问题解决,代码已提交 #684
No branches or pull requests
Description
apijson写法:
这是根据官网的模板去掉多余参数,写的子查询apijson语句,mysql的查询语句只有简单的子查询语句,但是oracle的查询语句也会强制加上分页语句,这样就会导致id无法获取到子查询内部对应的字段,进而报错,无法使用。

我想问一下,这个怎么处理,是否存在开关或者配置,关闭子查询中的默认分页操作?
The text was updated successfully, but these errors were encountered: