|
|
@ -140,7 +140,7 @@ public class PowerKernelHouseholdServiceImpl extends BaseServiceImpl<PowerKernel |
|
|
|
// 需要绑定的房屋ID集合
|
|
|
|
List<String> houseIdList = form.getHouseIdList(); |
|
|
|
// 查询已绑定的houseId集合
|
|
|
|
List<String> existHouseIdList = baseDao.queryHouseIdList(houseIdList, form.getAxisStructId(), customerId); |
|
|
|
List<String> existHouseIdList = baseDao.queryHouseIdList(houseIdList, customerId, form.getAxisStructId()); |
|
|
|
// 倒序,取差集
|
|
|
|
for (int i = houseIdList.size() - 1; i >= 0; i--) { |
|
|
|
if (existHouseIdList.contains(houseIdList.get(i))) { |
|
|
|