|
楼主 |
发表于 2013-4-18 13:32:25
|
显示全部楼层
jishuang 发表于 2013-4-18 13:26
action对应的java中是否设置了rowid
如下:
这个要怎么设置?- public static Table readerAccountPayable(String ksql,Map variables,String dataModel,String fnModel,String param){
- try {
-
- String sql="select erp_Account_Payable.* from erp_Account_Payable erp_Account_Payable where erp_Account_Payable.fAccountPayableId = '"+param+"'";
- System.out.println(sql);
- Table table= KSQL.select(sql, null, "/OA/erp/data", null);
-
- table.getProperties().put(Table.PROP_NAME_ROWID, "erp_Account_Payable");
- return table;
- } catch (Exception e) {
- throw new RuntimeException(e);
- // TODO: handle exception
- }
- }
复制代码 这是我的代码 |
|