当前位置:网站首页>2 Param 注解的使用规范
2 Param 注解的使用规范
2022-08-08 00:35:00 【快喊我学习啊】
- Param 注解在企业开发中常用于单个或多个基本数据类型的参数标识
EmailInfoBean findInfoByOrgId(@Param("orgId") String orgId);
- Param 注解在企业开发中不建议用于实体类型的参数标识
- 实体类型参数通常不进行标识,目的在于避免如下类型错误以及便于代码复用

- 实体类型参数的使用案例


边栏推荐
猜你喜欢
随机推荐
华为|通过拍卖实现长期网络资源分配的多智能体强化学习:V2X 应用
Analysis of Qiangwang Cup 2022 pwn competition questions - yakacmp
MySQL index
redis分布式锁实现
【目标检测】------xml操作
Merge two sorted arrays
存储系统架构演变
部署spark2.2集群(standalone模式)
Let’s talk about the anti-reverse circuit in combination with the actual situation (summary of the anti-reverse circuit)
2021 RoboCom 世界机器人开发者大赛-本科组(决赛)7-1绿色围栏(模拟)
买股票用大智慧安全吗?资金会不会被转走?
hcip第11天
我想进行炒股开户,开户安全吗
Antdv+Asp.net WebApi Development of Student Information Management System (1)
《树上差分》小题两则
STM32F103C8T6模拟SPI控制6针/7针0.96寸OLED显示屏
章鱼网络进展月报 | 2022.7.1-7.31
weblogic后台通过配置文件修改jdbc数据源密码
Stack SQL injection, rounding
高层次综合(HLS)









