当前位置:网站首页>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.
边栏推荐
- 8 expansion sub packages! Recbole launches 2.0!
- C语言课程设计题
- Apache server access log access Log settings
- XML入门三
- Redis —— How To Install Redis And Configuration(如何快速在 Ubuntu18.04 与 CentOS7.6 Linux 系统上安装 Redis)
- SQL statement syntax error in test SQL statement deletion in eclipse linked database
- Introduction to XML II
- Don't turn down, three sentences to clarify the origin of cross domain resource request errors
- ViewBinding和DataBinding的理解和区别
- 担心“断气” 德国正修改《能源安全法》
猜你喜欢
Haproxy high availability solution
结合案例:Flink框架中的最底层API(ProcessFunction)用法
近日小结(非技术文)
Solution: how to delete the information of Jack in two tables with delete in one statement in Oracle
. Net delay queue
When MDK uses precompiler in header file, ifdef is invalid
字节面试算法题
Oracle was named the champion of Digital Innovation Award by Ventana research
Node の MongoDB安装
Flet tutorial 03 basic introduction to filledbutton (tutorial includes source code) (tutorial includes source code)
随机推荐
Annual comprehensive analysis of China's mobile reading market in 2022
Runc hang causes the kubernetes node notready
基于STM32+华为云IOT设计的酒驾监控系统
"Pre training weekly" issue 52: shielding visual pre training and goal-oriented dialogue
Source code compilation and installation of MySQL
[cloud native | kubernetes] in depth understanding of ingress (12)
Practice: fabric user certificate revocation operation process
XML入门二
Flet tutorial 03 basic introduction to filledbutton (tutorial includes source code) (tutorial includes source code)
Getting started with microservices
Introduction to reverse debugging PE structure resource table 07/07
WPF double slider control and forced capture of mouse event focus
Is the outdoor LED screen waterproof?
光环效应——谁说头上有光的就算英雄
Comparative study of the gods in the twilight Era
Commvault 和 Oracle 合作,在 Oracle 云上提供 Metallic数据管理即服务
2022kdd pre lecture | 11 first-class scholars take you to unlock excellent papers in advance
Solution: how to delete the information of Jack in two tables with delete in one statement in Oracle
Cann operator: using iterators to efficiently realize tensor data cutting and blocking processing
近日小结(非技术文)