当前位置:网站首页>Summary of recent days (non-technical article)
Summary of recent days (non-technical article)
2022-07-04 13:55:00 【Fog oh】
I have been busy with projects in recent days , Busy writing interfaces , Interact with the front end .
The fact proved that , It is very important to understand each other in front and back , And I also found that , As the back-end , Not only need to write a good interface , Also have the ability to communicate with the front end , This is very important . It's all lessons .
I've been studying recently springdata jpa, stay dao layer , That is to say repository For simple crud You don't have to write sql Of the statement , By viewing the repository The inherited interface can be seen , This encapsulates many methods , such as :
Finally, I hope to communicate better with the front end , Write interfaces that make me more satisfied and the front end more satisfied .
Last code
/**
* Super administrator modifies user permission level
*/
@Transactional
@Modifying
@Query(value = "update user set user_status=?1 where user_id=?2", nativeQuery = true)
int modifyUserStatus(int userStatus, int userID);
come on.
边栏推荐
- MySQL45讲——学习极客时间MySQL实战45讲笔记—— 06 | 全局锁和表锁_给表加个字段怎么有这么多阻碍
- 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
- #yyds干货盘点# 解决名企真题:连续最大和
- 博士申请 | 西湖大学学习与推理系统实验室招收博后/博士/研究实习等
- Scripy framework learning
- CVPR 2022 | transfusion: Lidar camera fusion for 3D target detection with transformer
- JVM series - stack and heap, method area day1-2
- 源码编译安装MySQL
- MySQL three-level distribution agent relationship storage
- 高质量软件架构的唯一核心指标
猜你喜欢
Practice: fabric user certificate revocation operation process
Getting started with the go language is simple: go implements the Caesar password
Fisher信息量检测对抗样本代码详解
JVM series - stack and heap, method area day1-2
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
DGraph: 大规模动态图数据集
Introduction to reverse debugging PE structure resource table 07/07
A data person understands and deepens the domain model
[AI system frontier dynamics, issue 40] Hinton: my deep learning career and research mind method; Google refutes rumors and gives up tensorflow; The apotheosis framework is officially open source
近日小结(非技术文)
随机推荐
C语言程序设计
Install Trinity and solve error reporting
基于链表管理的单片机轮询程序框架
"Pre training weekly" issue 52: shielding visual pre training and goal-oriented dialogue
MySQL three-level distribution agent relationship storage
ASP.NET Core入门一
C language dormitory management query software
Three schemes to improve the efficiency of MySQL deep paging query
Getting started with microservices
Node の MongoDB安装
Reptile exercises (I)
Understanding and difference between viewbinding and databinding
After the game starts, you will be prompted to install HMS core. Click Cancel, and you will not be prompted to install HMS core again (initialization failure returns 907135003)
博士申请 | 西湖大学学习与推理系统实验室招收博后/博士/研究实习等
Scripy framework learning
面试官:Redis中哈希数据类型的内部实现方式是什么?
Rsyslog configuration and use tutorial
嵌入式编程中五个必探的“潜在错误”
Interviewer: what is the internal implementation of hash data type in redis?
One of the solutions for unity not recognizing riders