feat(REQ-4586) - 调整审批人冗余相信内容,防止消费时出现 NPE
This commit is contained in:
parent
439ef6ef4d
commit
f8678ad02a
@ -563,6 +563,8 @@ public class BpmnProcessInstanceController extends BasicPopulateAvatarController
|
||||
|
||||
if (Objects.isNull(dto.getStatus())) {
|
||||
query.setStatus(BpmnProcessInstanceResultEnum.PROCESSING.getStatus());
|
||||
} else {
|
||||
query.setStatus(dto.getStatus().getStatus());
|
||||
}
|
||||
List<ExtAxProcessLog> extAxProcessLogs = extAxProcessLogService.genericQuery(query);
|
||||
return success(ListUtils.emptyIfNull(extAxProcessLogs).stream().map(i -> {
|
||||
|
||||
@ -190,8 +190,9 @@ public class TaskEntityEventHandle implements EntityEventHandle<TaskEntity> {
|
||||
.map(i -> JobInfo.builder()
|
||||
.jobCode(i.getJob().getCode())
|
||||
.jobName(i.getJob().getName())
|
||||
.build()).collect(Collectors.toList()))
|
||||
.build() : null)
|
||||
.build())
|
||||
.collect(Collectors.toList()))
|
||||
.build() : OrgSnapshotInfo.builder().jobInfos(Collections.emptyList()).build())
|
||||
.build();
|
||||
|
||||
FlowElement flowElement = ProcessDefinitionUtil.getBpmnModel(taskEntity.getProcessDefinitionId()).getFlowElement(taskEntity.getTaskDefinitionKey());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user