|
|
@@ -43,7 +43,7 @@ public class HouseController {
|
|
|
|
|
|
HouseRelation relation = houseRelationDAO.findByPassportAndHouse(passport.getId(), houseId);
|
|
|
if (relation != null) {
|
|
|
- if (relation.getState() == 1) {
|
|
|
+ /*if (relation.getState() == 1) {
|
|
|
return new BaseDTO("105", "已绑定过");
|
|
|
} else {
|
|
|
relation.setState(2);
|
|
|
@@ -54,7 +54,8 @@ public class HouseController {
|
|
|
passportDAO.updateName(passport.getId(), name);
|
|
|
}
|
|
|
return new BaseDTO();
|
|
|
- }
|
|
|
+ }*/
|
|
|
+ return new BaseDTO("107", "房产已有绑定");
|
|
|
}
|
|
|
|
|
|
relation = new HouseRelation();
|