更新
This commit is contained in:
@@ -40,6 +40,11 @@ public class EntrustAlterApplyServiceImpl extends ServiceImpl<EntrustAlterApplyM
|
||||
|
||||
@Override
|
||||
public IPage<EntrustAlterApplyVO> voPage(EntrustAlterApplyQuery query) {
|
||||
DLPUser user = SecurityUtils.getUser();
|
||||
if (!user.isStaff()) {
|
||||
query.setClientOrgId(user.getOrgId());
|
||||
query.setIsStaff(false);
|
||||
}
|
||||
IPage<EntrustAlterApplyVO> entrustAlterApplyVOPage = baseMapper.getEntrustAlterApplyVOPage(new Page<>(query.getCurrent(), query.getSize()), query);
|
||||
entrustAlterApplyVOPage.getRecords().forEach(e -> {
|
||||
fillVOInfo(e);
|
||||
|
||||
@@ -35,7 +35,6 @@
|
||||
</sql>
|
||||
|
||||
<select id="getEntrustAlterApplyVOPage"
|
||||
parameterType="digital.laboratory.platform.entrustment.query.EntrustAlterApplyQuery"
|
||||
resultType="digital.laboratory.platform.entrustment.vo.EntrustAlterApplyVO">
|
||||
<include refid="getVOSQL"/>
|
||||
<where>
|
||||
|
||||
Reference in New Issue
Block a user