fix:修复报告详情用户权限空指针问题
(报告上传流程没有产生createUserId导致)
This commit is contained in:
@@ -662,7 +662,7 @@ public class IReportServiceImpl extends ServiceImpl<ReportDao, ReportEntity>
|
|||||||
reportDetailVo.setLabelList(reportLabelIds);
|
reportDetailVo.setLabelList(reportLabelIds);
|
||||||
}
|
}
|
||||||
//设置当前用户受否有下载权限
|
//设置当前用户受否有下载权限
|
||||||
if (reportDetailVo.getCreateUserId().equals(UserUtils.getUserId())) {
|
if (UserUtils.getUserId().equals(reportDetailVo.getCreateUserId())) {
|
||||||
reportDetailVo.setDownPower(1);
|
reportDetailVo.setDownPower(1);
|
||||||
} else {
|
} else {
|
||||||
reportDetailVo.setDownPower(0);
|
reportDetailVo.setDownPower(0);
|
||||||
|
|||||||
Reference in New Issue
Block a user