日期:2014-05-20 浏览次数:20909 次
.... hql.append(""); hql.append("from "); hql.append("IbKeiyakuJouhouPdtoImpl B00A03DB10010, "); hql.append("KokyakuJouhouPdtoImpl B00A03DB10020, "); hql.append("EmeruadoresuJouhouPdtoImpl B00A03DB10040_BURAUZA, "); hql.append("EmeruadoresuJouhouPdtoImpl B00A03DB10040_MOBAIRU "); hql.append("where "); .... result = findByHql(hql.toString(), args.toArray()); .... for (Iterator it = result.iterator(); it.hasNext(); ) { Object[] obj = (Object[]) it.next(); Wdto returnDto = new Wdto(); returnDto.setAdto(obj[0]) returnDto.setBdto(obj[1]) returnDto.setCdto(obj[2]) returnDto.setDdto(obj[3]) } .....