|
|
@ -361,7 +361,9 @@ public class HouseServiceImpl implements HouseService, ResultDataResolver { |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
icNeighborHoodDao.deleteBatchIds(ids); |
|
|
|
if (!CollectionUtils.isEmpty(ids)){ |
|
|
|
icNeighborHoodDao.deleteBatchIds(ids); |
|
|
|
} |
|
|
|
if (!CollectionUtils.isEmpty(exists)){ |
|
|
|
String collect = exists.stream().map(m -> m.getName()).collect(Collectors.joining("、")); |
|
|
|
EpmetErrorCode.NEIGHBORHOOD_DEL_FAILED.setMsg(String.format(EpmetErrorCode.NEIGHBORHOOD_DEL_FAILED.getMsg(),collect)); |
|
|
@ -379,7 +381,9 @@ public class HouseServiceImpl implements HouseService, ResultDataResolver { |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
icBuildingDao.deleteBatchIds(ids); |
|
|
|
if (!CollectionUtils.isEmpty(ids)){ |
|
|
|
icBuildingDao.deleteBatchIds(ids); |
|
|
|
} |
|
|
|
if (!CollectionUtils.isEmpty(exists)){ |
|
|
|
String collect = exists.stream().map(m -> m.getName()).collect(Collectors.joining("、")); |
|
|
|
EpmetErrorCode.BUILDING_DEL_FAILED.setMsg(String.format(EpmetErrorCode.BUILDING_DEL_FAILED.getMsg(),collect)); |
|
|
@ -401,7 +405,9 @@ public class HouseServiceImpl implements HouseService, ResultDataResolver { |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
icHouseDao.deleteBatchIds(ids); |
|
|
|
if (!CollectionUtils.isEmpty(ids)){ |
|
|
|
icHouseDao.deleteBatchIds(ids); |
|
|
|
} |
|
|
|
if (!CollectionUtils.isEmpty(exists)){ |
|
|
|
List<String> list = icHouseDao.selectHouseNames(exists); |
|
|
|
String collect = list.stream().collect(Collectors.joining("、")); |
|
|
|