瀏覽代碼

延期申请列表修改

tags/24080901
CMM 1 年之前
父節點
當前提交
a4b5f8e5bd
共有 1 個文件被更改,包括 4 次插入1 次删除
  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 查看文件

@@ -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…
取消
儲存