Merge branch 'dev'
This commit is contained in:
commit
819a5a3f6b
|
@ -214,7 +214,7 @@ public class ActTaskService extends BaseServiceImpl {
|
||||||
processVariable.putAll(task.getProcessVariables());
|
processVariable.putAll(task.getProcessVariables());
|
||||||
dto.setParams(processVariable);
|
dto.setParams(processVariable);
|
||||||
JSONObject jsonObject = JSON.parseObject(JSON.toJSONString(task.getProcessVariables().get(0)));
|
JSONObject jsonObject = JSON.parseObject(JSON.toJSONString(task.getProcessVariables().get(0)));
|
||||||
dto.setUserName(jsonObject.getString("user"));
|
dto.setUserName(jsonObject.containsKey("user") ? jsonObject.getString("user") : "");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue