/*  creator：齐博旭
请注意数据库属于系统平台：dbkey="sys.meta"
示例：<SqlScript dbkey="sys.meta" Separator=";" Type="KSQL">preinsdata/kd_X.X.X_fcs_meta_opbizrule.sql</SqlScript>
启用操作服务中黑名单的保存提交审核操作删除后，给付款处理加一个审核
*********************************************************************
*/

delete from t_meta_opbizrulesetentry me
where me.fid in (select ms.fid from t_meta_opbizruleset ms where ms.fobjecttypeid in('cas_paybill')
and ms.fopbizrule = 'PayAccess_hide') and me.foperationkey in ('audit');

delete from t_meta_opbizrulesetentry me
where me.fid in (select ms.fid from t_meta_opbizruleset ms where ms.fobjecttypeid in('bei_bankagentpay','bei_bankpaybill','bei_banktransdownbill','bei_banktransupbill','cas_agentpaybill','cas_paybill','fca_transdownbill','fca_transupbill','ifm_transhandlebill')
and ms.fopbizrule = 'PayAccess_hide') and me.foperationkey in ('save','submit','delete');


DELETE FROM T_META_OPBIZRULESETENTRY WHERE FENTRYID = 1728918412069176321;
INSERT INTO T_META_OPBIZRULESETENTRY(FID,FOPERATIONKEY,FENTRYID,FSEQ) VALUES (1728918412069052416,'audit',1728918412069176321,1);

DELETE FROM T_META_OPBIZRULESET WHERE FID = 1728918412069052416;
INSERT INTO T_META_OPBIZRULESET(FID,FOPBIZRULE,FENABLED,FOBJECTTYPEID) VALUES (1728918412069052416,'PayAccess_hide',' ','cas_paybill');


