当前位置:网站首页>近日小结(非技术文)
近日小结(非技术文)
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);
加油
边栏推荐
- MySQL three-level distribution agent relationship storage
- 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
- 爬虫练习题(一)
- C basic supplement
- SQL statement syntax error in test SQL statement deletion in eclipse linked database
- 基于STM32+华为云IOT设计的酒驾监控系统
- OpenHarmony应用开发之如何创建DAYU200预览器
- Introduction to reverse debugging PE structure resource table 07/07
- C foundation in-depth learning II
- ASP. Net core introduction I
猜你喜欢
逆向调试入门-PE结构-资源表07/07
N++ is not reliable
8 expansion sub packages! Recbole launches 2.0!
Dgraph: large scale dynamic graph dataset
光环效应——谁说头上有光的就算英雄
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
C#/VB. Net to add text / image watermarks to PDF documents
[cloud native | kubernetes] in depth understanding of ingress (12)
Three schemes to improve the efficiency of MySQL deep paging query
分布式BASE理论
随机推荐
Go zero micro service practical series (IX. ultimate optimization of seckill performance)
XML入门一
CommVault cooperates with Oracle to provide metallic data management as a service on Oracle cloud
"Pre training weekly" issue 52: shielding visual pre training and goal-oriented dialogue
PostgreSQL 9.1 soaring Road
C foundation in-depth study I
三星量产3纳米产品引台媒关注:能否短期提高投入产出率是与台积电竞争关键
C语言中学生成绩管理系统
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
CA: efficient coordinate attention mechanism for mobile terminals | CVPR 2021
Apache server access log access Log settings
OpenHarmony应用开发之如何创建DAYU200预览器
程序员转方向
Cors: standard scheme of cross domain resource request
2022KDD预讲 | 11位一作学者带你提前解锁优秀论文
Interviewer: what is the difference between redis expiration deletion strategy and memory obsolescence strategy?
Database lock table? Don't panic, this article teaches you how to solve it
模块化笔记软件综合评测:Craft、Notion、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
C#基础补充