Kaynağa Gözat

延期申请列表修改

tags/24080901
CMM 1 yıl önce
ebeveyn
işleme
a4b5f8e5bd
1 değiştirilmiş dosya ile 4 ekleme ve 1 silme
  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 Dosyayı Görüntüle

@@ -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)


Yükleniyor…
İptal
Kaydet