/** 删除旧api */
delete from t_open_apiservice_L where fid = 1540519579120326656;
delete from t_open_apiservice where FID = 1540519579120326656;
delete from t_open_apiheaderentry where fid = 1540519579120326656;
delete from t_open_apirespentry where fid = 1540519579120326656;
delete from t_open_apibodyentry where fid = 1540519579120326656;


/** 重新预置api */
delete from t_open_apiservice_L where fpkid =  '2U7GFTSKL4DI' ;
insert into t_open_apiservice_L ( fid, fname, fdiscription, flocaleid, fpkid) values ( 1540519579120326656, '获取通用角色分配的组织用户', '获取通用角色分配的组织用户', 'zh_CN', '2U7GFTSKL4DI');
delete from t_open_apiservice_L where fpkid =  '2U7GFTSKL4DJ' ;
insert into t_open_apiservice_L ( fid, fname, fdiscription, flocaleid, fpkid) values ( 1540519579120326656, ' ', '獲取通用角色分配的組織用戶', 'zh_TW', '2U7GFTSKL4DJ');
delete from t_open_apiservice where FID = 1540519579120326656;
insert into t_open_apiservice ( FAPISERVICETYPE, FADDEDINFO, FAPIDEFTYPE, FORG_AUTHOR_FILTER, FOPERATION, FORDER_BY_HIDE, FMASTERID, FMUSTPARAM, FSTDMODIFYTIME, FCREATETIME, FPRESCRIPT, ISFAILCONTINUE, FREQTYPE, FISVID, FALLOWGUEST, FBIZOBJECT, FDISABLERID, FOUTPUTPARAM, FCU_LIMIT_TAC, FFILTERPARAM, FISOUTPARAWITHOUTSTATUS, FREPTYPE, FPRESCRIPT_TAG, FISDYOBJRESULT, FCOSMICVER, FMODIFIERID, FPLUGIN, FWSMETHODNAME, FURLFORMAT, FCUSTOMMETHOD, FISFAILCONTINUE, FINPUTPARAM, FISKSQL, FSELECTPARAM, FCONTENTTYPE, FMETHODNAME, FENABLE, FVERSION, FID, FNAMESPACE, FADDEDINFO_TAG, FURL, FDISABLEDATE, FSAVEOPERATION, FSTATUS, FCUSTOMSORT, FNUMBER, FMESSAGETYPE, FMODIFYTIME, FCLASSNAME, FAPPID, FHTTPMETHOD, FCREATORID) values ( '2', ' ', '2', '0', NULL, ' ', 1540519579120326656, ' ', {ts'2022-11-15 09:13:26'}, {ts'2022-10-27 12:17:01'}, ' ', '1', NULL, 'kingdee', '0', ' ', NULL, 'getAssignedDimUserResponse', '0', ' ', '0', NULL, NULL, '0', '5.0.014', 1, NULL, ' ', '/v2/base/comrole/getAssignedDimUser', NULL, '0', 'getAssignedDimUser', '0', ' ', '0', 'getAssignedDimUser', '1', '2', 1540519579120326656, 'http://second.api.web.permission.bos.kd', NULL, NULL, NULL, NULL, 'C', 1540451194600702976, 'comrole/getAssignedDimUser', NULL, {ts'2022-11-15 09:13:26'}, 'kd.bos.permission.web.api.second.ComRoleController', '83bfebc8000037ac', '1', 1);
delete from t_open_apiheaderentry where FENTRYID = 1590468935369677824;
insert into t_open_apiheaderentry ( FID, FHEADERNAME, FENTRYID, FSEQ, FHEADERDES, FHEADERVALUE) values ( 1540519579120326656, 'Content-Type', 1590468935369677824, 1, '内容格式', 'application/json');
delete from t_open_apiheaderentry where FENTRYID = 1590468935369677825;
insert into t_open_apiheaderentry ( FID, FHEADERNAME, FENTRYID, FSEQ, FHEADERDES, FHEADERVALUE) values ( 1540519579120326656, 'accesstoken', 1590468935369677825, 2, '请求令牌', '获取的accesstoken值');
delete from t_open_apiheaderentry where FENTRYID = 1590468935369677826;
insert into t_open_apiheaderentry ( FID, FHEADERNAME, FENTRYID, FSEQ, FHEADERDES, FHEADERVALUE) values ( 1540519579120326656, 'Idempotency-Key', 1590468935369677826, 3, '非必传参数，防止接口被重复调用', '唯一的requestId');
delete from t_open_apirespentry where FENTRYID = 1590468866960534528;
insert into t_open_apirespentry ( FID, FRESPPARAMTYPE, FENTRYID, FIS_RESP_CUSTOM, FRESPEXAMPLE, FRESPPARAMNAME, FRESPPARAMMUST, FIS_RESP_MUL_VALUE, FPARENTENTRYID, FSEQ, FRESP_DATA_MODEL, FRESP_LEVEL, FRESPDES, FRESPOBJPROPNAME) values ( 1540519579120326656, 'Date', 1590468866960534528, '0', '"2023-01-04 10:17:43"', 'startTime', '0', '0', 1590468866952190978, 6, ' ', '3', '生效时间', ' ');
delete from t_open_apirespentry where FENTRYID = 1590468866960579584;
insert into t_open_apirespentry ( FID, FRESPPARAMTYPE, FENTRYID, FIS_RESP_CUSTOM, FRESPEXAMPLE, FRESPPARAMNAME, FRESPPARAMMUST, FIS_RESP_MUL_VALUE, FPARENTENTRYID, FSEQ, FRESP_DATA_MODEL, FRESP_LEVEL, FRESPDES, FRESPOBJPROPNAME) values ( 1540519579120326656, 'Date', 1590468866960579584, '0', '"2023-01-04 10:17:43"', 'endTime', '0', '0', 1590468866952190978, 7, ' ', '3', '失效时间', ' ');
delete from t_open_apirespentry where FENTRYID = 1590468866960534529;
insert into t_open_apirespentry ( FID, FRESPPARAMTYPE, FENTRYID, FIS_RESP_CUSTOM, FRESPEXAMPLE, FRESPPARAMNAME, FRESPPARAMMUST, FIS_RESP_MUL_VALUE, FPARENTENTRYID, FSEQ, FRESP_DATA_MODEL, FRESP_LEVEL, FRESPDES, FRESPOBJPROPNAME) values ( 1540519579120326656, 'Long', 1590468866960534529, '0', '"1672798663721"', 'userId', '0', '0', 1590468866952190978, 8, ' ', '3', '用户id', ' ');
delete from t_open_apirespentry where FENTRYID = 1590468866960579585;
insert into t_open_apirespentry ( FID, FRESPPARAMTYPE, FENTRYID, FIS_RESP_CUSTOM, FRESPEXAMPLE, FRESPPARAMNAME, FRESPPARAMMUST, FIS_RESP_MUL_VALUE, FPARENTENTRYID, FSEQ, FRESP_DATA_MODEL, FRESP_LEVEL, FRESPDES, FRESPOBJPROPNAME) values ( 1540519579120326656, 'String', 1590468866960579585, '0', '"zMSEy"', 'dimType', '0', '0', 1590468866952190978, 9, ' ', '3', '隔离维度类型', ' ');
delete from t_open_apirespentry where FENTRYID = 1590468866960534530;
insert into t_open_apirespentry ( FID, FRESPPARAMTYPE, FENTRYID, FIS_RESP_CUSTOM, FRESPEXAMPLE, FRESPPARAMNAME, FRESPPARAMMUST, FIS_RESP_MUL_VALUE, FPARENTENTRYID, FSEQ, FRESP_DATA_MODEL, FRESP_LEVEL, FRESPDES, FRESPOBJPROPNAME) values ( 1540519579120326656, 'Long', 1590468866960534530, '0', '"1672798663685"', 'dimId', '0', '0', 1590468866952190978, 10, ' ', '3', '隔离维度id，例：组织id、体系id', ' ');
delete from t_open_apirespentry where FENTRYID = 1590468866968968192;
insert into t_open_apirespentry ( FID, FRESPPARAMTYPE, FENTRYID, FIS_RESP_CUSTOM, FRESPEXAMPLE, FRESPPARAMNAME, FRESPPARAMMUST, FIS_RESP_MUL_VALUE, FPARENTENTRYID, FSEQ, FRESP_DATA_MODEL, FRESP_LEVEL, FRESPDES, FRESPOBJPROPNAME) values ( 1540519579120326656, 'Boolean', 1590468866968968192, '0', 'false', 'includeSub', '0', '0', 1590468866952190978, 11, ' ', '3', '包含下级，默认 false', ' ');
delete from t_open_apirespentry where FENTRYID = 1590468866952190976;
insert into t_open_apirespentry ( FID, FRESPPARAMTYPE, FENTRYID, FIS_RESP_CUSTOM, FRESPEXAMPLE, FRESPPARAMNAME, FRESPPARAMMUST, FIS_RESP_MUL_VALUE, FPARENTENTRYID, FSEQ, FRESP_DATA_MODEL, FRESP_LEVEL, FRESPDES, FRESPOBJPROPNAME) values ( 1540519579120326656, 'boolean', 1590468866952190976, '0', 'false', 'status', '1', '0', 0, 1, ' ', '1', '状态：true - 成功, false - 失败', ' ');
delete from t_open_apirespentry where FENTRYID = 1590468866952145921;
insert into t_open_apirespentry ( FID, FRESPPARAMTYPE, FENTRYID, FIS_RESP_CUSTOM, FRESPEXAMPLE, FRESPPARAMNAME, FRESPPARAMMUST, FIS_RESP_MUL_VALUE, FPARENTENTRYID, FSEQ, FRESP_DATA_MODEL, FRESP_LEVEL, FRESPDES, FRESPOBJPROPNAME) values ( 1540519579120326656, 'String', 1590468866952145921, '0', '"AryL2"', 'errorCode', '0', '0', 0, 2, ' ', '1', '错误代码', ' ');
delete from t_open_apirespentry where FENTRYID = 1590468866952190977;
insert into t_open_apirespentry ( FID, FRESPPARAMTYPE, FENTRYID, FIS_RESP_CUSTOM, FRESPEXAMPLE, FRESPPARAMNAME, FRESPPARAMMUST, FIS_RESP_MUL_VALUE, FPARENTENTRYID, FSEQ, FRESP_DATA_MODEL, FRESP_LEVEL, FRESPDES, FRESPOBJPROPNAME) values ( 1540519579120326656, 'String', 1590468866952190977, '0', '"wAyhw"', 'message', '0', '0', 0, 3, ' ', '1', '错误信息', ' ');
delete from t_open_apirespentry where FENTRYID = 1590468866952145922;
insert into t_open_apirespentry ( FID, FRESPPARAMTYPE, FENTRYID, FIS_RESP_CUSTOM, FRESPEXAMPLE, FRESPPARAMNAME, FRESPPARAMMUST, FIS_RESP_MUL_VALUE, FPARENTENTRYID, FSEQ, FRESP_DATA_MODEL, FRESP_LEVEL, FRESPDES, FRESPOBJPROPNAME) values ( 1540519579120326656, 'GetComRoleAssignedDimUserResp', 1590468866952145922, '0', '-', 'data', '0', '0', 0, 4, ' ', '1', '【获取通用角色分配的组织用户】响应结果', ' ');
delete from t_open_apirespentry where FENTRYID = 1590468866952190978;
insert into t_open_apirespentry ( FID, FRESPPARAMTYPE, FENTRYID, FIS_RESP_CUSTOM, FRESPEXAMPLE, FRESPPARAMNAME, FRESPPARAMMUST, FIS_RESP_MUL_VALUE, FPARENTENTRYID, FSEQ, FRESP_DATA_MODEL, FRESP_LEVEL, FRESPDES, FRESPOBJPROPNAME) values ( 1540519579120326656, 'List<DimUser>', 1590468866952190978, '0', '-', 'dimUserList', '0', '1', 1590468866952145922, 5, ' ', '2', '隔离维度-用户关系列表', ' ');
delete from t_open_apibodyentry where FENTRYID = 1590468866943802368;
insert into t_open_apibodyentry ( FID, FEXAMPLE, FBODY_DATA_MODEL, FENTRYID, FIS_UNIQUE_KEY, FOBJPROPNAME, FIS_MUL_VALUE, FIS_BODY_CUSTOM, FBODY_LEVEL, FMUST, FPARAMTYPE, FPARENTENTRYID, FBODYPARAMDES, FSEQ, FDEFAULTVALUE, FPARAMNAME) values ( 1540519579120326656, '"fCLGW"', ' ', 1590468866943802368, '0', ' ', '0', '0', '2', '1', 'String', 0, '角色id', 1, ' ', 'roleId');
delete from t_open_apibodyentry where FENTRYID = 1590468866952145920;
insert into t_open_apibodyentry ( FID, FEXAMPLE, FBODY_DATA_MODEL, FENTRYID, FIS_UNIQUE_KEY, FOBJPROPNAME, FIS_MUL_VALUE, FIS_BODY_CUSTOM, FBODY_LEVEL, FMUST, FPARAMTYPE, FPARENTENTRYID, FBODYPARAMDES, FSEQ, FDEFAULTVALUE, FPARAMNAME) values ( 1540519579120326656, '"bos_org"', ' ', 1590468866952145920, '0', ' ', '0', '0', '2', '1', 'String', 0, '隔离维度类型', 2, ' ', 'dimType');
