- 博客(1)
- 收藏
- 关注
原创 mapper中使用mybatis的@param注解注意事项
1,使用@Param注解 当以下面的方式进行写SQL语句时: @Select("select column from table where userid = #{userid} ") public int selectColumn(int userid); 当你使用了使用@Param注解来声明参数时,如果使用 #{} 或 ${} 的方式都可以。 @Select("select column f...
2020-03-05 10:51:49 478
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人