Browse Source

查询 借阅详情

tags/24080901
PoffyZhang 1 year ago
parent
commit
6ddf6a0254
2 changed files with 9 additions and 0 deletions
  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 View File

@@ -556,6 +556,12 @@ public class ProjectFileManage {
vo.setApplyBorrowEmpPosUnitName(organization.getOrganizationName()); 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; return vo;
} }
} }

+ 3
- 0
pmapi/src/main/java/com/ningdatech/pmapi/filemanage/model/vo/ProjectApplyBorrowVO.java View File

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


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

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




Loading…
Cancel
Save