mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-09-29 22:56:40 +08:00
update 调整流程实例查询
This commit is contained in:
parent
5912983704
commit
e26982f001
@ -542,7 +542,9 @@ public class ActProcessInstanceServiceImpl implements IActProcessInstanceService
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public boolean taskUrging(TaskUrgingBo taskUrgingBo) {
|
||||
try {
|
||||
ProcessInstance processInstance = runtimeService.createProcessInstanceQuery().processInstanceId(taskUrgingBo.getProcessInstanceId()).singleResult();
|
||||
ProcessInstance processInstance = runtimeService.createProcessInstanceQuery()
|
||||
.processInstanceId(taskUrgingBo.getProcessInstanceId())
|
||||
.processInstanceTenantId(TenantHelper.getTenantId()).singleResult();
|
||||
if (processInstance == null) {
|
||||
throw new ServiceException("任务已结束!");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user