Merge branch 'master' into docker_package

This commit is contained in:
wangliwen 2022-08-02 14:50:22 +08:00
commit 06fc61a4fe
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ public class ActTaskService extends BaseServiceImpl {
processVariable.putAll(task.getProcessVariables());
dto.setParams(processVariable);
JSONObject jsonObject = JSON.parseObject(JSON.toJSONString(task.getProcessVariables().get(0)));
dto.setUserName(jsonObject.getString("user"));
dto.setUserName(jsonObject.containsKey("user") ? jsonObject.getString("user") : "");
continue;
}