소스 검색

项目档案列表修改

tags/24080901
CMM 1 년 전
부모
커밋
27cd777ff3
1개의 변경된 파일11개의 추가작업 그리고 8개의 파일을 삭제
  1. +11
    -8
      pmapi/src/main/java/com/ningdatech/pmapi/filemanage/manage/ProjectFileManage.java

+ 11
- 8
pmapi/src/main/java/com/ningdatech/pmapi/filemanage/manage/ProjectFileManage.java 파일 보기

@@ -167,14 +167,17 @@ public class ProjectFileManage {
historyService.createHistoricProcessInstanceQuery().processInstanceId(instCode).singleResult();
ProjectInst projectInst = projectInstService
.getOne(Wrappers.lambdaQuery(ProjectInst.class).eq(ProjectInst::getInstCode, instCode));
Integer instType = projectInst.getInstType();
// 从申请借阅信息表中查询当前项目是否有当前登录用户发起的申请借阅审批流程
ProjectApplyBorrow applyBorrow = projectApplyBorrowService.getOne(Wrappers
.lambdaQuery(ProjectApplyBorrow.class).eq(ProjectApplyBorrow::getApplyBorrowEmployeeCode, employeeCode)
.eq(ProjectApplyBorrow::getProjectId, p.getId()).eq(ProjectApplyBorrow::getInstanceId, instCode));
if (Objects.nonNull(applyBorrow) && InstTypeEnum.APPLY_BORROW.getCode().equals(instType)
&& !HisProInsEndActId.END.equals(newInstance.getEndActivityId())) {
vo.setCanApplyBorrow(Boolean.FALSE);
// 推送省局联审的项目流程实例为EMPTY
if (Objects.nonNull(projectInst)) {
Integer instType = projectInst.getInstType();
// 从申请借阅信息表中查询当前项目是否有当前登录用户发起的申请借阅审批流程
ProjectApplyBorrow applyBorrow = projectApplyBorrowService.getOne(Wrappers
.lambdaQuery(ProjectApplyBorrow.class).eq(ProjectApplyBorrow::getApplyBorrowEmployeeCode, employeeCode)
.eq(ProjectApplyBorrow::getProjectId, p.getId()).eq(ProjectApplyBorrow::getInstanceId, instCode));
if (Objects.nonNull(applyBorrow) && InstTypeEnum.APPLY_BORROW.getCode().equals(instType)
&& !HisProInsEndActId.END.equals(newInstance.getEndActivityId())) {
vo.setCanApplyBorrow(Boolean.FALSE);
}
}
return vo;
}).collect(Collectors.toList());


불러오는 중...
취소
저장