--付款单源单反写服务接口配置
delete from t_cas_wbconfigentry where FID in ('562790960635877376','562791134867265536','589809311715185664','589810715498402816','589811181720458240');

INSERT INTO t_cas_wbconfigentry(FID,FOPERATION,FENTRYID,FSEQ,FSERVICE) VALUES (562790960635877376,' ',562790960644265985,1,'fi.er.CasPayBillSynService'); 

INSERT INTO t_cas_wbconfigentry(FID,FOPERATION,FENTRYID,FSEQ,FSERVICE) VALUES (562791134867265536,' ',562791134875654144,1,'fi.er.CasPayBillSynService'); 

INSERT INTO t_cas_wbconfigentry(FID,FOPERATION,FENTRYID,FSEQ,FSERVICE) VALUES (589809311715185664,' ',589809311715185667,1,'fi.er.CasPayBillSynService'); 

INSERT INTO t_cas_wbconfigentry(FID,FOPERATION,FENTRYID,FSEQ,FSERVICE) VALUES (589810715498402816,' ',589810715498402819,1,'fi.er.CasPayBillSynService'); 

INSERT INTO t_cas_wbconfigentry(FID,FOPERATION,FENTRYID,FSEQ,FSERVICE) VALUES (589811181720458240,' ',589811181720458242,1,'fi.er.CasPayBillSynService'); 


-- 付款申请至付款单反写配置
DELETE FROM t_cas_wbconfig WHERE FID = 734484179034645504;
INSERT INTO t_cas_wbconfig(FID,FCREATETIME,FMODIFIERID,FENABLE,FTARGETENTITY,FMODIFYTIME,FMASTERID,FSTATUS,FCREATORID,FSOURCEENTITY,FNUMBER) VALUES (734484179034645504,{ts'2019-10-11  09:27:59'},206742,'1','cas_paybill',{ts'2019-10-11  09:29:53'},734484179034645504,'C',206742,'er_publicreimbursebill','WBConfig-011'); 
DELETE FROM t_cas_wbconfig_L WHERE FPKID = '0=6U6MTSD6Q8';
INSERT INTO t_cas_wbconfig_L(FID,FPKID,FLOCALEID,FNAME) VALUES (734484179034645504,'0=6U6MTSD6Q8','zh_CN','付款单反写对公报销单配置'); 
DELETE FROM t_cas_wbconfigentry WHERE FENTRYID = 734484179638625280;
INSERT INTO t_cas_wbconfigentry(FID,FOPERATION,FENTRYID,FSEQ,FSERVICE) VALUES (734484179034645504,'RENOTE',734484179638625280,1,'fi.er.CasPayBillSynService'); 


-- 付款单反写对应付配置
DELETE FROM t_cas_wbconfig WHERE FID = 734682846286960640;
INSERT INTO t_cas_wbconfig(FID,FCREATETIME,FMODIFIERID,FENABLE,FTARGETENTITY,FMODIFYTIME,FMASTERID,FSTATUS,FCREATORID,FSOURCEENTITY,FNUMBER) VALUES (734682846286960640,{ts'2019-10-11  15:53:57'},13466739,'1','cas_paybill',{ts'2019-10-11  16:06:33'},734682846286960640,'C',13466739,'ap_settle','WBConfig-012'); 
DELETE FROM t_cas_wbconfig_L WHERE FPKID = '0=7SAAD201NI';
INSERT INTO t_cas_wbconfig_L(FID,FPKID,FLOCALEID,FNAME) VALUES (734682846286960640,'0=7SAAD201NI','zh_CN','付款单反写对应付配置'); 
DELETE FROM t_cas_wbconfig_L WHERE FPKID = '0=7SAAD201NJ';
INSERT INTO t_cas_wbconfig_L(FID,FPKID,FLOCALEID,FNAME) VALUES (734682846286960640,'0=7SAAD201NJ','zh_TW','付款單反寫對應付配置'); 
DELETE FROM t_cas_wbconfigentry WHERE FENTRYID = 734682846404401152;
INSERT INTO t_cas_wbconfigentry(FID,FOPERATION,FENTRYID,FSEQ,FSERVICE) VALUES (734682846286960640,' ',734682846404401152,1,'fi.ap.PayBillListener'); 


-- 付款申请至付款单反写配置
DELETE FROM t_cas_wbconfig WHERE FID = '693375000039670784';
INSERT INTO t_cas_wbconfig(FID, fnumber, fstatus, fcreatorid, fmodifierid, fenable, fcreatetime, fmodifytime, fmasterid, ftargetentity, fsourceentity ) VALUES('693375000039670784', 'WBConfig-011', 'C', '1', '1', '1', {ts'2018-08-08 18:08:08'}, {ts'2018-08-08 18:08:08'}, '693375000039670784', 'cas_paybill', 'ap_payapply' );
DELETE FROM t_cas_wbconfig_L WHERE FID = '693375000039670784';
INSERT INTO t_cas_wbconfig_L(FPKID, FID, FLocaleID, fname ) VALUES('054W3R4I+P/O', '693375000039670784', 'zh_CN', '付款单反写付款申请单配置' );
DELETE FROM t_cas_wbconfigentry WHERE FID = '693375000039670784';
INSERT INTO t_cas_wbconfigentry(FID, FEntryId, FSeq, foperation, fservice ) VALUES('693375000039670784', '693375000039670785', 1, 'pay', 'fi.ap.payO2OService.syncBill' );
INSERT INTO t_cas_wbconfigentry(FID, FEntryId, FSeq, foperation, fservice ) VALUES('693375000039670784', '693375000039670786', 2, 'cancelPay', 'fi.ap.payO2OService.syncBill' );
