This commit is contained in:
wangliwen 2022-05-17 15:24:57 +08:00
parent d07326244e
commit 469cc7fac7
1 changed files with 1 additions and 1 deletions

View File

@ -323,7 +323,7 @@ public class ActHistoryService {
dto.setOwner(task.getOwner()); dto.setOwner(task.getOwner());
dto.setCreateTime(task.getCreateTime()); dto.setCreateTime(task.getCreateTime());
dto.setParams(task.getProcessVariables()); dto.setParams(task.getProcessVariables());
if (dto.getParams() != null && dto.getParams().containsKey("backToFirst")) { if (dto.getParams() != null && dto.getParams().containsKey("backToFirst") && dto.getParams().get("backToFirst") != null) {
dto.setBackToFirst(Boolean.valueOf(dto.getParams().get("backToFirst").toString())); dto.setBackToFirst(Boolean.valueOf(dto.getParams().get("backToFirst").toString()));
} }
} }