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