[修改] 报告流程权限私有化
This commit is contained in:
@@ -452,7 +452,7 @@ public class IReportServiceImpl extends ServiceImpl<ReportDao, ReportEntity>
|
|||||||
idSet.add("默认搜索条件");
|
idSet.add("默认搜索条件");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
vo.setUsid(UserUtils.getUserId());
|
||||||
IPage<ReportVo> list = reportDao.page(page, vo, idSet);
|
IPage<ReportVo> list = reportDao.page(page, vo, idSet);
|
||||||
|
|
||||||
//设置权限
|
//设置权限
|
||||||
|
|||||||
@@ -114,7 +114,7 @@
|
|||||||
downloadCount.download AS download,
|
downloadCount.download AS download,
|
||||||
AVG( trur.user_rating ) AS reportRating,
|
AVG( trur.user_rating ) AS reportRating,
|
||||||
IF(bpn.id is null,1,
|
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
|
) as isAct
|
||||||
FROM
|
FROM
|
||||||
TT_REPORT_MANAGE eo
|
TT_REPORT_MANAGE eo
|
||||||
|
|||||||
Reference in New Issue
Block a user