Merge branch 'master' into docker_package
This commit is contained in:
commit
4606a21ab3
|
@ -214,7 +214,9 @@ 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.containsKey("user") ? jsonObject.getString("user") : "");
|
||||
if (jsonObject != null) {
|
||||
dto.setUserName(jsonObject.containsKey("user") ? jsonObject.getString("user") : "");
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue