这个是java中的方法肯定不能在js中调用
bizData修改/BIZ/system/logic/code/dsrc/BizProcedure.java中的- public static Table query(String concept, String idColumn, String select, String from, String condition, List<DataPermission> range,
- String filter, Boolean distinct, int offset, int limit, String columns, String orderBy, String aggregate, String aggregateColumns,
- Map<String, Object> variables, String dataModel, String fnModel) {
- return BizData.query(concept, idColumn, select, from, condition, range, filter, distinct, offset, limit, columns, orderBy, aggregate,
- aggregateColumns, variables, dataModel, fnModel);
- }
复制代码
为
- public static Table query(String concept, String idColumn, String select, String from, String condition, List<DataPermission> range,
- String filter, Boolean distinct, int offset, int limit, String columns, String orderBy, String aggregate, String aggregateColumns,
- Map<String, Object> variables, String dataModel, String fnModel) {
- Table table = BizData.query(concept, idColumn, select, from, condition, range, filter, distinct, offset, limit, columns, orderBy, aggregate,
- aggregateColumns, variables, dataModel, fnModel);
- System.out.println(new com.justep.system.transform.Table2Row().transform(table,null).asXML());
- return table;
- }
复制代码 把/BIZ/system/logic/code/dsrc右键设置为源码路径,然后重启tomcat,再去运行功能,看控制台的输出
|