|
|
@ -170,9 +170,8 @@ public class RentContractInfoServiceImpl extends BaseServiceImpl<RentContractInf |
|
|
|
Map<String, Object> tenantParams = new HashMap<>(4); |
|
|
|
tenantParams.put("contractId", contractDto.getId()); |
|
|
|
List<RentTenantInfoDTO> tenantList = rentTenantInfoService.list(tenantParams); |
|
|
|
contractDto.setTenantList(tenantList); |
|
|
|
|
|
|
|
contractDto.getTenantList().forEach(tenant -> { |
|
|
|
tenantList.forEach(tenant -> { |
|
|
|
RentTenantFormDTO formDTO = new RentTenantFormDTO(); |
|
|
|
List<IcResiUserAttachmentDTO> images = new ArrayList<>(); |
|
|
|
formDTO.setCustomerId(loginUserUtil.getLoginUserCustomerId()); |
|
|
@ -184,9 +183,8 @@ public class RentContractInfoServiceImpl extends BaseServiceImpl<RentContractInf |
|
|
|
tenantParams.put("referenceId", tenant.getId()); |
|
|
|
tenantParams.put("fileType", NumConstant.ZERO_STR); |
|
|
|
List<RentContractFileDTO> imgList = rentContractFileService.list(imgParams); |
|
|
|
tenant.setImgList(imgList); |
|
|
|
|
|
|
|
tenant.getImgList().forEach(img -> { |
|
|
|
imgList.forEach(img -> { |
|
|
|
// 更新基础库的人员头像
|
|
|
|
IcResiUserAttachmentDTO image = new IcResiUserAttachmentDTO(); |
|
|
|
image.setAttachmentUrl(img.getFileUrl()); |
|
|
|