|
楼主 |
发表于 2019-1-18 11:58:30
|
显示全部楼层
这是我的actionpublic static Table newAction_0(String concept,String idColumn,String select,String from,String condition,List<DataPermission> range,String filter,Boolean distinct,Integer offset,Integer limit,String columns,String orderBy,String aggregate,String aggregateColumns,Map<String,Object> variables,String dataModel,String fnModel){
String ksql = "select SO_KHZL.fSXAP from SO_KHZL SO_KHZL ";//需要查询数据的ksql
System.out.println(condition);
if (Utils.isNotEmptyString(condition)) {
ksql = ksql + " where " + condition;
}
System.out.println(ksql);
Table table = KSQL.select(ksql, variables, "/songhuorenwu/songhuo/data", null);//调用平台提供的API执行sql,并返回table
return table;
data设置如图
帮忙看看,改成一致了,但是还是一样的
|
|