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