Browse Source

延期申请列表修改

tags/24080901
CMM 1 year ago
parent
commit
a4b5f8e5bd
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/manage/DelayedApplyManage.java

+ 4
- 1
pmapi/src/main/java/com/ningdatech/pmapi/projectdeclared/manage/DelayedApplyManage.java View File

@@ -139,7 +139,10 @@ public class DelayedApplyManage {
Integer.valueOf(w.getBuildCycle()) : null);
item.setPlanAcceptanceTime(w.getPlanAcceptanceTime());
// 判断当前项目是否已经开启了延期申请并且没有审批完成
String instCode = w.getInstCode();
ProjectDelayApply delayApply = projectDelayApplyService.getOne(Wrappers.lambdaQuery(ProjectDelayApply.class)
.eq(ProjectDelayApply::getProjectId, w.getId())
.last("limit 1"));
String instCode = delayApply.getInstanceId();
// 获取流程通过后的流程实例
HistoricProcessInstance newInstance = historyService.createHistoricProcessInstanceQuery()
.processInstanceId(instCode)


Loading…
Cancel
Save