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]);
相关文章
- Python:使用内建函数返回的迭代对象 ( object at....)
- ajax返回object Object解决方法
- 关于js返回[object HTMLInputElement]问题的解决
- JavaScript中遇到“null instanceof Object ”返回值为false的解释
- Hibernate中关于HQL查询返回List
- TestNG中的DataProvider返回Iterator
- typeof操作符,返回数据类型Array.isArray()、Object.prototype.toString.call()
- 后端返回类型是一个object具体类,前端小程序如何提取类中的私有变量
- 后端返回类型是一个object具体类,前端小程序如何提取类中的私有变量
- 深入分析使用mysql_fetch_object()以对象的形式返回查询结果