|
@@ -41,7 +41,7 @@ public class HouseController {
|
|
|
return new BaseDTO("104", "需要登录");
|
|
return new BaseDTO("104", "需要登录");
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- HouseRelation relation = houseRelationDAO.findByPassportAndHouse(passport.getId(), houseId);
|
|
|
|
|
|
|
+ HouseRelation relation = houseRelationDAO.findByPassport(passport.getId());
|
|
|
if (relation != null) {
|
|
if (relation != null) {
|
|
|
/*if (relation.getState() == 1) {
|
|
/*if (relation.getState() == 1) {
|
|
|
return new BaseDTO("105", "已绑定过");
|
|
return new BaseDTO("105", "已绑定过");
|