| | |
| | | List<HouseVO> list = this.baseMapper.userHistoryList(query,pageInfo); |
| | | for (HouseVO houseVO : list) { |
| | | houseVO.setTenantAttributes(StringUtils.isNotEmpty(houseVO.getTenantAttributes())?DictUtils.getDictLabel(DictConstants.DICT_TYPE_TENANT_ATTRIBUTE,houseVO.getTenantAttributes()):""); |
| | | houseVO.setProductType(StringUtils.isNotEmpty(houseVO.getProductType())?DictUtils.getDictLabel(DictConstants.DICT_TYPE_TENANT_TYPE,houseVO.getProductType()):""); |
| | | houseVO.setProductType(StringUtils.isNotEmpty(houseVO.getTenantType())?DictUtils.getDictLabel(DictConstants.DICT_TYPE_TENANT_TYPE,houseVO.getTenantType()):""); |
| | | } |
| | | pageInfo.setRecords(list); |
| | | return pageInfo; |
| | |
| | | private String tenantAttributes; |
| | | @ApiModelProperty(value = "类型") |
| | | private String productType; |
| | | @ApiModelProperty(value = "类型") |
| | | private String tenantType; |
| | | @ApiModelProperty(value = "入住日期") |
| | | @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") |
| | | private LocalDateTime startTime; |
| | |
| | | t3.room_number as roomNumber, |
| | | t3.house_area as houseArea, |
| | | t2.phone as loginAccount, |
| | | t2.tenant_type as tenantType, |
| | | t2.id as tenantId, |
| | | t2.id_card as idCard, |
| | | t2.bank_number as bankNumber, |