当前位置:网站首页>近日小结(非技术文)
近日小结(非技术文)
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);
加油
边栏推荐
- Using nsproxy to forward messages
- Use fail2ban to prevent password attempts
- Scrapy 框架学习
- Introduction to XML II
- Talk about the design and implementation logic of payment process
- 美国土安全部长:国内暴力极端主义是目前美面临的最大恐怖主义威胁之一
- Web知识补充
- Apache服务器访问日志access.log设置
- FS4056 800mA充电ic 国产快充电源ic
- Annual comprehensive analysis of China's mobile reading market in 2022
猜你喜欢

OpenHarmony应用开发之如何创建DAYU200预览器

The only core indicator of high-quality software architecture

Dgraph: large scale dynamic graph dataset

2022G3锅炉水处理考试题模拟考试题库及模拟考试

Go 语言入门很简单:Go 实现凯撒密码

When MDK uses precompiler in header file, ifdef is invalid

Flet教程之 03 FilledButton基础入门(教程含源码)(教程含源码)

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

SQL statement syntax error in test SQL statement deletion in eclipse linked database

JVM系列——栈与堆、方法区day1-2
随机推荐
C#基础补充
XILINX/system-controller-c/BoardUI/无法连接开发板,任意操作后卡死的解决办法
.NET 使用 redis
Node mongodb installation
E-week finance | Q1 the number of active people in the insurance industry was 86.8867 million, and the licenses of 19 Payment institutions were cancelled
SQL language
XML入门一
分布式BASE理论
Configure WebDAV server on Apache
2022年中国移动阅读市场年度综合分析
字节面试算法题
Haproxy high availability solution
Redis —— How To Install Redis And Configuration(如何快速在 Ubuntu18.04 与 CentOS7.6 Linux 系统上安装 Redis)
嵌入式编程中五个必探的“潜在错误”
remount of the / superblock failed: Permission denied
Read the BGP agreement in 6 minutes.
Dgraph: large scale dynamic graph dataset
Apache服务器访问日志access.log设置
CANN算子:利用迭代器高效实现Tensor数据切割分块处理
Use fail2ban to prevent password attempts