杨村长JS练功房
<select id="selectUser" resultMap="User">
select * from user where user_name = #{userName} and user_password=#{password}
</select> 其中where user_name = #{userName} and user_password = #{password}中的userName和password都是从注解@Param()里面取出来的,取出来的值就是方法中形式参数 String name 和 String pwd的值。

