Merge branch 'master' into docker_package
This commit is contained in:
commit
f4a36e8a22
|
@ -213,7 +213,8 @@ public class ActTaskService extends BaseServiceImpl {
|
|||
if (task.getProcessVariables().containsKey("tAbilityApplicationDTOList")) {
|
||||
processVariable.putAll(task.getProcessVariables());
|
||||
dto.setParams(processVariable);
|
||||
JSONObject jsonObject = JSON.parseObject(JSON.toJSONString(task.getProcessVariables().get(0)));
|
||||
List<TAbilityApplicationDTO> dtoList = (List<TAbilityApplicationDTO>) task.getProcessVariables().get("tAbilityApplicationDTOList");
|
||||
JSONObject jsonObject = JSON.parseObject(JSON.toJSONString(dtoList.get(0)));
|
||||
if (jsonObject != null) {
|
||||
dto.setUserName(jsonObject.containsKey("user") ? jsonObject.getString("user") : "");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue