Skip to content

Commit c3b7754

Browse files
authored
Merge pull request Tencent#689 from Tencent/master
从 master 合并过来
2 parents c0c4af3 + 83d606a commit c3b7754

4 files changed

Lines changed: 17 additions & 4 deletions

File tree

APIJSONORM/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<plugin>
3434
<groupId>org.apache.maven.plugins</groupId>
3535
<artifactId>maven-compiler-plugin</artifactId>
36-
<version>3.8.1</version>
36+
<version>3.12.1</version>
3737
<configuration>
3838
<source>17</source>
3939
<target>17</target>

APIJSONORM/src/main/java/apijson/orm/AbstractSQLConfig.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,7 @@ public int[] getDBVersionNums() {
883883

884884
@Override
885885
public boolean limitSQLCount() {
886-
return Log.DEBUG == false || AbstractVerifier.SYSTEM_ACCESS_MAP.containsKey(getTable()) == false;
886+
return AbstractVerifier.SYSTEM_ACCESS_MAP.containsKey(getTable()) == false;
887887
}
888888
@Override
889889
public boolean allowPartialUpdateFailed() {
@@ -4587,6 +4587,9 @@ public boolean isWithAsEnable() {
45874587
*/
45884588
protected String getOraclePageSql(String sql) {
45894589
int count = getCount();
4590+
if (count <= 0 || RequestMethod.isHeadMethod(getMethod(), true)) { // TODO HEAD 真的不需要 LIMIT ?
4591+
return sql;
4592+
}
45904593
int offset = getOffset(getPage(), count);
45914594
String alias = getAliasWithQuote();
45924595

CONTRIBUTING.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,14 @@
5656
- [cnscoo](https://github.com/cnscoo)(阿里云工程师)
5757
- [aninZz](https://github.com/aninZz)
5858
- [leomiaomiao](https://github.com/leomiaomiao)
59+
- [YqxLzx](https://github.com/YqxLzx)
60+
- [hiteshbedre](https://github.com/hiteshbedre)
61+
- [wahowaho](https://github.com/wahowaho)
62+
- [jarrodquan](https://github.com/jarrodquan)
63+
- [gemufeng](https://github.com/gemufeng)(上海麦市工程师)
64+
- [komiblog](https://github.com/komiblog)
65+
- [ostrichManX](https://github.com/ostrichManX)
66+
- [jia199807](https://github.com/jia199807)
5967

6068
#### 其中特别致谢: <br/>
6169
cloudAndMonkey 提交的 11 个 Commits, 对 APIJSON 做出了 1,496 增加和 845 处删减(截止 2022/12/15 日); <br/>

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ https://github.com/Tencent/APIJSON/wiki
179179
* **解决十大痛点** (可帮前后端开发大幅提振开发效率、强力杜绝联调扯皮、巧妙规避文档缺陷、非常节省流量带宽)
180180
* **开发提速很大** (CRUD 零代码热更新全自动,APIJSONBoot 对比 SSM、SSH 等保守估计可提速 20 倍以上)
181181
* **腾讯官方开源** (使用 GitHub、Gitee、工蜂 等平台的官方账号开源,微信公众号、腾讯云+社区 等官方公告)
182-
* **社区影响力大** (GitHub 15.6K Star 在 400W Java 项目排名前 100,远超 FLAG, BAT 等国内外绝大部分开源项目)
182+
* **社区影响力大** (GitHub 16K+ Star 在 400W Java 项目排名前 100,远超 FLAG, BAT 等国内外绝大部分开源项目)
183183
* **各项荣誉成就** (腾讯内外 5 个奖项、腾讯开源前八、腾讯后端 Star 第一、GitHub Java 日周月榜大满贯 等)
184184
* **多样用户案例** (腾讯内有互娱、音乐、微信、云与智慧,外部有华为、华能、百度、快手、中兴、圆通、传音等)
185185
* **适用场景广泛** (社交聊天、阅读资讯、影音娱乐、办公学习 等各种 App、网站、小程序、公众号 等非金融类项目)
@@ -191,7 +191,7 @@ https://github.com/Tencent/APIJSON/wiki
191191
* **高质可靠代码** (代码严谨规范,商业分析软件源伞 Pinpoint 代码扫描报告平均每行代码 Bug 率低至 0.15%)
192192
* **兼容各种项目** (协议不限 HTTP,与其它库无冲突,对各类 Web 框架集成友好且提供 SpringBoot, JFinal 的示例)
193193
* **工程轻量小巧** (仅依赖 fastjson,Jar 仅 280KB,Java 文件仅 59 个共 13719 行代码,例如 APIJSONORM 4.3.1)
194-
* **多年持续迭代** (自 2016 年起已连续维护近 7 年,50+ 个贡献者、90+ 次发版、3000+ 次提交,不断更新迭代中...)
194+
* **多年持续迭代** (自 2016 年起已连续维护 7 年多,60+ 贡献者、90+ 发版、3000+ 提交,不断更新迭代中...)
195195

196196
**按照一般互联网中小型项目情况可得出以下对比表格:**
197197

@@ -608,6 +608,8 @@ Issue/问卷 一般解答顺序:贡献者 > 帮助他人的用户 > 提供任
608608

609609
[SQLAuto](https://github.com/TommyLemon/SQLAuto) 智能零代码自动化测试 SQL 语句执行结果的数据库工具,一键批量生成参数组合、快速构造大量测试数据
610610

611+
[UIGO](https://github.com/TommyLemon/UIGO) 📱 零代码快准稳 UI 智能录制回放平台 🚀 自动兼容任意宽高比分辨率屏幕、自动精准等待网络请求,录制回放快、准、稳!
612+
611613
[apijson-doc](https://github.com/vincentCheng/apijson-doc) APIJSON 官方文档,提供排版清晰、搜索方便的文档内容展示,包括设计规范、图文教程等
612614

613615
[APIJSONdocs](https://github.com/ruoranw/APIJSONdocs) APIJSON 英文文档,提供排版清晰的文档内容展示,包括详细介绍、设计规范、使用方式等

0 commit comments

Comments
 (0)