Skip to content

Commit

Permalink
Merge pull request eugenp#8501 from cxmshine/master
Browse files Browse the repository at this point in the history
update AddressMapper.java
  • Loading branch information
lor6 authored Apr 29, 2020
2 parents 3d69032 + aae0270 commit 4ce1923
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ public interface AddressMapper {
@Results(value = { @Result(property = "addressId", column = "addressId"),
@Result(property = "streetAddress", column = "streetAddress"),
@Result(property = "person", column = "personId", javaType = Person.class, one = @One(select = "getPerson")) })
Address getAddresses(Integer addressID);
Address getAddresses(Integer addressId);

@Select("SELECT personId FROM address WHERE addressId = #{addressId})")
Person getPerson(Integer personId);
Person getPerson(Integer addressId);
}

0 comments on commit 4ce1923

Please sign in to comment.