| | |
| | | buildTypdIds.forEach(aLong -> { |
| | | if (!collect.contains(aLong)) { |
| | | ComMngStructBuildTypeDO comMngStructBuildTypeDO = comMngStructBuildTypeDAO.selectById(aLong); |
| | | if (!ObjectUtils.isEmpty(comMngStructBuildTypeDO)) { |
| | | throw new ServiceException(comMngStructBuildTypeDO.getName()+"已经在使用无法删除"); |
| | | } |
| | | } |
| | | }); |
| | | comMngStructBuildTypeDAO.delete(new QueryWrapper<ComMngStructBuildTypeDO>().lambda().eq(ComMngStructBuildTypeDO::getCommunityId, communityId)); |
| | | comMngStructBuildTypeVOList.forEach(comMngStructBuildTypeVO -> { |