Explorar el Código

fix

release_toaliyun_real
winter hace 1 año
padre
commit
9bb7590a45
Se han modificado 1 ficheros con 7 adiciones y 0 borrados
  1. +7
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxPropertyContractServiceImpl.java

+ 7
- 0
mallinkService/src/main/java/com/iformall/service/impl/WxPropertyContractServiceImpl.java Ver fichero

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


Cargando…
Cancelar
Guardar