SQLQuery sqlQuery = getSession().createSQLQuery(sql);
List<Object[]> objs = sqlQuery.list();
if (objs.size() == 0 || objs == null) {
return null;
}
List<SendMessageVo> list = new LinkedList<SendMessageVo>();
for (int i = 0; i < objs.size(); i++) {
Object[] object = (Object[]) objs.get(i);
SendMessageVo sendMessageVo = new SendMessageVo();
int j = 0;
}
List<Object[]> objs = sqlQuery.list();
if (objs.size() == 0 || objs == null) {
return null;
}
List<SendMessageVo> list = new LinkedList<SendMessageVo>();
for (int i = 0; i < objs.size(); i++) {
Object[] object = (Object[]) objs.get(i);
SendMessageVo sendMessageVo = new SendMessageVo();
int j = 0;
}