490e674d by xiaojie

【数据资产】

查询企业认证附件和领域
1 parent 63a25928
......@@ -328,15 +328,15 @@ public class EnterpriseChangeApproveServiceImpl implements EnterpriseChangeAppro
vo.setBeforeChangeList(enterpriseService.beforeChangeList(entity.getApproveGuid()));
// 查询附件信息
Map<String, List<EnterpriseAttachmentRSVO>> attachmentByEnterpriseGuids = enterpriseAttachmentService.getMapByEnterpriseGuids(Collections.singletonList(guid));
if (ObjectUtils.isNotEmpty(attachmentByEnterpriseGuids) && attachmentByEnterpriseGuids.containsKey(guid)) {
vo.setAttachmentRSVOS(attachmentByEnterpriseGuids.get(guid));
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<EnterpriseDomainRSVO>> domainByEnterpriseGuids = enterpriseDomainService.getMapByEnterpriseGuids(Collections.singletonList(guid));
if (ObjectUtils.isNotEmpty(domainByEnterpriseGuids) && domainByEnterpriseGuids.containsKey(guid)) {
vo.setDomainRSVOS(domainByEnterpriseGuids.get(guid));
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()));
}
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!