|
|
@ -38,7 +38,7 @@ public class ProjectRecordServiceImpl extends ServiceImpl<ProjectRecordDao, Proj |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public PageUtils queryPage(Integer page, Integer size, Integer userId, Integer projectPermissions) { |
|
|
|
public PageUtils queryPage(Integer page, Integer size, Integer userId, Integer projectPermissions,Integer systemId) { |
|
|
|
|
|
|
|
|
|
|
|
/*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, projectPermissions); |
|
|
|
IPage<GetByUserRecordResp> projectRecordVos = this.baseMapper.getByUserRecord(page1, userId, projectPermissions,systemId); |
|
|
|
|
|
|
|
|
|
|
|
PageUtils questionsPage = new PageUtils(projectRecordVos); |
|
|
|
PageUtils questionsPage = new PageUtils(projectRecordVos); |
|
|
|
|
|
|
|
|
|
|
|