-- API服务 注册：开票单批量保存
IF NOT EXISTS (SELECT 1 FROM T_OPEN_APISERVICE WHERE FID = '949962495244633088')
INSERT INTO T_OPEN_APISERVICE (FID, FNUMBER, FCREATORID, FCREATETIME, FMODIFIERID, FMODIFYTIME, FENABLE, FDISABLERID, FDISABLEDATE, FMESSAGETYPE, FBIZOBJECT, FAPPID, FSTATUS, FURLFORMAT, FURL, FHTTPMETHOD, FCONTENTTYPE, FREQTYPE, FREPTYPE, FPLUGIN, FAPISERVICETYPE, FOPERATION, FCUSTOMMETHOD, FMASTERID, FALLOWGUEST)
VALUES ('949962495244633088', 'ar_invoicearbill_save_biz', '13466739', {ts'2018-08-08 18:08:08'}, '13466739', {ts'2018-08-08 18:08:08'}, '1', NULL, NULL, NULL, ' ', '/BBRH+122=39', 'C', '/app/ar/ar_invoicearbill_save_biz', ' ', '1', '0', '0', '0', '[{"Type":0,"_Type_":"Plugin","RowKey":1,"ClassName":"kd.fi.ar.webapi.InvoiceArBillSaveApi","Enabled":true,"rowKey":null}]', '2', ' ', ' ', '949962495244633088', '0');

IF NOT EXISTS (SELECT 1 FROM T_OPEN_APISERVICE_L WHERE FPKID = '0ZO5DFNZ+VZR')
INSERT INTO T_OPEN_APISERVICE_L (FPKID, FID, FLOCALEID, FDISCRIPTION, FNAME)
VALUES ('0ZO5DFNZ+VZR', '949962495244633088', 'zh_CN', '开票单批量保存', '开票单批量保存');
IF NOT EXISTS (SELECT 1 FROM T_OPEN_APISERVICE_L WHERE FPKID = '0ZO5DFNZ+VZS')
INSERT INTO T_OPEN_APISERVICE_L (FPKID, FID, FLOCALEID, FDISCRIPTION, FNAME)
VALUES ('0ZO5DFNZ+VZS', '949962495244633088', 'zh_TW', '開票單批量保存', '開票單批量保存');
