|
|
@@ -8,6 +8,8 @@ import org.apache.ibatis.annotations.Param;
|
|
|
public interface HouseRelationDAO {
|
|
|
HouseRelation findByPassportAndHouse(@Param("id") int id, @Param("houseId") String houseId);
|
|
|
|
|
|
+ HouseRelation findByPassport(int passportId);
|
|
|
+
|
|
|
void update(HouseRelation relation);
|
|
|
|
|
|
void insert(HouseRelation relation);
|