请问哪个大狭知道java调用oracle存储过程能否加查询条件!
select * from where .. 比如上面的where 里的条件以下是我的java调用存储过程的代码,我想再加上查询条件,过滤下结果,谢谢大狭了
                          CallableStatement cstmt = null;
ResultSet rs = null;


String callSql = "{call proc_paylate_custom(?,?,?)}";
cstmt = this.getSession().connection().prepareCall(callSql);


cstmt.setString(1, insnum);
cstmt.setString(2, insuresortid);

//返回结果集合
cstmt.registerOutParameter(3, oracle.jdbc.OracleTypes.CURSOR);

cstmt.execute();

rs = (ResultSet) cstmt.getObject(3);