我有oracle功能
create or replace function payu_pool_wallet_report(sys_account_id in number) return sys_refcursor as
p_recordset sys_refcursor;
begin
open p_recordset for
select status
,reconciliation
,count(*) as no_of_transactions
,sum(ybl_commission) as commission
,sum(merchant_payable) as merchant_payable
,sum(amount) as total_amount
from fund_transfers
where system_account_id = sys_account_id
and neutralize = 0
group by status
,reconciliation
order by status desc
,reconciliation desc;
return p_recordset;
end;
在创建时工作正常。但是在一段时间或第二天之后,我开始将错误的“功能置于无效状态”