|
|
@@ -87,6 +87,10 @@ public class JyUserPlatformServiceImpl extends ServiceImpl<IJyUserPlatformMapper
|
|
|
public Object pageList(JyUserPlatformParam param) {
|
|
|
SysUser byId = sysUserService.getById(Long.valueOf(StpUtil.getLoginId().toString()));
|
|
|
if(byId.getRoleId() != 1L ){
|
|
|
+ Integer loginPlatformId = getLoginPlatformId();
|
|
|
+ if(loginPlatformId == null){
|
|
|
+ return PageInfo.PageInfo(new Page<>(param.getPageNum(),param.getPageSize()));
|
|
|
+ }
|
|
|
param.setPlatformId(getLoginPlatformId());
|
|
|
}
|
|
|
Page<JyUserPlatformVo> page = this.getBaseMapper().pageList(new Page<>(param.getPageNum(),param.getPageSize()),param);
|