lin
2024-03-22 774c8b2ee14eef5fd10bbd46d85a180e7b19ab21
src/main/java/org/springblade/modules/house/service/impl/HouseholdServiceImpl.java
@@ -454,7 +454,7 @@
      for (Long id : idList) {
         HouseholdEntity householdEntity = getById(id);
         // 如果是业主
         if (householdEntity.getRelationship() == 1) {
         if (null!= householdEntity.getRelationship() && householdEntity.getRelationship() == 1) {
            // 查询对应的用户
            User user = userService.getById(householdEntity.getAssociatedUserId());
            // 判断是否还绑定其他的房屋,如果有,则不操作用户