Merge branch 'feature/REQ-5965' into dev

This commit is contained in:
wangli 2025-11-13 15:51:50 +08:00
commit d274905609

View File

@ -1924,6 +1924,9 @@ public class BpmnProcessInstanceServiceImpl implements BpmnProcessInstanceServic
}
HistoricVariableInstance historicVariableInstance = historyService.createHistoricVariableInstanceQuery().processInstanceId(processInstanceId)
.variableName(SIGN_BIZ_CUSTOM_DOCS).singleResult();
if (Objects.isNull(historicVariableInstance)) {
return Collections.emptyList();
}
List<CustomDocDTO> bizCustomDocs = Optional.ofNullable((List<CustomDocDTO>) historicVariableInstance.getValue())
.orElse(Collections.emptyList());