ADF:动态控制VO数据源

来源:互联网 发布:汪涵救场 知乎 编辑:程序博客网 时间:2024/06/10 21:02
1. 在VM上,获取VO实例,做过滤操作,par_type为函数参数 CustomViewImpl expense = this.getExpsExpenseItemTreeLovVO1(); expense.setNamedWhereClauseParam("testType",par_type); expense.executeQuery();2. 参数的赋值,可以通过以下方式获取 Map param = op.getParamsMap(); param.put("par_type",mCode);
原创粉丝点击