Loading

ejb ql 返回object

String sqlStr="select t.car_kind,count(t) from table1 t where t.jb_date='"+jb_date+"' and t.state='"+state+"' and t.sbzt='1' and t.bureau_code='"+ljdm+"' group by t.car_kind";



List<Object[]> ob = DdmlCommServiceFactory.getInstance()
.getCommonRemote().getListByEjbQl(sqlStr, new String[] {},
new Object[] {})
//获取值的方式
String.valueOf(ob.get(i)[1]);

 

posted @ 2015-03-31 16:00  stono  阅读(197)  评论(0编辑  收藏  举报