Browse Source

租户数

dev_power_axis
zhangyuan 3 years ago
parent
commit
7eb364374d
  1. 5
      epmet-plugins-module/pli-power-base/pli-power-base-client/src/main/java/com/epmet/plugin/power/dto/rent/RentContractInfoDTO.java
  2. 1
      epmet-plugins-module/pli-power-base/pli-power-base-server/src/main/java/com/epmet/plugin/power/modules/rent/service/impl/RentContractInfoServiceImpl.java

5
epmet-plugins-module/pli-power-base/pli-power-base-client/src/main/java/com/epmet/plugin/power/dto/rent/RentContractInfoDTO.java

@ -86,6 +86,11 @@ public class RentContractInfoDTO implements Serializable {
@NotBlank(message = "房主信息不能为空")
private String ownerName;
/**
* 租户数
*/
private Integer tenantNum;
/**
* 状态0未审核1审核通过2审核不通过
*/

1
epmet-plugins-module/pli-power-base/pli-power-base-server/src/main/java/com/epmet/plugin/power/modules/rent/service/impl/RentContractInfoServiceImpl.java

@ -126,6 +126,7 @@ public class RentContractInfoServiceImpl extends BaseServiceImpl<RentContractInf
item.setImgList(imgList);
});
dto.setTenantList(tenantList);
dto.setTenantNum(tenantList.size());
params.put("referenceId", dto.getId());
params.put("fileType", NumConstant.ONE_STR);

Loading…
Cancel
Save