|
|
@ -50,6 +50,7 @@ import com.epmet.dto.*; |
|
|
|
import com.epmet.dto.form.IcNeighborHoodAddFormDTO; |
|
|
|
import com.epmet.dto.form.ImportInfoFormDTO; |
|
|
|
import com.epmet.dto.form.ImportTaskCommonFormDTO; |
|
|
|
import com.epmet.dto.result.BuildingResultDTO; |
|
|
|
import com.epmet.dto.result.ImportTaskCommonResultDTO; |
|
|
|
import com.epmet.dto.result.InfoByNamesResultDTO; |
|
|
|
import com.epmet.dto.result.UploadImgResultDTO; |
|
|
@ -211,7 +212,7 @@ public class IcNeighborHoodServiceImpl extends BaseServiceImpl<IcNeighborHoodDao |
|
|
|
}).collect(Collectors.toList()); |
|
|
|
} |
|
|
|
|
|
|
|
public List<IcNeighborHoodDTO> getNeighborhoodList(TokenDto tokenDto, IcNeighborHoodDTO dto) { |
|
|
|
public List<BuildingResultDTO> getNeighborhoodList(TokenDto tokenDto, IcNeighborHoodDTO dto) { |
|
|
|
dto.setCustomerId(tokenDto.getCustomerId()); |
|
|
|
if (StringUtils.isBlank(dto.getAgencyId()) && StringUtils.isEmpty(dto.getGridId())) { |
|
|
|
log.info("agencyId与gridId都为空时,默认查询当前工作人员所属组织下的小区"); |
|
|
@ -222,7 +223,7 @@ public class IcNeighborHoodServiceImpl extends BaseServiceImpl<IcNeighborHoodDao |
|
|
|
} |
|
|
|
dto.setAgencyId(result.getAgencyId()); |
|
|
|
} |
|
|
|
return baseDao.getNeighborhoodList(dto); |
|
|
|
return icBuildingDao.listBuildingInfo(dto); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|