REQ-3769 修复NPE问题
This commit is contained in:
parent
a0663b84a4
commit
52477ae58d
@ -623,7 +623,7 @@ public class BpmnProcessTaskServiceImpl implements BpmnProcessTaskService {
|
|||||||
@Transactional(rollbackFor = Exception.class)
|
@Transactional(rollbackFor = Exception.class)
|
||||||
public void rejectTask(BpmnTaskAuditDTO dto) {
|
public void rejectTask(BpmnTaskAuditDTO dto) {
|
||||||
CommandExecutor commandExecutor = processEngineConfiguration.getCommandExecutor();
|
CommandExecutor commandExecutor = processEngineConfiguration.getCommandExecutor();
|
||||||
if (dto.getAsync()) {
|
if (Boolean.TRUE.equals(dto.getAsync())) {
|
||||||
commandExecutor.execute(new CustomRejectionTaskAsyncCmd(dto));
|
commandExecutor.execute(new CustomRejectionTaskAsyncCmd(dto));
|
||||||
} else {
|
} else {
|
||||||
commandExecutor.execute(new CustomRejectionTaskCmd(dto, extAxHiTaskInstService));
|
commandExecutor.execute(new CustomRejectionTaskCmd(dto, extAxHiTaskInstService));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user