INSERT INTO sys_application (id, app_logo, app_status, name, version_number, access_mode, affiliation_field, manufacturer, app_introduction, client_path, app_id, system_address, web_path, program_path, public_key, secret_key, interface_address, interface_status, app_type, db_status, sorts, org_id, sts, create_time, create_user_id, modify_time, modify_user_id) VALUES ('53936623a8bd451fb7f5fed09cb36fab', NULL, '1', '东进致远OA', '8.2', '[\"1\"]', '11', '致远', '越城区发展集团致远OA', 'http://ufidahz.com.cn:9955/', 800034, NULL, 'http://ufidahz.com.cn:9955/', 'http://ufidahz.com.cn:9955/', 'ZJYATW/MfYZX7zF0eAh4DJXbyTLwUtwSoSz5Y/o1ksAaN/dCe7eDIk+3zDUT+v578prj', '+5BUkLQh3iX3VHgEt5bE2IPh+ZeebGvDaEspsvVu739Ar6sFnwg+fpPod4t6XhoTj3JzOP8MtA1LSGvL+2BWG8c/o7DKi92S4mr3zcGearA=', 'http://115.239.174.22:9999', '1', '1', '1', 17, NULL, 'Y', '2024-07-16 10:15:14', '1', '2024-07-16 10:17:56', '1');

