|
|
|
@@ -141,7 +141,16 @@ public class WxAgileContractServiceImpl implements WxAgileContractService { |
|
|
|
|
|
|
|
@Override |
|
|
|
public WxRentContract selectById(Long id) { |
|
|
|
return wxRentContractMapper.selectById(id); |
|
|
|
WxRentContract rentContract = wxRentContractMapper.selectById(id); |
|
|
|
|
|
|
|
WxContractCustomers customers = wxContractCustomersMapper.selectById(rentContract.getCustomersId(),rentContract.getTenantId()); |
|
|
|
rentContract.setCustomerType(customers.getPrincipalType()); |
|
|
|
rentContract.setCustomerLinkPerson(customers.getLinkPerson()); |
|
|
|
rentContract.setCustomerName(customers.getName()); |
|
|
|
rentContract.setCustomerPhone(customers.getPhone()); |
|
|
|
rentContract.setCustomerLegalPerson(customers.getLegalPerson()); |
|
|
|
|
|
|
|
return rentContract; |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
|