|
@ -113,6 +113,7 @@ public class HouseController implements ResultDataResolver { |
|
|
LoginUserDetailsResultDTO loginUserDetail = getLoginUserDetailsResultDTO(loginUser, "【查询房屋】查询当前staff所在组织信息失败"); |
|
|
LoginUserDetailsResultDTO loginUserDetail = getLoginUserDetailsResultDTO(loginUser, "【查询房屋】查询当前staff所在组织信息失败"); |
|
|
formDTO.setAgencyId(loginUserDetail.getAgencyId()); |
|
|
formDTO.setAgencyId(loginUserDetail.getAgencyId()); |
|
|
ValidatorUtils.validateEntity(formDTO); |
|
|
ValidatorUtils.validateEntity(formDTO); |
|
|
|
|
|
formDTO.setSelectType("id"); |
|
|
return new Result().ok(houseService.getHouseList(formDTO)); |
|
|
return new Result().ok(houseService.getHouseList(formDTO)); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
@ -159,6 +160,7 @@ public class HouseController implements ResultDataResolver { |
|
|
formDTO.setAgencyId(loginUserDetail.getAgencyId()); |
|
|
formDTO.setAgencyId(loginUserDetail.getAgencyId()); |
|
|
formDTO.setBuildingName(buildingName); |
|
|
formDTO.setBuildingName(buildingName); |
|
|
formDTO.setNeighborHoodName(neighborhoodName); |
|
|
formDTO.setNeighborHoodName(neighborhoodName); |
|
|
|
|
|
formDTO.setSelectType("agency"); |
|
|
return new Result<PageData<IcHouseListResultDTO>>().ok(houseService.getHouseList(formDTO)); |
|
|
return new Result<PageData<IcHouseListResultDTO>>().ok(houseService.getHouseList(formDTO)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -367,6 +369,7 @@ public class HouseController implements ResultDataResolver { |
|
|
if (StringUtils.isBlank(formDTO.getAgencyId())) { |
|
|
if (StringUtils.isBlank(formDTO.getAgencyId())) { |
|
|
LoginUserDetailsResultDTO loginUserDetail = getLoginUserDetailsResultDTO(tokenDto, "【查询房屋】查询当前staff所在组织信息失败"); |
|
|
LoginUserDetailsResultDTO loginUserDetail = getLoginUserDetailsResultDTO(tokenDto, "【查询房屋】查询当前staff所在组织信息失败"); |
|
|
formDTO.setAgencyId(loginUserDetail.getAgencyId()); |
|
|
formDTO.setAgencyId(loginUserDetail.getAgencyId()); |
|
|
|
|
|
formDTO.setSelectType("agency"); |
|
|
} |
|
|
} |
|
|
ValidatorUtils.validateEntity(formDTO); |
|
|
ValidatorUtils.validateEntity(formDTO); |
|
|
|
|
|
|
|
|