Merge branch 'dev'

This commit is contained in:
wangliwen 2022-08-02 14:50:16 +08:00
commit 819a5a3f6b
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;
}