Explorar el Código

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

release_toaliyun_real
gongbiao hace 7 años
padre
commit
908a8a6fa7
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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 Ver fichero

@@ -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);


Cargando…
Cancelar
Guardar