title: mybatis relation one to one, send multi parameters
body: <p>I'm using mybatis, and I have a one to one relation, but I wanna send multiple parameters, here is my code:</p>
  
  <pre><code>@Mapper
  public interface ParentMapper {
      @Select("select o.id, o.name, o.key from parent o where o.key=#{key}")
      @Result({
          @Result(column = "id", property = "id")
          @Result(column = "name", property = "name")
          @Result(column = "id", property = "child", one=@One(select = "getChild"))
      })
      List&lt;Parent&gt; getParents(@Param("key") String key, @Param("childKey") String childKey);
  
      @Select("select id, childName, childKey from child where parentId=#{parentId} and childKey = #{childKey}")
      Child getChild(@Param("parentId")String parentId, @Param("childKey") String childKey);
  } 
  </code></pre>
  
  <p>as you can see, logically, I fetch a list of Parent, and then I send 2 parameters: parent's id, childKey, to get child. 
  But how can i make it happen use @One annotation?</p>