INSERT INTO sys_application_api (id, api_code, api_path, api_status, app_id, catalogue_id, api_name, api_remark, need_Login, authentication_port, parameter_passing_mode, destination_address, request_coding, request_method, timeout_period, current_limiting, header_in, query_in, body_in_type, body_in, body_out, sorts, create_user_id, create_time, modify_user_id, modify_time, sts, org_id, bean_name, fun_name, extension_api, return_success_field, return_success_value, return_msg) VALUES ('23499f05d50b495d989208e124469eff', 8000340004, NULL, '1', '53936623a8bd451fb7f5fed09cb36fab', '33406ee83887421bb1cdeb728606dcbf', '按登录名取人员信息', '按登录名取人员信息', '2', NULL, '1', '/seeyon/rest/orgMember', '1', '2', '10000', '100', '[]', '[]', '1', '[{\"id\":\"c8620cd3-7ee3-47a9-8b1d-88d26f7c21d8\",\"parameterName\":\"body\",\"first\":true}]', '[]', 228, '1', '2024-07-16 10:15:14', '1', '2024-07-16 10:15:14', 'Y', NULL, NULL, NULL, '2', 'enabled', 'true', 'enabled');
INSERT INTO sys_application_api (id, api_code, api_path, api_status, app_id, catalogue_id, api_name, api_remark, need_Login, authentication_port, parameter_passing_mode, destination_address, request_coding, request_method, timeout_period, current_limiting, header_in, query_in, body_in_type, body_in, body_out, sorts, create_user_id, create_time, modify_user_id, modify_time, sts, org_id, bean_name, fun_name, extension_api, return_success_field, return_success_value, return_msg) VALUES ('539a319b80224ce6a39106324bb68ef9', 8000340005, NULL, '1', '53936623a8bd451fb7f5fed09cb36fab', '81333abd92ac40d7b15b080d6d3750a9', '附件上传', '假的', '2', NULL, '1', '/seeyon/rest/attachment', '1', '1', '10000', '100', '[]', '[]', '1', '[{\"id\":\"03521015-0cf3-4b9f-b0d6-41d13b5578e4\",\"parameterName\":\"body\",\"first\":true}]', '[]', 235, '1', '2024-07-16 10:15:14', '1', '2024-07-16 10:15:14', 'Y', NULL, NULL, NULL, '1', '1', '1', '1');
INSERT INTO sys_application_api (id, api_code, api_path, api_status, app_id, catalogue_id, api_name, api_remark, need_Login, authentication_port, parameter_passing_mode, destination_address, request_coding, request_method, timeout_period, current_limiting, header_in, query_in, body_in_type, body_in, body_out, sorts, create_user_id, create_time, modify_user_id, modify_time, sts, org_id, bean_name, fun_name, extension_api, return_success_field, return_success_value, return_msg) VALUES ('6cc3ea97cec24265810efced08509203', 8000340007, NULL, '1', '53936623a8bd451fb7f5fed09cb36fab', '27eae7084739493c97f2da86ba5f434b', '支付申请明细日志', 'OA付款推到CBS的支付申请日志', '2', '6f561dd4a5a74bba850cc37e5c287e92', '1', '/seeyon/rest/form/import/formmain_0232', '1', '1', '10000', '100', '[{\"parameterType\":\"fundamental\",\"index\":0,\"concreteType\":\"String\",\"id\":\"cc04b232-1755-49ab-b5bd-451ed4e7a9cf\",\"parameterName\":\"token\"}]', '[]', '1', '[{\"index\":0,\"id\":\"e167aa7a-43c0-476c-ae0d-9fc75752fc77\",\"parameterName\":\"body\",\"first\":true}]', '[]', 237, '1', '2024-07-16 10:15:14', '1', '2024-07-16 10:15:14', 'Y', NULL, 'CbsLogServiceImpl', 'getTokenExt', '1', '1', '1', '1');
INSERT INTO sys_application_api (id, api_code, api_path, api_status, app_id, catalogue_id, api_name, api_remark, need_Login, authentication_port, parameter_passing_mode, destination_address, request_coding, request_method, timeout_period, current_limiting, header_in, query_in, body_in_type, body_in, body_out, sorts, create_user_id, create_time, modify_user_id, modify_time, sts, org_id, bean_name, fun_name, extension_api, return_success_field, return_success_value, return_msg) VALUES ('8aa016962a474a54a4a8efc60f284fa3', 8000340006, NULL, '1', '53936623a8bd451fb7f5fed09cb36fab', '27eae7084739493c97f2da86ba5f434b', 'CBS收款记录', '保存CBS收款记录到OA底表\n调用的是xml格式的接口', '2', '6f561dd4a5a74bba850cc37e5c287e92', '1', '/seeyon/rest/form/import/formmain_0233', '1', '1', '10000', '100', '[{\"parameterType\":\"fundamental\",\"index\":0,\"concreteType\":\"String\",\"id\":\"3a5e0ff5-7790-4402-9e93-a175f35a6630\",\"parameterName\":\"token\"}]', '[]', '1', '[{\"id\":\"a09d407c-df44-46fa-ab3c-cf99f1332b17\",\"parameterName\":\"body\",\"first\":true}]', '[]', 236, '1', '2024-07-16 10:15:14', '1', '2024-07-16 10:15:14', 'Y', NULL, 'CbsLogServiceImpl', 'getTokenExt', '1', '1', '1', '1');
INSERT INTO sys_application_api (id, api_code, api_path, api_status, app_id, catalogue_id, api_name, api_remark, need_Login, authentication_port, parameter_passing_mode, destination_address, request_coding, request_method, timeout_period, current_limiting, header_in, query_in, body_in_type, body_in, body_out, sorts, create_user_id, create_time, modify_user_id, modify_time, sts, org_id, bean_name, fun_name, extension_api, return_success_field, return_success_value, return_msg) VALUES ('9f047fd9a30246b48d12844da5ab59d5', 8000340003, NULL, '1', '53936623a8bd451fb7f5fed09cb36fab', '27eae7084739493c97f2da86ba5f434b', '无流程表单批量新增', NULL, '2', NULL, '1', '/seeyon/rest/cap4/form/soap/batch-add', '1', '1', '10000', '100', '[]', '[]', '1', '[{\"id\":\"ad5f0b02-d555-4f65-8856-6afbab270870\",\"parameterName\":\"body\",\"first\":true}]', '[]', 221, '1', '2024-07-16 10:15:14', '1', '2024-07-16 10:15:14', 'Y', NULL, NULL, NULL, '2', 'code', '0', 'code');
INSERT INTO sys_application_api (id, api_code, api_path, api_status, app_id, catalogue_id, api_name, api_remark, need_Login, authentication_port, parameter_passing_mode, destination_address, request_coding, request_method, timeout_period, current_limiting, header_in, query_in, body_in_type, body_in, body_out, sorts, create_user_id, create_time, modify_user_id, modify_time, sts, org_id, bean_name, fun_name, extension_api, return_success_field, return_success_value, return_msg) VALUES ('c75bab671dc94be68bf4498d49a93951', 8000340002, NULL, '1', '53936623a8bd451fb7f5fed09cb36fab', '3b45cc93711c49c6a150d3b6aeddc60f', '流程表单发起', '流程表单发起', '2', NULL, '1', '/seeyon/rest/bpm/process/start', '1', '1', '10000', '100', '[]', '[]', '1', '[{\"id\":\"c25f517e-b8b8-4fcb-9466-6952ff754a1c\",\"parameterName\":\"body\",\"first\":true}]', '[]', 220, '1', '2024-07-16 10:15:14', '1', '2024-07-16 10:15:14', 'Y', NULL, NULL, NULL, '2', 'code', '0', 'code');
INSERT INTO sys_application_api (id, api_code, api_path, api_status, app_id, catalogue_id, api_name, api_remark, need_Login, authentication_port, parameter_passing_mode, destination_address, request_coding, request_method, timeout_period, current_limiting, header_in, query_in, body_in_type, body_in, body_out, sorts, create_user_id, create_time, modify_user_id, modify_time, sts, org_id, bean_name, fun_name, extension_api, return_success_field, return_success_value, return_msg) VALUES ('c7ac1418cb0a4061ade501ee5614630d', 8000340000, NULL, '1', '53936623a8bd451fb7f5fed09cb36fab', '75200bc1ee464e86accf4022c71cc16c', 'token', '获取oatoken', '2', NULL, '1', '/seeyon/rest/token', '1', '1', '10000', '100', '[{\"parameterType\":\"fundamental\",\"index\":0,\"concreteType\":\"String\",\"description\":\"hzya_rest\",\"id\":\"a7f634e6-4325-409f-9d4d-c05418153f13\",\"parameterName\":\"userName\",\"example\":\"hzya_rest\"},{\"parameterType\":\"fundamental\",\"index\":1,\"concreteType\":\"String\",\"id\":\"f34ec8a4-10ca-4af5-8895-0bc650f92516\",\"parameterName\":\"password\",\"example\":\"5339d0e3-b23b-45d6-b301-c59de8bd447a\"},{\"parameterType\":\"fundamental\",\"index\":2,\"concreteType\":\"String\",\"description\":\"hzya_rest\",\"id\":\"4435d5e8-20d1-4b39-9286-77589e338c1e\",\"parameterName\":\"loginName\",\"example\":\"hzya_rest\"}]', '[]', '1', '[{\"parameterType\":\"complex\",\"children\":[{\"parameterType\":\"fundamental\",\"index\":1,\"concreteType\":\"String\",\"description\":\"hzyaRest\",\"id\":\"37d4be39-a313-4776-9b80-214bb73666aa\",\"parameterName\":\"userName\",\"example\":\"hzyaRest\"},{\"parameterType\":\"fundamental\",\"index\":2,\"concreteType\":\"String\",\"description\":\"0c92d077-03ea-4d58-92c2-c743dae957d1\",\"id\":\"9fb64713-6645-429d-b377-66f4bc72e968\",\"parameterName\":\"password\",\"example\":\"0c92d077-03ea-4d58-92c2-c743dae957d1\"},{\"parameterType\":\"fundamental\",\"index\":3,\"concreteType\":\"String\",\"description\":\"xel\",\"id\":\"16789d17-bc77-4fd5-9ca9-5dbbbed2d59b\",\"parameterName\":\"loginName\",\"example\":\"xel\"}],\"index\":0,\"concreteType\":\"Object\",\"id\":\"8aef3b7b-e4b7-4465-b0c5-88ecc5f84200\",\"parameterName\":\"body\",\"first\":true}]', '[{\"parameterType\":\"fundamental\",\"index\":0,\"concreteType\":\"String\",\"id\":\"85f455c0-eed0-4292-8130-a52c242974ec\",\"parameterName\":\"userName\"},{\"parameterType\":\"fundamental\",\"index\":1,\"concreteType\":\"String\",\"id\":\"902fce32-f09d-4ce6-ac88-a06ef1950963\",\"parameterName\":\"id\"}]', 214, '1', '2024-07-16 10:15:14', '1', '2024-07-16 10:15:14', 'Y', NULL, NULL, NULL, '2', 'userName', 'hzyaRest', 'id不为空说明成功');
INSERT INTO sys_application_api (id, api_code, api_path, api_status, app_id, catalogue_id, api_name, api_remark, need_Login, authentication_port, parameter_passing_mode, destination_address, request_coding, request_method, timeout_period, current_limiting, header_in, query_in, body_in_type, body_in, body_out, sorts, create_user_id, create_time, modify_user_id, modify_time, sts, org_id, bean_name, fun_name, extension_api, return_success_field, return_success_value, return_msg) VALUES ('f3778b38d03048249e9d063abbcacc5c', 8000340001, NULL, '1', '53936623a8bd451fb7f5fed09cb36fab', '3b45cc93711c49c6a150d3b6aeddc60f', '更新表单', '更新表单', '1', NULL, '1', '/seeyon/rest/businessResource/updateForm', '1', '1', '10000', '100', '[{\"parameterType\":\"authport\",\"index\":0,\"concreteType\":\"String\",\"id\":\"fdc278ea-8981-4db0-92b4-0b067d740ab6\",\"parameterName\":\"token\",\"example\":[\"id\"]}]', '[]', '1', '[]', '[]', 215, '1', '2024-07-16 10:15:14', '1', '2024-07-16 10:15:14', 'Y', NULL, NULL, NULL, '2', 'code', '0', '0表示成功');

