springboot web开发crud操作方法名的Api
2023-09-27 14:22:13 时间
一 crud操作方法名
1.1 添加
saveT(xxx);
saveBatchT(xxxx)
### 添加或者修改
saveOrUpdateT(xxxx);
saveOrUpdateBatchT(xxxx);
1.2 修改
updateT(xxx)
updateTById(xxxx)
updateBatchTById(xxx)
1.3 查询
getTById(xxx)
getTOne(xxxx)
getTMap(xxx)
getTObj(xxx)
selectTList(xxx)
selectTById(xxx)
#返回一条实体
selectTOne(xxx)
selectTByBatchIds(xxx)
selectTByMap(xxx)
selectTMaps(xxxx)
selectTPage(xxxx)
selectTMapsPage(xxxx)
selectTCount(xxxx)
1.4 删除
deleteT(xxx)
deleteTByBatchIds(xxx);
deleteTById(xxx)
deleteTByMap(xxx)
注意:T表示具有实际意义实体名称
相关文章
- Springboot读取application.properties/application.yml文件的shunx
- 简单性能测试:springboot-2.x vs actix-web-4.x benchmark
- 微服务技术系列教程(02) - SpringBoot - Web开发
- 简单性能测试:springboot-2.x vs actix-web-4.x benchmark
- 简单性能测试:springboot-2.x vs actix-web-4.x benchmark
- SpringBoot 五种获取ApplicationContext的方式
- 启动简单的springboot项目报错:To display the conditions report re-run your..Web server failed to start
- SpringBoot整合FastJson(七)
- SpringBoot报错:Error creating bean with name ‘shopsController‘
- Springboot UT 引入某些类
- 基于 Java(SpringBoot+SSM)+MySQL 实现的(Web)高校成绩分析与管理系统【100010579】
- SpringBoot之自定义验证码
- 面试准备——springboot相关
- Springboot集成Mybatis、JPA
- springboot集成druid连接池
- springboot集成junit测试与javamail测试遇到的问题
- SpringBoot中的响应式web应用
- springboot 设置web和非web启动
- SpringBoot问题——web网页不能显示更改后的效果
- Springboot +mybatis-plus 实现公共字段自动填充
- Springboot跨域处理的几种方式
- Java SpringBoot 更改启动端口
- idea创建web项目,springboot项目,maven项目