|

楼主 |
发表于 2013-7-30 10:17:22
|
显示全部楼层
ecoolper 发表于 2013-7-30 10:13 
把你的sql语句、java代码贴出来;
ksql的别名和sql语句一样,用as
ksql..
select QYJBXX.JJHY_SP as 名称, QYJBXX.ZZJGDM_WGH as 组织机构代码, QYJBXX.FRDB_WGH as 法人, QYJBXX.LXRDH_WGH as 联系电话, QYJBXX.QYDZ_WGH as 地址 from QYJBXX QYJBXX where rownum <= 30
java代码:
public static Table gridSelect(String sql){
Table table = KSQL.select(sql, null, "/report/SJKB/data", null);
return table;
}
|
|