REQ-3769 修复NPE问题

This commit is contained in:
yangqicheng 2025-04-09 10:07:44 +08:00
parent a0663b84a4
commit 52477ae58d

View File

@ -623,7 +623,7 @@ public class BpmnProcessTaskServiceImpl implements BpmnProcessTaskService {
@Transactional(rollbackFor = Exception.class)
public void rejectTask(BpmnTaskAuditDTO dto) {
CommandExecutor commandExecutor = processEngineConfiguration.getCommandExecutor();
if (dto.getAsync()) {
if (Boolean.TRUE.equals(dto.getAsync())) {
commandExecutor.execute(new CustomRejectionTaskAsyncCmd(dto));
} else {
commandExecutor.execute(new CustomRejectionTaskCmd(dto, extAxHiTaskInstService));