delete from t_open_apiservice where fid = 1478863327324394496;
INSERT INTO t_open_apiservice (fid, fnumber, fcreatorid, fmodifierid, fmodifytime, fenable, fbizobject, fappid, fstatus, furlformat, furl, fhttpmethod, fcontenttype, freqtype, freptype, fapiservicetype, foperation, fcustommethod, fmasterid, fplugin, fallowguest)
VALUES (1478863327324394496, 'addEquipment', 1158725755379676160, 1158725755379676160, {ts'2022-08-04 10:38:05'}, '1', ' ', '0QHC=8NRINCF', 'C', '/app/bdm/addEquipment', null, '1', '0', null, null, '2', ' ', ' ', 1478863327324394496, '[{"FPK":"","Type":0,"Description":"增加设备","RowKey":0,"ClassName":"kd.imc.bdm.formplugin.org.webapi.AddEquipmentApiPlugin","DisplayName":"","Enabled":true,"BizAppId":"","Inherit":false}]', '0');

delete from t_open_apiservice_l where fid = 1478863327324394496 and flocaleid='zh_CN';
INSERT INTO t_open_apiservice_l (fpkid, fid, flocaleid, fdiscription, fname)
VALUES ('2MN28RQ7KIIT', 1478863327324394496, 'zh_CN', ' ', '增加税盘');


delete from t_open_apiheaderentry where fid = 1478863327324394496;
INSERT INTO t_open_apiheaderentry (fentryid, fid, fseq, fheadername, fheadervalue, fheaderdes)
VALUES (1479579024929043456, 1478863327324394496, 1, 'Content-Type', 'application/json', '内容格式');
INSERT INTO t_open_apiheaderentry (fentryid, fid, fseq, fheadername, fheadervalue, fheaderdes)
VALUES (1479579024929043457, 1478863327324394496, 2, 'accesstoken', '获取的accesstoken值', '请求令牌');