INSERT INTO sys_application_api_type (id, app_id, name, sorts, org_id, sts, create_time, create_user_id, modify_time, modify_user_id) VALUES ('27eae7084739493c97f2da86ba5f434b', '53936623a8bd451fb7f5fed09cb36fab', '无流程表单', 65, NULL, 'Y', '2024-07-16 10:15:14', '1', '2024-07-16 10:15:14', '1');
INSERT INTO sys_application_api_type (id, app_id, name, sorts, org_id, sts, create_time, create_user_id, modify_time, modify_user_id) VALUES ('33406ee83887421bb1cdeb728606dcbf', '53936623a8bd451fb7f5fed09cb36fab', '组织架构', 70, NULL, 'Y', '2024-07-16 10:15:14', '1', '2024-07-16 10:15:14', '1');
INSERT INTO sys_application_api_type (id, app_id, name, sorts, org_id, sts, create_time, create_user_id, modify_time, modify_user_id) VALUES ('3b45cc93711c49c6a150d3b6aeddc60f', '53936623a8bd451fb7f5fed09cb36fab', '流程表单', 64, NULL, 'Y', '2024-07-16 10:15:14', '1', '2024-07-16 10:15:14', '1');
INSERT INTO sys_application_api_type (id, app_id, name, sorts, org_id, sts, create_time, create_user_id, modify_time, modify_user_id) VALUES ('75200bc1ee464e86accf4022c71cc16c', '53936623a8bd451fb7f5fed09cb36fab', 'token', 63, NULL, 'Y', '2024-07-16 10:15:14', '1', '2024-07-16 10:15:14', '1');
INSERT INTO sys_application_api_type (id, app_id, name, sorts, org_id, sts, create_time, create_user_id, modify_time, modify_user_id) VALUES ('81333abd92ac40d7b15b080d6d3750a9', '53936623a8bd451fb7f5fed09cb36fab', '附件', 66, NULL, 'Y', '2024-07-16 10:15:14', '1', '2024-07-16 10:15:14', '1');
INSERT INTO sys_application_api_type (id, app_id, name, sorts, org_id, sts, create_time, create_user_id, modify_time, modify_user_id) VALUES ('ced72ee34965400cbac80b8944fb9eda', '53936623a8bd451fb7f5fed09cb36fab', '销售合同', 84, NULL, 'Y', '2024-07-16 11:03:40', '1', '2024-07-16 11:03:40', '1');

