
-- 启用商务伙伴用户

DELETE FROM t_open_apiservice WHERE fid=1495492186790216704;
INSERT INTO t_open_apiservice (fapiservicetype, fcustommethod, fisfailcontinue, faddedinfo, foperation, fisksql, fmasterid, forder_by_hide, fmustparam, fselectparam, fcontenttype, fcreatetime, fenable, isfailcontinue, freqtype, fisvid, fdisablerid, fbizobject, fallowguest, fid, fversion, faddedinfo_tag, furl, fdisabledate, fsaveoperation, fstatus, ffilterparam, fcu_limit_tac, freptype, fnumber, fcustomsort, fmessagetype, fisdyobjresult, fmodifierid, fplugin, fmodifytime, fappid, furlformat, fhttpmethod, fcreatorid) VALUES('0', ' ', '0', ' ', 'enable', '0', 1495492186790216704, ' ', ' ', 'name,createorg,modifytime', '0', {ts'2022-08-26 09:14:32'}, '1', '1', NULL, 'kingdee', NULL, 'bos_bizpartneruser', '0', 1495492186790216704, '2', ' ', NULL, NULL, ' ', 'C', ' ', 0, NULL, 'enable', 0, NULL, '0', 1, ' ', {ts'2022-08-26 09:17:31'}, '83bfebc8000037ac', '/v2/base/bos_bizpartneruser/enable', '1', 1);

DELETE FROM t_open_apiservice_l WHERE fpkid='2OOR=+2H18Y6';
DELETE FROM t_open_apiservice_l WHERE fpkid='2OOR=+2H18Y7';
INSERT INTO t_open_apiservice_l (fdiscription, fid, fpkid, flocaleid, fname) VALUES(' ', 1495492186790216704, '2OOR=+2H18Y6', 'zh_CN', '启用商务伙伴用户');
INSERT INTO t_open_apiservice_l (fdiscription, fid, fpkid, flocaleid, fname) VALUES(' ', 1495492186790216704, '2OOR=+2H18Y7', 'zh_TW', '啟用商務夥伴用戶');


DELETE FROM t_open_apibodyentry WHERE fentryid=1495491723109908480;
INSERT INTO t_open_apibodyentry (fid, fexample, fentryid, fbody_data_model, fis_unique_key, fobjpropname, fis_body_custom, fbody_level, fmust, fparamtype, fparententryid, fbodyparamdes, fseq, fparamname) VALUES(1495492186790216704, '["2025958416651630592","7575981093108414464"]', 1495491723109908480, 'LongProp', '0', 'id', '0', '1', '1', 'Array<Long>', 0, 'id', 1, 'id');

DELETE FROM t_open_apiqueryfilter WHERE fentryid=1495492186798604290;
INSERT INTO t_open_apiqueryfilter (fid, ffiltercompare, ffilterlink, ffilterleftbracket, ffilter_type, ffiltervalue, ffiltercolumn, fentryid, fseq, ffilterrightbracket, ffilterlabel) VALUES(1495492186790216704, 'IN', '0', ' ', 'Long', 'id', 'id', 1495492186798604290, 1, ' ', 'id');

-- 禁用商务伙伴用户

DELETE FROM t_open_apiservice WHERE fid=1495492844683575296;
INSERT INTO t_open_apiservice (fapiservicetype, fcustommethod, fisfailcontinue, faddedinfo, foperation, fisksql, fmasterid, forder_by_hide, fmustparam, fselectparam, fcontenttype, fcreatetime, fenable, isfailcontinue, freqtype, fisvid, fdisablerid, fbizobject, fallowguest, fid, fversion, faddedinfo_tag, furl, fdisabledate, fsaveoperation, fstatus, ffilterparam, fcu_limit_tac, freptype, fnumber, fcustomsort, fmessagetype, fisdyobjresult, fmodifierid, fplugin, fmodifytime, fappid, furlformat, fhttpmethod, fcreatorid) VALUES('0', ' ', '0', ' ', 'disable', '0', 1495492844683575296, ' ', ' ', 'name,createorg,modifytime', '0', {ts'2022-08-26 09:16:13'}, '1', '1', NULL, 'kingdee', NULL, 'bos_bizpartneruser', '0', 1495492844683575296, '2', ' ', NULL, NULL, ' ', 'C', ' ', 0, NULL, 'disable', 0, NULL, '0', 1, ' ', {ts'2022-08-26 09:17:31'}, '83bfebc8000037ac', '/v2/base/bos_bizpartneruser/disable', '1', 1);

DELETE FROM t_open_apiservice_l WHERE fpkid='2OORDS154E=X';
DELETE FROM t_open_apiservice_l WHERE fpkid='2OORDS154E=Y';
INSERT INTO t_open_apiservice_l (fdiscription, fid, fpkid, flocaleid, fname) VALUES(' ', 1495492844683575296, '2OORDS154E=X', 'zh_CN', '禁用商务伙伴用户');
INSERT INTO t_open_apiservice_l (fdiscription, fid, fpkid, flocaleid, fname) VALUES(' ', 1495492844683575296, '2OORDS154E=Y', 'zh_TW', '禁用商務夥伴用戶');

DELETE FROM t_open_apibodyentry WHERE fentryid=1495492638692917248;
INSERT INTO t_open_apibodyentry (fid, fexample, fentryid, fbody_data_model, fis_unique_key, fobjpropname, fis_body_custom, fbody_level, fmust, fparamtype, fparententryid, fbodyparamdes, fseq, fparamname) VALUES(1495492844683575296, '["2783833765333192704","4953693568827964416"]', 1495492638692917248, 'LongProp', '0', 'id', '0', '1', '1', 'Array<Long>', 0, 'id', 1, 'id');

DELETE FROM t_open_apiqueryfilter WHERE fentryid=1495492844691964928;
INSERT INTO t_open_apiqueryfilter (fid, ffiltercompare, ffilterlink, ffilterleftbracket, ffilter_type, ffiltervalue, ffiltercolumn, fentryid, fseq, ffilterrightbracket, ffilterlabel) VALUES(1495492844683575296, 'IN', '0', ' ', 'Long', 'id', 'id', 1495492844691964928, 1, ' ', 'id');


