@param 注解

  1. @Param 是 MyBatis 提供的注解(org.apache.ibatis.annotations.Param), 它的作用是为 Mapper 接口方法的参数指定别名,在 SQL 中可以通过 #{别名} 来引用.