| | |
| | | PageInfo<HouseVO> pageInfo = new PageInfo<>(query.getPageNum(), query.getPageSize()); |
| | | List<HouseVO> list = this.baseMapper.userHistoryList(query,pageInfo); |
| | | for (HouseVO houseVO : list) { |
| | | houseVO.setBusinessAttributes(DictUtils.getDictLabel(DictConstants.DICT_TYPE_BUSINESS_ATTRIBUTES,houseVO.getBusinessAttributes())); |
| | | houseVO.setTenantAttributes(DictUtils.getDictLabel(DictConstants.DICT_TYPE_TENANT_ATTRIBUTE,houseVO.getTenantAttributes())); |
| | | } |
| | | pageInfo.setRecords(list); |
| | | return pageInfo; |
| | |
| | | |
| | | @ApiModelProperty(value = "房屋id") |
| | | private String houseId; |
| | | @ApiModelProperty(value = "房屋id") |
| | | private String tenantId; |
| | | |
| | | @ApiModelProperty(value = "租户姓名") |
| | | private String residentName; |
| | |
| | | private String phone; |
| | | |
| | | @ApiModelProperty(value = "属性") |
| | | private String businessAttributes; |
| | | private String tenantAttributes; |
| | | @ApiModelProperty(value = "类型") |
| | | private String productType; |
| | | @ApiModelProperty(value = "入住日期") |
| | |
| | | t3.room_number as roomNumber, |
| | | t3.house_area as houseArea, |
| | | t2.phone as loginAccount, |
| | | t2.id as tenantId, |
| | | t2.id_card as idCard, |
| | | t2.bank_number as bankNumber, |
| | | t2.mail_address as mailAddress, |