|
|
|
@ -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); |
|
|
|
|