关于mybatis的@Param注解和参数

1,使用@Param注解 hash 当如下面的方式进行写SQL语句时:table     @Select("select column from table where userid = #{userid} ")     public int selectColumn(int userid);select 当你使用了使用@Param注解来声明参数时,若是使用 #{} 或 ${} 的方式均可以。 引
相关文章
相关标签/搜索