https://github.com/clever-framework/clever-framework
基于BFF架构设计的中后台快速开发框架,支持SQEL、JPA、Mybatis 等多种查询方式
https://github.com/clever-framework/clever-framework
backend-for-frontend bff crud jpa spring spring-boot spring-data spring-data-jpa spring-security
Last synced: about 1 year ago
JSON representation
基于BFF架构设计的中后台快速开发框架,支持SQEL、JPA、Mybatis 等多种查询方式
- Host: GitHub
- URL: https://github.com/clever-framework/clever-framework
- Owner: clever-framework
- License: apache-2.0
- Created: 2018-09-27T06:58:53.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-04-11T13:56:49.000Z (about 1 year ago)
- Last Synced: 2025-04-11T14:55:23.780Z (about 1 year ago)
- Topics: backend-for-frontend, bff, crud, jpa, spring, spring-boot, spring-data, spring-data-jpa, spring-security
- Language: Java
- Homepage: https://toquery.github.io/clever-framework/
- Size: 2.95 MB
- Stars: 2
- Watchers: 1
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# spring 快速开发框架
[](https://github.com/ToQuery/clever-framework)
[](https://travis-ci.org/ToQuery/clever-framework)
[](https://github.com/ToQuery/clever-framework/issues)
[](https://github.com/ToQuery/clever-framework)
[](https://github.com/ToQuery/clever-framework)
[](https://github.com/ToQuery/clever-framework)

`clever-framework` : 基于 Spring Boot 的拓展框架,遵循约定大于配置的原则 。
注意:snapshots 版本会及时响应,修复最新的 bug 或者必要的需求。
| 依赖 | 版本 |
| ------------ |----------|
| Spring | 6.2.0 |
| Spring Boot | 3.2.0 |
| Spring Cloud | 2022.0.0 |
[](https://github.com/toquery/clever-framework)
## 使用方式
修改项目的pom.xml文件,引入`parent`节点,如使用了 Spring Boot 的依赖,直接替换即可。
目前最新版本为: 
```xml
io.github.toquery
clever-framework
1.0.8-SNAPSHOT
```
## 方法命名规范
- getXXXByXXX 通过XX条件获取单个对象
- findXXXByXXX 通过XX条件获取list集合
- queryXXXByXXX 通过XX条件获取list集合,带分页
## IDE配置
- IntellJ IDEA 提示找不到 mybatis mapper 实现
使用注解 `@SuppressWarnings("MybatisMapperMethodInspection")` 忽略IDEA的 mybatis mapper 检查
`ResponseBodyAdvice`