INSERT INTO sys_application_database (id, app_id, source_code, source_name, source_type, source_ip, source_port, login_name, password, db_name, service_name, db_status, sorts, create_user_id, create_time, modify_user_id, modify_time, sts, org_id) VALUES ('21a9e85a5dfc497a9fdd5b2e084b57ec', '53936623a8bd451fb7f5fed09cb36fab', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', 19, '1', '2024-07-16 10:17:56', '1', '2024-07-16 10:17:56', 'Y', NULL);

INSERT INTO sys_application_plugin (id, app_id, plugin_name, plugin_code, plugin_version, plugin_remark, release_date, plugin_status, sorts, create_user_id, create_time, modify_user_id, modify_time, sts, org_id) VALUES ('9378e84eacb94edaafcc09f3469b37e1', '53936623a8bd451fb7f5fed09cb36fab', 'OA用户档案', 'MdmCustomerPlugin', '1.0', NULL, '2024-06-24 00:00:00', '1', 11, '1', '2024-07-16 10:15:14', '1', '2024-07-16 10:15:14', 'Y', NULL);
INSERT INTO sys_application_plugin (id, app_id, plugin_name, plugin_code, plugin_version, plugin_remark, release_date, plugin_status, sorts, create_user_id, create_time, modify_user_id, modify_time, sts, org_id) VALUES ('98929ef5049f455db40fad55b7127b21', '53936623a8bd451fb7f5fed09cb36fab', 'OA付款单同步BIP', 'PayBillPlugin', '1', NULL, '2024-06-25 00:00:00', '1', 16, '1', '2024-07-16 10:15:14', '1', '2024-07-16 10:15:14', 'Y', NULL);
INSERT INTO sys_application_plugin (id, app_id, plugin_name, plugin_code, plugin_version, plugin_remark, release_date, plugin_status, sorts, create_user_id, create_time, modify_user_id, modify_time, sts, org_id) VALUES ('a58d30d71f5943e9b114001ff36c69c3', '53936623a8bd451fb7f5fed09cb36fab', 'OA客户档案', 'MdmCustomerPlugin', '1.0', NULL, '2024-06-24 00:00:00', '1', 13, '1', '2024-07-16 10:15:14', '1', '2024-07-16 10:15:14', 'Y', NULL);
INSERT INTO sys_application_plugin (id, app_id, plugin_name, plugin_code, plugin_version, plugin_remark, release_date, plugin_status, sorts, create_user_id, create_time, modify_user_id, modify_time, sts, org_id) VALUES ('d2032b6aff7345b69553e6d0ca07c65c', '53936623a8bd451fb7f5fed09cb36fab', 'OA银行档案', 'MdmCustomerPlugin', '1.0', NULL, '2024-06-25 00:00:00', '1', 14, '1', '2024-07-16 10:15:14', '1', '2024-07-16 10:15:14', 'Y', NULL);


update sys_application_api set extension_api = '2' where extension_api is null;
update sys_application_api set return_success_field = 'status' where return_success_field is null;
update sys_application_api set return_success_value = '200' where return_success_value is null;
update sys_application_api set return_msg = 'msg' where return_msg is null;


commit;


