fix:修复报告详情标签显示问题
This commit is contained in:
@@ -659,10 +659,7 @@ public class IReportServiceImpl extends ServiceImpl<ReportDao, ReportEntity>
|
||||
List<ReportLabelEntity> reportLabelEntities = reportLabelDao.selectList(wrapper);
|
||||
if (CollectionUtils.isNotEmpty(reportLabelEntities)) {
|
||||
List<String> reportLabelIds = reportLabelEntities.stream().map(ReportLabelEntity::getLabelId).collect(Collectors.toList());
|
||||
reportDetailVo.setLabelIds(reportLabelIds);
|
||||
List<TreeLabelEntity> labelEntities = iTreeLabelService.query().in("id", reportLabelIds).list();
|
||||
List<String> labels = labelEntities.stream().map(TreeLabelEntity::getLabel).collect(Collectors.toList());
|
||||
reportDetailVo.setLabelList(labels);
|
||||
reportDetailVo.setLabelList(reportLabelIds);
|
||||
}
|
||||
//设置当前用户受否有下载权限
|
||||
if (reportDetailVo.getCreateUserId().equals(UserUtils.getUserId())) {
|
||||
|
||||
Reference in New Issue
Block a user