feat(REQ-3581) - 调整用印申请审批的监听处理
This commit is contained in:
parent
fc06c934e3
commit
90fb24ad8d
@ -101,6 +101,7 @@ public class ProcessInstanceOfEssAllEventHandler extends BasicLogSupport impleme
|
||||
.build());
|
||||
essInstances.forEach(e -> {
|
||||
String approvalId = JSON.parseObject(e.getContent(), RelationEssContextDto.class).getApprovalId();
|
||||
e.setUpdateBy(operatorId);
|
||||
if (Objects.equals(approvalId, dto.getProcessInstanceId())) {
|
||||
switch (dto.getType()) {
|
||||
// case PROCESS_INSTANCE_COMPLETED:
|
||||
@ -118,9 +119,8 @@ public class ProcessInstanceOfEssAllEventHandler extends BasicLogSupport impleme
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
e.setUpdateBy(operatorId);
|
||||
changeRecordRelationService.updateById(e);
|
||||
}
|
||||
log.info("change success process instance of ess : {}", dto.getProcessInstanceId());
|
||||
});
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user