Browse Source

[租赁物业合同][修改][根据ID查询]

release_toaliyun_real
gongbiao 7 years ago
parent
commit
908a8a6fa7
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      mallinkService/src/main/java/com/iformall/service/impl/WxRentPropertyContractServiceImpl.java

+ 2
- 2
mallinkService/src/main/java/com/iformall/service/impl/WxRentPropertyContractServiceImpl.java View File

@@ -55,8 +55,8 @@ public class WxRentPropertyContractServiceImpl implements WxRentPropertyContract
.filter(p -> p.getStatus().equals(EnumRentContractStatus.CONTRACT_END_SOON.getCode()) ||
p.getStatus().equals(EnumRentContractStatus.RENT_PAID.getCode()) ||
p.getStatus().equals(EnumRentContractStatus.SIGNED_RENT_UNPAID.getCode()))
.findFirst().orElseGet(null);
data.put("property", wxPropertyContract);
.findFirst().orElse(null);
data.put("property", new WxPropertyContract());
if (wxPropertyContract != null) {
Map<String, Object> property = wxPropertyContractService.getById(wxPropertyContract.getRentContractId());
data.put("property", property);


Loading…
Cancel
Save