瀏覽代碼

fix

release_toaliyun_real
winter 1 年之前
父節點
當前提交
ca13e357ee
共有 1 個檔案被更改,包括 10 行新增1 行删除
  1. +10
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxAgileContractServiceImpl.java

+ 10
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxAgileContractServiceImpl.java 查看文件

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


Loading…
取消
儲存