Annotation Interface Param


@Documented @Retention(RUNTIME) @Target(PARAMETER) public @interface Param
The annotation that specify the parameter name.

How to use:

 public interface UserMapper {
   @Select("SELECT id, name FROM users WHERE name = #{name}")
   User selectById(@Param("name") String value);
 }
 
Author:
Clinton Begin