|
|
@ -38,7 +38,7 @@ public class ProjectRecordServiceImpl extends ServiceImpl<ProjectRecordDao, Proj |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public PageUtils queryPage(Integer page, Integer size, Integer userId) { |
|
|
|
public PageUtils queryPage(Integer page, Integer size, Integer userId, Integer projectPermissions) { |
|
|
|
|
|
|
|
|
|
|
|
/*GetByUserRecordResp projectRecord = new GetByUserRecordResp(); |
|
|
|
/*GetByUserRecordResp projectRecord = new GetByUserRecordResp(); |
|
|
|
projectRecord.setUserId(userId);*/ |
|
|
|
projectRecord.setUserId(userId);*/ |
|
|
@ -46,7 +46,7 @@ public class ProjectRecordServiceImpl extends ServiceImpl<ProjectRecordDao, Proj |
|
|
|
//分页对象
|
|
|
|
//分页对象
|
|
|
|
Page<T> page1 = new Page<>(page, size); |
|
|
|
Page<T> page1 = new Page<>(page, size); |
|
|
|
|
|
|
|
|
|
|
|
IPage<GetByUserRecordResp> projectRecordVos = this.baseMapper.getByUserRecord(page1, userId); |
|
|
|
IPage<GetByUserRecordResp> projectRecordVos = this.baseMapper.getByUserRecord(page1, userId, projectPermissions); |
|
|
|
|
|
|
|
|
|
|
|
PageUtils questionsPage = new PageUtils(projectRecordVos); |
|
|
|
PageUtils questionsPage = new PageUtils(projectRecordVos); |
|
|
|
|
|
|
|
|
|
|
|