存储过程中调用存储过程
create or replace package body PF_Role_Pack is
procedure sp_GetPage_Role(pageSize_ in number, --每页大小
pageIndex_ in number, --数据页数,从1开始
RoleNname_ nvarchar2,
IsSys_ char,
IsUsed_ char,
numCount_ out number, --总记录数
MYRECORD_ out MYRECORDTYPE) is
strwhere_ nvarchar2(2000);
begin
pf_common_pack.sp_CommonPagination(pageSize => pageSize_,
page => pageIndex_,
tableName => 'PF_Role',
strWhere => strwhere_,
Orderby => 'RoleName',
numCount => numCount_,
v_cur => MYRECORD_);
end sp_GetPage_Role;
end PF_Role_Pack;