finereport报表调用oracle的存储过程

最近几天一直在作FR报表,由于业务算法复杂,就用了存储过程,找了好几天没有找到相关资料今天终于作好了,发出来与你们看一下共同提升。算法

实际例:http://bbs.finereport.com/?fromuid=131ide

 

存储过程代码:ui

CREATE OR REPLACE PACKAGE test1 AS
TYPE Test_CURSOR IS REF CURSOR;
END test1;get


create or replace procedure p_test1(pct out test1.Test_CURSOR)
as
begin
  OPEN pct FOR select * from dl.v_dl_qilgtz;
end;it

 

FR的调用方式:mui

{call DL.P_TEST1(?)}class

相关文章
相关标签/搜索