文章目录
- 问题分析
- [1]两个普通参数
- [2]既有参数又有对象
问题分析
是当Dao层的方法有多个参数的时候,我们需要加入@Param注解
我下面都是用注解开发的,不是xml
例如:
[1]两个普通参数
都加上@Param注解
[2]既有参数又有对象
普通参数直接写,对象要写对象.属性
是当Dao层的方法有多个参数的时候,我们需要加入@Param注解
我下面都是用注解开发的,不是xml
例如:
都加上@Param注解
普通参数直接写,对象要写对象.属性
1. 命令行不知道大家在日常操作redis时用什么可视化工具呢?以前总觉得没有什么太好的可视化工具,于是问了一个业内朋友。对方回:你还用可视化工具?直接命令行呀,redis提供了这么多命令,操作起来行云流水。用可视化工具觉得很low。命令行的鄙视用工具的,用高端工具的鄙视低端工具的,鄙视链一直存在。虽然用命令行自己也可以,但是总感觉效率上不如用工具,在视觉上不那么直观。尤其是看json的时候,在命
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M