瀏覽代碼

数改vo

master
PoffyZhang 1 年之前
父節點
當前提交
bcc48ae847
共有 1 個檔案被更改,包括 3 行新增1 行删除
  1. +3
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/workbench/manage/WorkbenchManage.java

+ 3
- 1
pmapi/src/main/java/com/ningdatech/pmapi/workbench/manage/WorkbenchManage.java 查看文件

@@ -47,6 +47,8 @@ public class WorkbenchManage {

private final UserInfoHelper userInfoHelper;

private final ProjectLibManage projectLibManage;

public WorkbenchVO getWorkbenchData(Integer year){
UserInfoDetails userInfo = LoginUserUtil.loginUserDetail();
WorkbenchVO res = new WorkbenchVO();
@@ -69,7 +71,7 @@ public class WorkbenchManage {
projectListReq.setPageNumber(1);
projectListReq.setPageSize(5);
projectListReq.setProjectYear(year);
res.setProjects(declaredProjectManage.projectLibList(projectListReq).getRecords().stream().collect(Collectors.toList()));
res.setProjects(projectLibManage.projectLibListWithPermission(projectListReq).getRecords().stream().collect(Collectors.toList()));

//3.所有公告按类型分
NoticeListReq noticeListReq = new NoticeListReq();


Loading…
取消
儲存