delete from t_open_apibodyentry where fid = 1478863327324394496;
-- INSERT INTO t_open_apibodyentry (fentryid, fid, fseq, fparamname, fparamtype, fmust, fexample, fbodyparamdes, fparententryid, fobjpropname, fbody_level, fis_body_custom, fis_unique_key, fbody_data_model, fis_mul_value, fdefaultvalue)
-- VALUES (1479577538861848576, 1478863327324394496, 1, 'taxNo', 'String', '1', '440301999999888', '税号', 0, ' ', ' ', '0', '0', ' ', '0', ' ');
-- INSERT INTO t_open_apibodyentry (fentryid, fid, fseq, fparamname, fparamtype, fmust, fexample, fbodyparamdes, fparententryid, fobjpropname, fbody_level, fis_body_custom, fis_unique_key, fbody_data_model, fis_mul_value, fdefaultvalue)
-- VALUES (1479577743401277440, 1478863327324394496, 2, 'authType', 'String', '1', '0', '授权类型 0销项，1进项', 0, ' ', ' ', '0', '0', ' ', '0', ' ');
-- INSERT INTO t_open_apibodyentry (fentryid, fid, fseq, fparamname, fparamtype, fmust, fexample, fbodyparamdes, fparententryid, fobjpropname, fbody_level, fis_body_custom, fis_unique_key, fbody_data_model, fis_mul_value, fdefaultvalue)
-- VALUES (1479578055767995392, 1478863327324394496, 3, 'equipmentNos', 'Array', '0', ' ', 'authType为0时必填', 0, ' ', ' ', '0', '0', ' ', '0', ' ');
-- INSERT INTO t_open_apibodyentry (fentryid, fid, fseq, fparamname, fparamtype, fmust, fexample, fbodyparamdes, fparententryid, fobjpropname, fbody_level, fis_body_custom, fis_unique_key, fbody_data_model, fis_mul_value, fdefaultvalue)
-- VALUES (1479578676172544000, 1478863327324394496, 4, 'equipmentNo', 'String', '1', '11111111111111', '设备编号', 1479578055767995392, ' ', ' ', '0', '0', ' ', '0', ' ');
-- INSERT INTO t_open_apibodyentry (fentryid, fid, fseq, fparamname, fparamtype, fmust, fexample, fbodyparamdes, fparententryid, fobjpropname, fbody_level, fis_body_custom, fis_unique_key, fbody_data_model, fis_mul_value, fdefaultvalue)
-- VALUES (1479578912605582336, 1478863327324394496, 5, 'equipmentType', 'String', '1', '1', '设备类型 0 税务UKEY, 1 税控盘, 2 金税盘', 1479578055767995392, ' ', ' ', '0', '0', ' ', '0', ' ');
-- INSERT INTO t_open_apibodyentry (fentryid, fid, fseq, fparamname, fparamtype, fmust, fexample, fbodyparamdes, fparententryid, fobjpropname, fbody_level, fis_body_custom, fis_unique_key, fbody_data_model, fis_mul_value, fdefaultvalue)
-- VALUES (1479579116649961472, 1478863327324394496, 6, 'equipmentName', 'String', '0', '金税盘1号', '设备名称', 1479578055767995392, ' ', ' ', '0', '0', ' ', '0', ' ');
-- INSERT INTO t_open_apibodyentry (fentryid, fid, fseq, fparamname, fparamtype, fmust, fexample, fbodyparamdes, fparententryid, fobjpropname, fbody_level, fis_body_custom, fis_unique_key, fbody_data_model, fis_mul_value, fdefaultvalue)
-- VALUES (1479579133888672768, 1478863327324394496, 7, 'paperCommonQuota', 'Double', '0', '99999.99', '纸质普票限额', 1479578055767995392, ' ', ' ', '0', '0', ' ', '0', ' ');
-- INSERT INTO t_open_apibodyentry (fentryid, fid, fseq, fparamname, fparamtype, fmust, fexample, fbodyparamdes, fparententryid, fobjpropname, fbody_level, fis_body_custom, fis_unique_key, fbody_data_model, fis_mul_value, fdefaultvalue)
-- VALUES (1479579148635723776, 1478863327324394496, 8, 'paperSpecialQuota', 'Double', '0', '99999.99', '纸质专票限额', 1479578055767995392, ' ', ' ', '0', '0', ' ', '0', ' ');
-- INSERT INTO t_open_apibodyentry (fentryid, fid, fseq, fparamname, fparamtype, fmust, fexample, fbodyparamdes, fparententryid, fobjpropname, fbody_level, fis_body_custom, fis_unique_key, fbody_data_model, fis_mul_value, fdefaultvalue)
-- VALUES (1479579161654965248, 1478863327324394496, 9, 'eleCommonQuota', 'Double', '0', '99999.99', '电子普票限额', 1479578055767995392, ' ', ' ', '0', '0', ' ', '0', ' ');
-- INSERT INTO t_open_apibodyentry (fentryid, fid, fseq, fparamname, fparamtype, fmust, fexample, fbodyparamdes, fparententryid, fobjpropname, fbody_level, fis_body_custom, fis_unique_key, fbody_data_model, fis_mul_value, fdefaultvalue)
-- VALUES (1479579361471485952, 1478863327324394496, 10, 'eleSpecialQuota', 'Double', '0', '99999.99', '电子专票限额', 1479578055767995392, ' ', ' ', '0', '0', ' ', '0', ' ');
-- INSERT INTO t_open_apibodyentry (fentryid, fid, fseq, fparamname, fparamtype, fmust, fexample, fbodyparamdes, fparententryid, fobjpropname, fbody_level, fis_body_custom, fis_unique_key, fbody_data_model, fis_mul_value, fdefaultvalue)
-- VALUES (1479579449476494336, 1478863327324394496, 11, 'payee', 'String', '0', '付款人', '付款人', 1479578055767995392, ' ', ' ', '0', '0', ' ', '0', ' ');
-- INSERT INTO t_open_apibodyentry (fentryid, fid, fseq, fparamname, fparamtype, fmust, fexample, fbodyparamdes, fparententryid, fobjpropname, fbody_level, fis_body_custom, fis_unique_key, fbody_data_model, fis_mul_value, fdefaultvalue)
-- VALUES (1479579489238374400, 1478863327324394496, 12, 'reviewer', 'String', '0', '复核人', '复核人', 1479578055767995392, ' ', ' ', '0', '0', ' ', '0', ' ');
-- INSERT INTO t_open_apibodyentry (fentryid, fid, fseq, fparamname, fparamtype, fmust, fexample, fbodyparamdes, fparententryid, fobjpropname, fbody_level, fis_body_custom, fis_unique_key, fbody_data_model, fis_mul_value, fdefaultvalue)
-- VALUES (1479579545769325568, 1478863327324394496, 13, 'drawer', 'String', '0', '开票人', '开票人', 1479578055767995392, ' ', ' ', '0', '0', ' ', '0', ' ');
-- INSERT INTO t_open_apibodyentry (fentryid, fid, fseq, fparamname, fparamtype, fmust, fexample, fbodyparamdes, fparententryid, fobjpropname, fbody_level, fis_body_custom, fis_unique_key, fbody_data_model, fis_mul_value, fdefaultvalue)
-- VALUES (1479579615403038720, 1478863327324394496, 14, 'orgNumbers', 'Array', '1', ' ', '授权组织', 1479578055767995392, ' ', ' ', '0', '0', ' ', '0', ' ');
-- INSERT INTO t_open_apibodyentry (fentryid, fid, fseq, fparamname, fparamtype, fmust, fexample, fbodyparamdes, fparententryid, fobjpropname, fbody_level, fis_body_custom, fis_unique_key, fbody_data_model, fis_mul_value, fdefaultvalue)
-- VALUES (1479580401256346624, 1478863327324394496, 15, ' ', 'String', '1', 'org001', ' ', 1479579615403038720, ' ', ' ', '0', '0', ' ', '0', ' ');

