当前位置:网站首页>近日小结(非技术文)
近日小结(非技术文)
2022-07-04 12:48:00 【雾喔】
最近几天忙着项目,忙着写接口,与前端交互。
事实证明,前后端相互理解是非常重要的,同时我也发现,作为后端, 不仅仅需要写出好的接口,还要具备与前端交流沟通的能力,这个很重要。都是教训。
最近学习了springdata jpa,在dao层,也就是repository对于简单的crud是不用写sql语句的,通过查看在repository继承的接口可以看到,这是封装了很多的方法,比如:
最后还希望与前端更好地交流,写出更令我满意和令前端满意的接口。
上一段代码
/**
* 超级管理员修改用户权限等级
*/
@Transactional
@Modifying
@Query(value = "update user set user_status=?1 where user_id=?2", nativeQuery = true)
int modifyUserStatus(int userStatus, int userID);
加油
边栏推荐
- Solution: how to delete the information of Jack in two tables with delete in one statement in Oracle
- C language Dormitory Management Query Software
- A data person understands and deepens the domain model
- Fs4056 800mA charging IC domestic fast charging power IC
- C#基础深入学习一
- 模块化笔记软件综合评测:Craft、Notion、FlowUs
- WPF double slider control and forced capture of mouse event focus
- Go zero micro service practical series (IX. ultimate optimization of seckill performance)
- 结合案例:Flink框架中的最底层API(ProcessFunction)用法
- 2022G3锅炉水处理考试题模拟考试题库及模拟考试
猜你喜欢
Efficient! Build FTP working environment with virtual users
爬虫练习题(一)
Golang sets the small details of goproxy proxy proxy, which is applicable to go module download timeout and Alibaba cloud image go module download timeout
OpenHarmony应用开发之如何创建DAYU200预览器
诸神黄昏时代的对比学习
Solution: how to delete the information of Jack in two tables with delete in one statement in Oracle
Meituan Ali's Application Practice on multimodal recall
Samsung's mass production of 3nm products has attracted the attention of Taiwan media: whether it can improve the input-output rate in the short term is the key to compete with TSMC
[cloud native | kubernetes] in depth understanding of ingress (12)
动画与过渡效果
随机推荐
Apache server access log access Log settings
C语言职工管理系统
Etcd storage, watch and expiration mechanism
诸神黄昏时代的对比学习
C language Dormitory Management Query Software
结合案例:Flink框架中的最底层API(ProcessFunction)用法
舔狗舔到最后一无所有(状态机)
Fs4056 800mA charging IC domestic fast charging power IC
字节面试算法题
面试官:Redis中哈希数据类型的内部实现方式是什么?
CA: efficient coordinate attention mechanism for mobile terminals | CVPR 2021
上汽大通MAXUS正式发布全新品牌“MIFA”,旗舰产品MIFA 9正式亮相!
Comprehensive evaluation of modular note taking software: craft, notation, flowus
担心“断气” 德国正修改《能源安全法》
It is six orders of magnitude faster than the quantum chemical method. An adiabatic artificial neural network method based on adiabatic state can accelerate the simulation of dual nitrogen benzene der
Redis —— How To Install Redis And Configuration(如何快速在 Ubuntu18.04 与 CentOS7.6 Linux 系统上安装 Redis)
OPPO Find N2产品形态首曝:补齐各项短板
高效!用虚拟用户搭建FTP工作环境
#yyds干货盘点# 解决名企真题:连续最大和
Oracle was named the champion of Digital Innovation Award by Ventana research