当前位置:网站首页>近日小结(非技术文)
近日小结(非技术文)
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);
加油
边栏推荐
- Optional values and functions of the itemized contenttype parameter in the request header
- 爬虫练习题(一)
- Fs4056 800mA charging IC domestic fast charging power IC
- Node の MongoDB安装
- "Pre training weekly" issue 52: shielding visual pre training and goal-oriented dialogue
- XILINX/system-controller-c/BoardUI/无法连接开发板,任意操作后卡死的解决办法
- OPPO Find N2产品形态首曝:补齐各项短板
- 高效!用虚拟用户搭建FTP工作环境
- Introduction to XML I
- 字节面试算法题
猜你喜欢

"Pre training weekly" issue 52: shielding visual pre training and goal-oriented dialogue

Personalized online cloud database hybrid optimization system | SIGMOD 2022 selected papers interpretation

Building intelligent gray-scale data system from 0 to 1: Taking vivo game center as an example

Talk about the design and implementation logic of payment process

Redis —— How To Install Redis And Configuration(如何快速在 Ubuntu18.04 与 CentOS7.6 Linux 系统上安装 Redis)

上汽大通MAXUS正式发布全新品牌“MIFA”,旗舰产品MIFA 9正式亮相!

Node の MongoDB安装

CTF competition problem solution STM32 reverse introduction

C#/VB. Net to add text / image watermarks to PDF documents

Solution: how to delete the information of Jack in two tables with delete in one statement in Oracle
随机推荐
js中的变量提升和函数提升
Using scrcpy projection
[FAQ] summary of common causes and solutions of Huawei account service error 907135701
Haproxy high availability solution
C語言宿舍管理查詢軟件
CANN算子:利用迭代器高效实现Tensor数据切割分块处理
Comprehensive evaluation of modular note taking software: craft, notation, flowus
2022G3锅炉水处理考试题模拟考试题库及模拟考试
使用宝塔部署halo博客
C foundation in-depth study I
实战:fabric 用户证书吊销操作流程
WPF double slider control and forced capture of mouse event focus
Comparative study of the gods in the twilight Era
Rsyslog configuration and use tutorial
一个数据人对领域模型理解与深入
C语言程序设计
Optional values and functions of the itemized contenttype parameter in the request header
Introduction to XML II
XML入门三
Go zero micro service practical series (IX. ultimate optimization of seckill performance)