|
|
@ -11,7 +11,6 @@ import com.epmet.commons.tools.page.PageData; |
|
|
|
import com.epmet.commons.tools.security.user.LoginUserUtil; |
|
|
|
import com.epmet.commons.tools.utils.ConvertUtils; |
|
|
|
import com.epmet.commons.tools.utils.Result; |
|
|
|
import com.epmet.commons.tools.validator.IdCardNoValidatorUtils; |
|
|
|
import com.epmet.dto.*; |
|
|
|
import com.epmet.dto.form.IcHouseAddFormDTO; |
|
|
|
import com.epmet.dto.form.RentTenantFormDTO; |
|
|
@ -380,6 +379,8 @@ public class RentContractInfoServiceImpl extends BaseServiceImpl<RentContractInf |
|
|
|
formDTO.setEndDate(dto.getEndDate()); // 合同结束时间
|
|
|
|
|
|
|
|
Result result = epmetUserOpenFeignClient.updateImage(formDTO); |
|
|
|
log.info("+++++++++++++++++++++++++++++++同步居民信息:" + result.toString()); |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
// 更新房屋的状态为租赁
|
|
|
@ -387,7 +388,8 @@ public class RentContractInfoServiceImpl extends BaseServiceImpl<RentContractInf |
|
|
|
IcHouseAddFormDTO formDTO = ConvertUtils.sourceToTarget(houseInfo.getData(), IcHouseAddFormDTO.class); |
|
|
|
formDTO.setRentFlag(NumConstant.ONE); |
|
|
|
formDTO.setHouseId(dto.getHomeId()); |
|
|
|
govOrgOpenFeignClient.houseUpdate(formDTO); |
|
|
|
Result result = govOrgOpenFeignClient.houseUpdate(formDTO); |
|
|
|
log.info("+++++++++++++++++++++++++++++++更新房屋的状态为租赁:" + result.toString()); |
|
|
|
} |
|
|
|
return new Result(); |
|
|
|
} |
|
|
|