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[] {})
原文:http://www.cnblogs.com/stono/p/4381182.html