fix 修复 请求流程删除失败问题
This commit is contained in:
+2
-1
@@ -197,8 +197,9 @@ public class TestLeaveServiceImpl implements ITestLeaveService {
|
|||||||
@Override
|
@Override
|
||||||
@Transactional(rollbackFor = Exception.class)
|
@Transactional(rollbackFor = Exception.class)
|
||||||
public Boolean deleteWithValidByIds(Collection<Long> ids) {
|
public Boolean deleteWithValidByIds(Collection<Long> ids) {
|
||||||
|
boolean deleted = leaveMapper.deleteByIds(ids) > 0;
|
||||||
workflowService.deleteInstance(StreamUtils.toList(ids, Convert::toStr));
|
workflowService.deleteInstance(StreamUtils.toList(ids, Convert::toStr));
|
||||||
return leaveMapper.deleteByIds(ids) > 0;
|
return deleted;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user