浏览代码

查询 借阅详情

master
PoffyZhang 1年前
父节点
当前提交
6ddf6a0254
共有 2 个文件被更改,包括 9 次插入0 次删除
  1. +6
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/filemanage/manage/ProjectFileManage.java
  2. +3
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/filemanage/model/vo/ProjectApplyBorrowVO.java

+ 6
- 0
pmapi/src/main/java/com/ningdatech/pmapi/filemanage/manage/ProjectFileManage.java 查看文件

@@ -556,6 +556,12 @@ public class ProjectFileManage {
vo.setApplyBorrowEmpPosUnitName(organization.getOrganizationName());
}
}
if(Objects.nonNull(vo.getProjectId())){
Project project = projectService.getById(vo.getProjectId());
if(Objects.nonNull(project)){
vo.setProjectName(project.getProjectName());
}
}
return vo;
}
}

+ 3
- 0
pmapi/src/main/java/com/ningdatech/pmapi/filemanage/model/vo/ProjectApplyBorrowVO.java 查看文件

@@ -27,6 +27,9 @@ public class ProjectApplyBorrowVO implements Serializable {
@ApiModelProperty("借阅项目ID")
private Long projectId;

@ApiModelProperty("借阅项目名")
private String projectName;

@ApiModelProperty("申请借阅员工code")
private String applyBorrowEmployeeCode;



正在加载...
取消
保存