delete from t_open_apirespentry where fid = 1478863327324394496;
-- INSERT INTO t_open_apirespentry (fentryid, fid, fseq, frespparamname, frespparamtype, frespparammust, frespexample, frespdes, fparententryid, frespobjpropname, fresp_level, fis_resp_custom, fresp_data_model, fis_resp_mul_value)
-- VALUES (1479583128199869440, 1478863327324394496, 1, 'data', 'Object', '1', ' ', ' ', 0, ' ', ' ', '0', ' ', '0');
-- INSERT INTO t_open_apirespentry (fentryid, fid, fseq, frespparamname, frespparamtype, frespparammust, frespexample, frespdes, fparententryid, frespobjpropname, fresp_level, fis_resp_custom, fresp_data_model, fis_resp_mul_value)
-- VALUES (1479583130447894528, 1478863327324394496, 2, 'errorCode', 'String', '1', ' ', ' ', 0, ' ', ' ', '0', ' ', '0');
-- INSERT INTO t_open_apirespentry (fentryid, fid, fseq, frespparamname, frespparamtype, frespparammust, frespexample, frespdes, fparententryid, frespobjpropname, fresp_level, fis_resp_custom, fresp_data_model, fis_resp_mul_value)
-- VALUES (1479583133165925376, 1478863327324394496, 3, 'status', 'Boolean', '1', ' ', ' ', 0, ' ', ' ', '0', ' ', '0');
-- INSERT INTO t_open_apirespentry (fentryid, fid, fseq, frespparamname, frespparamtype, frespparammust, frespexample, frespdes, fparententryid, frespobjpropname, fresp_level, fis_resp_custom, fresp_data_model, fis_resp_mul_value)
-- VALUES (1479583139943798784, 1478863327324394496, 4, 'success', 'Boolean', '1', ' ', ' ', 0, ' ', ' ', '0', ' ', '0');