[修改] 报告流程权限私有化

This commit is contained in:
bupengxiang
2023-05-18 10:27:01 +08:00
parent 55cfac6509
commit e4ee26b176
2 changed files with 2 additions and 2 deletions
@@ -452,7 +452,7 @@ public class IReportServiceImpl extends ServiceImpl<ReportDao, ReportEntity>
idSet.add("默认搜索条件");
}
}
vo.setUsid(UserUtils.getUserId());
IPage<ReportVo> list = reportDao.page(page, vo, idSet);
//设置权限
@@ -114,7 +114,7 @@
downloadCount.download AS download,
AVG( trur.user_rating ) AS reportRating,
IF(bpn.id is null,1,
IF(bpn.SUBMIT_STATUS = 1,0,1)
IF(bpn.SUBMIT_STATUS = 1 and bpn.CREAT_USER = #{pageVO.usid} ,0,1)
) as isAct
FROM
TT_REPORT_MANAGE eo