mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-17 17:15:28 +08:00
fix 修复 请求流程删除失败问题
This commit is contained in:
parent
126380e9f5
commit
a5b65da892
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user