objectParamWhere.add(parameter.toString());
List<CommentImpl> commentImplList = new ArrayList<CommentImpl>();
for (Map<String, Object> dataMap : dataObj) {
CommentImpl commentImpl = new CommentImpl();
for (String dataKey : dataMap.keySet()) {
if (dataKey.equals("ID")) {
commentImpl.setId(StringUtil.getString(dataMap.get(dataKey)));
}
if (dataKey.equals("TYPE")) {
commentImpl.setType(StringUtil.getString(dataMap.get(dataKey)));
}
if (dataKey.equals("TIME")) {
commentImpl.setTime(StringUtil.getDate(dataMap.get(dataKey)));
}
if (dataKey.equals("USER_ID")) {
commentImpl.setUserId(StringUtil.getString(dataMap.get(dataKey)));
}
if (dataKey.equals("TASKINSTANCE_ID")) {
commentImpl.setTaskId(StringUtil.getString(dataMap.get(dataKey)));
}
if (dataKey.equals("PROCESSINSTANCE_ID")) {
commentImpl.setProcessInstanceId(StringUtil.getString(dataMap.get(dataKey)));
}
if (dataKey.equals("ACTION")) {
commentImpl.setAction(StringUtil.getString(dataMap.get(dataKey)));
}
if (dataKey.equals("MESSAGE")) {
commentImpl.setMessage(StringUtil.getString(dataMap.get(dataKey)));
}
if (dataKey.equals("FULL_MSG")) {
commentImpl.setFullMessage(StringUtil.getString(dataMap.get(dataKey)));
}
}
commentImplList.add(commentImpl);
}