|
|
@ -143,12 +143,10 @@ public class PowerKernelHouseholdServiceImpl extends BaseServiceImpl<PowerKernel |
|
|
|
List<String> existHouseIdList = baseDao.queryHouseIdList(houseIdList, form.getAxisStructId(), customerId); |
|
|
|
// 倒序,取差集
|
|
|
|
for (int i = houseIdList.size() - 1; i >= 0; i--) { |
|
|
|
for (String existHouseId : existHouseIdList) { |
|
|
|
if (existHouseId.equals(houseIdList.get(i))) { |
|
|
|
if (existHouseIdList.contains(houseIdList.get(i))) { |
|
|
|
houseIdList.remove(i); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if (CollUtil.isEmpty(houseIdList)) { |
|
|
|
return; |
|
|
|