feat(REQ-5965) - 调整同意审批时记录审批人信息时 NPE 的异常
This commit is contained in:
parent
3b1c1b3ba8
commit
b85c2ac097
@ -210,6 +210,9 @@ public class CustomApproveTaskCmd extends AbstractCommand<Void> implements Seria
|
||||
List<AttachmentDTO> attachmentList,
|
||||
String advice,
|
||||
BpmnTaskDelegateAssigner approver) {
|
||||
if (Objects.isNull(approver)) {
|
||||
return;
|
||||
}
|
||||
List<SignatureDTO> signatures = runtimeService.getVariable(task.getProcessInstanceId(), SIGNATURE_COLLECTION, List.class);
|
||||
if (Objects.isNull(signatures)) {
|
||||
signatures = new ArrayList<>();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user