当前位置:网站首页>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.
边栏推荐
- Introduction to XML II
- SQL语言
- DGraph: 大规模动态图数据集
- Annual comprehensive analysis of China's mobile reading market in 2022
- Use fail2ban to prevent password attempts
- C basic supplement
- Flet教程之 03 FilledButton基础入门(教程含源码)(教程含源码)
- Runc hang causes the kubernetes node notready
- Five "potential errors" in embedded programming
- Comparative study of the gods in the twilight Era
猜你喜欢

CVPR 2022 | 大幅减少零样本学习所需的人工标注,提出富含视觉信息的类别语义嵌入(源代码下载)...

. Net delay queue

2022危险化学品经营单位主要负责人练习题及模拟考试

HAProxy高可用解决方案

CANN算子:利用迭代器高效实现Tensor数据切割分块处理

免费、好用、强大的轻量级笔记软件评测:Drafts、Apple 备忘录、Flomo、Keep、FlowUs、Agenda、SideNote、Workflowy

结合案例:Flink框架中的最底层API(ProcessFunction)用法

CTF competition problem solution STM32 reverse introduction

CA: efficient coordinate attention mechanism for mobile terminals | CVPR 2021

Openharmony application development how to create dayu200 previewer
随机推荐
WPF double slider control and forced capture of mouse event focus
c#数组补充
Byte interview algorithm question
ViewBinding和DataBinding的理解和区别
美国土安全部长:国内暴力极端主义是目前美面临的最大恐怖主义威胁之一
C basic supplement
Scripy framework learning
Database lock table? Don't panic, this article teaches you how to solve it
C language Dormitory Management Query Software
remount of the / superblock failed: Permission denied
Three schemes to improve the efficiency of MySQL deep paging query
C#基础深入学习一
Using nsproxy to forward messages
#yyds干货盘点# 解决名企真题:连续最大和
Comparative study of the gods in the twilight Era
一次 Keepalived 高可用的事故,让我重学了一遍它
基于链表管理的单片机轮询程序框架
C语言程序设计
The only core indicator of high-quality software architecture
Node の MongoDB安装