aeda5521 by xiaojie

【数据资产】

企业认证修改领域和附件信息
1 parent ffd4b80a
......@@ -404,15 +404,15 @@ public class EnterpriseChangeApproveServiceImpl implements EnterpriseChangeAppro
vo.setBeforeChangeList(enterpriseService.beforeChangeList(entity.getApproveGuid()));
// 查询附件信息
Map<String, List<EnterpriseAttachmentRSVO>> attachmentByEnterpriseGuids = enterpriseAttachmentService.getMapByEnterpriseGuids(Collections.singletonList(entity.getSourceGuid()));
if (ObjectUtils.isNotEmpty(attachmentByEnterpriseGuids) && attachmentByEnterpriseGuids.containsKey(entity.getSourceGuid())) {
vo.setAttachmentRSVOS(attachmentByEnterpriseGuids.get(entity.getSourceGuid()));
Map<String, List<EnterpriseAttachmentRSVO>> attachmentByEnterpriseGuids = enterpriseAttachmentService.getMapByEnterpriseGuids(Collections.singletonList(entity.getGuid()));
if (ObjectUtils.isNotEmpty(attachmentByEnterpriseGuids) && attachmentByEnterpriseGuids.containsKey(entity.getGuid())) {
vo.setAttachmentRSVOS(attachmentByEnterpriseGuids.get(entity.getGuid()));
}
// 查询领域信息
Map<String, List<EnterpriseDomainRSVO>> domainByEnterpriseGuids = enterpriseDomainService.getMapByEnterpriseGuids(Collections.singletonList(entity.getSourceGuid()));
if (ObjectUtils.isNotEmpty(domainByEnterpriseGuids) && domainByEnterpriseGuids.containsKey(entity.getSourceGuid())) {
vo.setDomainRSVOS(domainByEnterpriseGuids.get(entity.getSourceGuid()));
Map<String, List<EnterpriseDomainRSVO>> domainByEnterpriseGuids = enterpriseDomainService.getMapByEnterpriseGuids(Collections.singletonList(entity.getGuid()));
if (ObjectUtils.isNotEmpty(domainByEnterpriseGuids) && domainByEnterpriseGuids.containsKey(entity.getGuid())) {
vo.setDomainRSVOS(domainByEnterpriseGuids.get(entity.getGuid()));
}
return vo;
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!