diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxPropertyContractServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxPropertyContractServiceImpl.java index 036e3534b..2bfd682a8 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxPropertyContractServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxPropertyContractServiceImpl.java @@ -132,6 +132,13 @@ public class WxPropertyContractServiceImpl implements WxPropertyContractService if (wxPropertyContract == null) { throw new MallinkException(ErrorCode.PROPERTY_CONTRACT_IS_NOT_FOUND); } + + WxContractCustomers customers = wxContractCustomersMapper.selectById(wxPropertyContract.getCustomersId(),wxPropertyContract.getTenantId()); + wxPropertyContract.setCustomerType(customers.getPrincipalType()); + wxPropertyContract.setCustomerLinkPerson(customers.getLinkPerson()); + wxPropertyContract.setCustomerName(customers.getName()); + wxPropertyContract.setCustomerPhone(customers.getPhone()); + wxPropertyContract.setCustomerLegalPerson(customers.getLegalPerson()); //init dateDiff if(wxPropertyContract.getRentalStartDate() != null && wxPropertyContract.getRentalEndDate() != null){