- 博客(1)
- 收藏
- 关注
原创 mybatis的几种传参方式
mybatis的几种传参方式1、顺序传参 <select> public User selectUser(String name, int deptId); <select id="selectUser" resultMap="UserResultMap"> select * from user where user_name = #{0} and dept_id = #{1} </select> #{}里面的数字代
2021-04-29 17:35:16
226
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人