##安信
##基金组织形式
INSERT INTO `custody_data_dictionary_fund_organization_form_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (1, '43', '1', NULL, NULL, '2022-10-13 15:13:53', '2022-10-13 15:13:53', 0);
INSERT INTO `custody_data_dictionary_fund_organization_form_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (3, '43', '2', NULL, NULL, '2022-10-13 15:13:53', '2022-10-13 15:13:53', 0);
##基金类型
##1、新增基金类型字典
INSERT INTO `custody_data_dictionary_fund_type`(`id`, `key_str`, `value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (28, '9', '基金资管', NULL, NULL, '2022-10-13 15:26:14', '2022-10-13 15:26:14', 0);
INSERT INTO `custody_data_dictionary_fund_type`(`id`, `key_str`, `value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (29, '10', '基金子公司资管', NULL, NULL, '2022-10-13 15:26:14', '2022-10-13 15:26:14', 0);
##2、新增基金类型
INSERT INTO `custody_data_dictionary_fund_type_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (1, '43', '20', NULL, NULL, '2022-10-13 15:21:40', '2022-10-13 15:21:40', 0);
INSERT INTO `custody_data_dictionary_fund_type_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (2, '43', '1', NULL, NULL, '2022-10-13 15:21:40', '2022-10-13 15:21:40', 0);
INSERT INTO `custody_data_dictionary_fund_type_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (2, '43', '2', NULL, NULL, '2022-10-13 15:21:40', '2022-10-13 15:21:40', 0);
INSERT INTO `custody_data_dictionary_fund_type_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (2, '43', '3', NULL, NULL, '2022-10-13 15:21:40', '2022-10-13 15:21:40', 0);
INSERT INTO `custody_data_dictionary_fund_type_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (2, '43', '4', NULL, NULL, '2022-10-13 15:21:40', '2022-10-13 15:21:40', 0);
INSERT INTO `custody_data_dictionary_fund_type_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (2, '43', '5', NULL, NULL, '2022-10-13 15:21:40', '2022-10-13 15:21:40', 0);
INSERT INTO `custody_data_dictionary_fund_type_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (2, '43', '6', NULL, NULL, '2022-10-13 15:21:40', '2022-10-13 15:21:40', 0);
INSERT INTO `custody_data_dictionary_fund_type_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (2, '43', '7', NULL, NULL, '2022-10-13 15:21:40', '2022-10-13 15:21:40', 0);
INSERT INTO `custody_data_dictionary_fund_type_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (2, '43', '8', NULL, NULL, '2022-10-13 15:21:40', '2022-10-13 15:21:40', 0);
INSERT INTO `custody_data_dictionary_fund_type_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (2, '43', '9', NULL, NULL, '2022-10-13 15:21:40', '2022-10-13 15:21:40', 0);
INSERT INTO `custody_data_dictionary_fund_type_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (3, '43', '17', NULL, NULL, '2022-10-13 15:21:40', '2022-10-13 15:21:40', 0);
INSERT INTO `custody_data_dictionary_fund_type_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (3, '43', '18', NULL, NULL, '2022-10-13 15:21:40', '2022-10-13 15:21:40', 0);
INSERT INTO `custody_data_dictionary_fund_type_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (3, '43', '19', NULL, NULL, '2022-10-13 15:21:40', '2022-10-13 15:21:40', 0);
INSERT INTO `custody_data_dictionary_fund_type_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (4, '43', '10', NULL, NULL, '2022-10-13 15:21:40', '2022-10-13 15:21:40', 0);
INSERT INTO `custody_data_dictionary_fund_type_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (4, '43', '11', NULL, NULL, '2022-10-13 15:21:40', '2022-10-13 15:21:40', 0);
INSERT INTO `custody_data_dictionary_fund_type_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (8, '43', '99', NULL, NULL, '2022-10-13 15:21:40', '2022-10-13 15:21:40', 0);
INSERT INTO `custody_data_dictionary_fund_type_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (28, '43', '12', NULL, NULL, '2022-10-13 15:21:40', '2022-10-13 15:21:40', 0);
INSERT INTO `custody_data_dictionary_fund_type_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (28, '43', '13', NULL, NULL, '2022-10-13 15:21:40', '2022-10-13 15:21:40', 0);
INSERT INTO `custody_data_dictionary_fund_type_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (29, '43', '14', NULL, NULL, '2022-10-13 15:21:40', '2022-10-13 15:21:40', 0);
INSERT INTO `custody_data_dictionary_fund_type_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (29, '43', '15', NULL, NULL, '2022-10-13 15:21:40', '2022-10-13 15:21:40', 0);
INSERT INTO `custody_data_dictionary_fund_type_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (29, '43', '16', NULL, NULL, '2022-10-13 15:21:40', '2022-10-13 15:21:40', 0);
##新增私募基金类型字典
INSERT INTO `custody_data_dictionary_private_fund_type`(`id`, `key_str`, `value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (21, '21', '证券公司单一计划', NULL, NULL, '2022-10-13 16:05:00', '2022-10-13 16:05:00', 0);
INSERT INTO `custody_data_dictionary_private_fund_type`(`id`, `key_str`, `value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (22, '22', '私募资产配置类基金', NULL, NULL, '2022-10-13 16:05:00', '2022-10-13 16:05:00', 0);
INSERT INTO `custody_data_dictionary_private_fund_type`(`id`, `key_str`, `value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (23, '23', '期货公司集合计划', NULL, NULL, '2022-10-13 16:05:00', '2022-10-13 16:05:00', 0);
INSERT INTO `custody_data_dictionary_private_fund_type`(`id`, `key_str`, `value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (24, '24', '基金公司单一计划', NULL, NULL, '2022-10-13 16:05:00', '2022-10-13 16:05:00', 0);
INSERT INTO `custody_data_dictionary_private_fund_type`(`id`, `key_str`, `value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (25, '25', '基金公司集合计划', NULL, NULL, '2022-10-13 16:05:00', '2022-10-13 16:05:00', 0);
INSERT INTO `custody_data_dictionary_private_fund_type`(`id`, `key_str`, `value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (26, '26', '基金子公司单一计划', NULL, NULL, '2022-10-13 16:05:00', '2022-10-13 16:05:00', 0);
INSERT INTO `custody_data_dictionary_private_fund_type`(`id`, `key_str`, `value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (27, '27', '基金子公司集合计划', NULL, NULL, '2022-10-13 16:05:00', '2022-10-13 16:05:00', 0);
INSERT INTO `custody_data_dictionary_private_fund_type`(`id`, `key_str`, `value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (28, '28', '基金子公司专项计划', NULL, NULL, '2022-10-13 16:05:00', '2022-10-13 16:05:00', 0);
##新增私募基金类型
INSERT INTO `custody_data_dictionary_private_fund_type_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (1, '43', '20', NULL, NULL, '2022-10-13 16:07:49', '2022-10-13 16:07:49', 0);
INSERT INTO `custody_data_dictionary_private_fund_type_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (4, '43', '5', NULL, NULL, '2022-10-13 16:07:49', '2022-10-13 16:07:49', 0);
INSERT INTO `custody_data_dictionary_private_fund_type_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (5, '43', '3', NULL, NULL, '2022-10-13 16:07:49', '2022-10-13 16:07:49', 0);
INSERT INTO `custody_data_dictionary_private_fund_type_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (6, '43', '1', NULL, NULL, '2022-10-13 16:07:49', '2022-10-13 16:07:49', 0);
INSERT INTO `custody_data_dictionary_private_fund_type_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (7, '43', '7', NULL, NULL, '2022-10-13 16:07:49', '2022-10-13 16:07:49', 0);
INSERT INTO `custody_data_dictionary_private_fund_type_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (8, '43', '6', NULL, NULL, '2022-10-13 16:07:49', '2022-10-13 16:07:49', 0);
INSERT INTO `custody_data_dictionary_private_fund_type_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (9, '43', '2', NULL, NULL, '2022-10-13 16:07:49', '2022-10-13 16:07:49', 0);
INSERT INTO `custody_data_dictionary_private_fund_type_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (10, '43', '4', NULL, NULL, '2022-10-13 16:07:49', '2022-10-13 16:07:49', 0);
INSERT INTO `custody_data_dictionary_private_fund_type_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (11, '43', '8', NULL, NULL, '2022-10-13 16:07:49', '2022-10-13 16:07:49', 0);
INSERT INTO `custody_data_dictionary_private_fund_type_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (15, '43', '18', NULL, NULL, '2022-10-13 16:07:49', '2022-10-13 16:07:49', 0);
INSERT INTO `custody_data_dictionary_private_fund_type_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (16, '43', '19', NULL, NULL, '2022-10-13 16:07:49', '2022-10-13 16:07:49', 0);
INSERT INTO `custody_data_dictionary_private_fund_type_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (17, '43', '10', NULL, NULL, '2022-10-13 16:07:49', '2022-10-13 16:07:49', 0);
INSERT INTO `custody_data_dictionary_private_fund_type_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (19, '43', '99', NULL, NULL, '2022-10-13 16:07:49', '2022-10-13 16:07:49', 0);
INSERT INTO `custody_data_dictionary_private_fund_type_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (21, '43', '17', NULL, NULL, '2022-10-13 16:07:49', '2022-10-13 16:07:49', 0);
INSERT INTO `custody_data_dictionary_private_fund_type_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (22, '43', '9', NULL, NULL, '2022-10-13 16:07:49', '2022-10-13 16:07:49', 0);
INSERT INTO `custody_data_dictionary_private_fund_type_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (23, '43', '11', NULL, NULL, '2022-10-13 16:07:49', '2022-10-13 16:07:49', 0);
INSERT INTO `custody_data_dictionary_private_fund_type_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (24, '43', '12', NULL, NULL, '2022-10-13 16:07:49', '2022-10-13 16:07:49', 0);
INSERT INTO `custody_data_dictionary_private_fund_type_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (25, '43', '13', NULL, NULL, '2022-10-13 16:07:49', '2022-10-13 16:07:49', 0);
INSERT INTO `custody_data_dictionary_private_fund_type_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (26, '43', '14', NULL, NULL, '2022-10-13 16:07:49', '2022-10-13 16:07:49', 0);
INSERT INTO `custody_data_dictionary_private_fund_type_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (27, '43', '15', NULL, NULL, '2022-10-13 16:07:49', '2022-10-13 16:07:49', 0);
INSERT INTO `custody_data_dictionary_private_fund_type_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (28, '43', '16', NULL, NULL, '2022-10-13 16:07:49', '2022-10-13 16:07:49', 0);

##基金运作方式字典
INSERT INTO `custody_data_dictionary_fund_operation_form`(`id`, `key_str`, `value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (3, '3', '其他', NULL, NULL, '2022-10-13 15:40:11', '2022-10-13 15:40:11', 0);

##基金运作方式
INSERT INTO `custody_data_dictionary_fund_operation_form_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (1, '43', '2', NULL, NULL, '2022-10-13 16:44:37', '2022-10-13 16:44:37', 0);
INSERT INTO `custody_data_dictionary_fund_operation_form_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (2, '43', '1', NULL, NULL, '2022-10-13 16:44:37', '2022-10-13 16:44:37', 0);
INSERT INTO `custody_data_dictionary_fund_operation_form_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (3, '43', '3', NULL, NULL, '2022-10-13 16:44:37', '2022-10-13 16:44:37', 0);

##场内结算方式
INSERT INTO `custody_data_dictionary_field_settlement_mode_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (1, '43', '2', NULL, NULL, '2022-10-13 16:47:47', '2022-10-13 16:47:47', 0);
INSERT INTO `custody_data_dictionary_field_settlement_mode_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (2, '43', '1', NULL, NULL, '2022-10-13 16:47:47', '2022-10-13 16:47:47', 0);

##基金分级标识
delete from `custody_data_dictionary_fund_classification_logo_details` where trust_no = '43';
INSERT INTO `custody_data_dictionary_fund_classification_logo_details`(`id`, `dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (13, 1, '43', '2', NULL, NULL, '2022-10-13 15:26:20', '2022-10-13 15:26:20', 0);
INSERT INTO `custody_data_dictionary_fund_classification_logo_details`(`id`, `dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (14, 2, '43', 'A', NULL, NULL, '2022-10-13 15:26:20', '2022-10-13 15:26:20', 0);
INSERT INTO `custody_data_dictionary_fund_classification_logo_details`(`id`, `dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (15, 2, '43', '1', NULL, NULL, '2022-10-13 15:26:20', '2022-10-13 15:26:20', 0);
INSERT INTO `custody_data_dictionary_fund_classification_logo_details`(`id`, `dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (16, 3, '43', 'B', NULL, NULL, '2022-10-13 15:26:20', '2022-10-13 15:26:20', 0);
INSERT INTO `custody_data_dictionary_fund_classification_logo_details`(`id`, `dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (17, 3, '43', 'C', NULL, NULL, '2022-10-13 15:26:20', '2022-10-13 15:26:20', 0);

##币种
INSERT INTO `custody_data_dictionary_duration_currency_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (1, '43', 'CNY', NULL, NULL, '2022-10-17 18:04:43', '2022-10-17 18:04:43', 0);
INSERT INTO `custody_data_dictionary_duration_currency_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (2, '43', 'FRF', NULL, NULL, '2022-10-17 18:04:43', '2022-10-17 18:04:43', 0);
INSERT INTO `custody_data_dictionary_duration_currency_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (3, '43', 'DEM', NULL, NULL, '2022-10-17 18:04:43', '2022-10-17 18:04:43', 0);
INSERT INTO `custody_data_dictionary_duration_currency_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (4, '43', 'HKD', NULL, NULL, '2022-10-17 18:04:43', '2022-10-17 18:04:43', 0);
INSERT INTO `custody_data_dictionary_duration_currency_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (5, '43', 'JPY', NULL, NULL, '2022-10-17 18:04:43', '2022-10-17 18:04:43', 0);
INSERT INTO `custody_data_dictionary_duration_currency_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (10, '43', 'KRW', NULL, NULL, '2022-10-17 18:04:43', '2022-10-17 18:04:43', 0);
INSERT INTO `custody_data_dictionary_duration_currency_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (6, '43', 'GBP', NULL, NULL, '2022-10-17 18:04:43', '2022-10-17 18:04:43', 0);
INSERT INTO `custody_data_dictionary_duration_currency_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (7, '43', 'USD', NULL, NULL, '2022-10-17 18:04:43', '2022-10-17 18:04:43', 0);
INSERT INTO `custody_data_dictionary_duration_currency_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (11, '43', 'TWD', NULL, NULL, '2022-10-17 18:04:43', '2022-10-17 18:04:43', 0);
INSERT INTO `custody_data_dictionary_duration_currency_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (8, '43', 'EUR', NULL, NULL, '2022-10-17 18:04:43', '2022-10-17 18:04:43', 0);

##收付方向
INSERT INTO `custody_data_dictionary_payment_direction_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (1, '43', '1', NULL, NULL, '2022-10-18 14:49:45', '2022-10-18 14:49:45', 0);
INSERT INTO `custody_data_dictionary_payment_direction_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (2, '43', '-1', NULL, NULL, '2022-10-18 14:49:45', '2022-10-18 14:49:45', 0);

##账户类型
INSERT INTO `custody_data_dictionary_account_type_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (1, '43', '102', NULL, NULL, '2022-10-19 16:30:00', '2022-10-19 16:30:00', 0);
INSERT INTO `custody_data_dictionary_account_type_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (2, '43', '122', NULL, NULL, '2022-10-19 16:30:00', '2022-10-19 16:30:00', 0);
##账户状态
INSERT INTO `custody_data_dictionary_account_status_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (1, '43', '1', NULL, NULL, '2022-10-19 17:20:54', '2022-10-19 17:20:54', 0);
INSERT INTO `custody_data_dictionary_account_status_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (3, '43', '2', NULL, NULL, '2022-10-19 17:20:54', '2022-10-19 17:20:54', 0);

##中泰
##客户类型-中登
INSERT INTO `custody_data_dictionary_type_customer_csdc_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (1, '41', '机构', NULL, NULL, '2022-10-31 15:36:24', '2022-10-31 15:36:24', 0);
INSERT INTO `custody_data_dictionary_type_customer_csdc_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (2, '41', '个人', NULL, NULL, '2022-10-31 15:36:24', '2022-10-31 15:36:24', 0);
INSERT INTO `custody_data_dictionary_type_customer_csdc_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (3, '41', '产品', NULL, NULL, '2022-10-31 15:36:24', '2022-10-31 15:36:24', 0);
##机构证件类型/个人证件类型
INSERT INTO `custody_data_dictionary_type_certificate_csdc_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (1, '41', '组织机构代码证', NULL, NULL, '2022-10-31 15:55:13', '2022-10-31 15:55:13', 0);
INSERT INTO `custody_data_dictionary_type_certificate_csdc_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (2, '41', '营业执照', NULL, NULL, '2022-10-31 15:55:13', '2022-10-31 15:55:13', 0);
INSERT INTO `custody_data_dictionary_type_certificate_csdc_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (3, '41', '行政机关', NULL, NULL, '2022-10-31 15:55:13', '2022-10-31 15:55:13', 0);
INSERT INTO `custody_data_dictionary_type_certificate_csdc_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (4, '41', '社会团体', NULL, NULL, '2022-10-31 15:55:13', '2022-10-31 15:55:13', 0);
INSERT INTO `custody_data_dictionary_type_certificate_csdc_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (5, '41', '军队', NULL, NULL, '2022-10-31 15:55:13', '2022-10-31 15:55:13', 0);
INSERT INTO `custody_data_dictionary_type_certificate_csdc_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (6, '41', '武警', NULL, NULL, '2022-10-31 15:55:13', '2022-10-31 15:55:13', 0);
INSERT INTO `custody_data_dictionary_type_certificate_csdc_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (7, '41', '下属机构（具有主管单位批文号）', NULL, NULL, '2022-10-31 15:55:13', '2022-10-31 15:55:13', 0);
INSERT INTO `custody_data_dictionary_type_certificate_csdc_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (8, '41', '基金会', NULL, NULL, '2022-10-31 15:55:13', '2022-10-31 15:55:13', 0);
INSERT INTO `custody_data_dictionary_type_certificate_csdc_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (9, '41', '其它', NULL, NULL, '2022-10-31 15:55:13', '2022-10-31 15:55:13', 0);
INSERT INTO `custody_data_dictionary_type_certificate_csdc_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (10, '41', '登记证书', NULL, NULL, '2022-10-31 15:55:13', '2022-10-31 15:55:13', 0);
INSERT INTO `custody_data_dictionary_type_certificate_csdc_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (11, '41', '批文', NULL, NULL, '2022-10-31 15:55:13', '2022-10-31 15:55:13', 0);
INSERT INTO `custody_data_dictionary_type_certificate_csdc_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (12, '41', '技术监督局代码', NULL, NULL, '2022-10-31 15:55:13', '2022-10-31 15:55:13', 0);
INSERT INTO `custody_data_dictionary_type_certificate_csdc_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (13, '41', '产品备案编码', NULL, NULL, '2022-10-31 15:55:13', '2022-10-31 15:55:13', 0);
INSERT INTO `custody_data_dictionary_type_certificate_csdc_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (14, '41', '社会统一信用代码', NULL, NULL, '2022-10-31 15:55:13', '2022-10-31 15:55:13', 0);
INSERT INTO `custody_data_dictionary_type_certificate_csdc_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (15, '41', '全国组织机构代码', NULL, NULL, '2022-10-31 15:55:13', '2022-10-31 15:55:13', 0);
INSERT INTO `custody_data_dictionary_type_certificate_csdc_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (17, '41', '身份证', NULL, NULL, '2022-10-31 15:55:13', '2022-10-31 15:55:13', 0);
INSERT INTO `custody_data_dictionary_type_certificate_csdc_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (18, '41', '护照', NULL, NULL, '2022-10-31 15:55:13', '2022-10-31 15:55:13', 0);
INSERT INTO `custody_data_dictionary_type_certificate_csdc_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (19, '41', '军官证', NULL, NULL, '2022-10-31 15:55:13', '2022-10-31 15:55:13', 0);
INSERT INTO `custody_data_dictionary_type_certificate_csdc_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (20, '41', '士兵证', NULL, NULL, '2022-10-31 15:55:13', '2022-10-31 15:55:13', 0);
INSERT INTO `custody_data_dictionary_type_certificate_csdc_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (21, '41', '港澳居民来往内地通行证', NULL, NULL, '2022-10-31 15:55:13', '2022-10-31 15:55:13', 0);
INSERT INTO `custody_data_dictionary_type_certificate_csdc_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (22, '41', '户口本', NULL, NULL, '2022-10-31 15:55:13', '2022-10-31 15:55:13', 0);
INSERT INTO `custody_data_dictionary_type_certificate_csdc_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (23, '41', '外国护照', NULL, NULL, '2022-10-31 15:55:13', '2022-10-31 15:55:13', 0);
INSERT INTO `custody_data_dictionary_type_certificate_csdc_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (24, '41', '其它', NULL, NULL, '2022-10-31 15:55:13', '2022-10-31 15:55:13', 0);
INSERT INTO `custody_data_dictionary_type_certificate_csdc_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (25, '41', '文职证', NULL, NULL, '2022-10-31 15:55:13', '2022-10-31 15:55:13', 0);
INSERT INTO `custody_data_dictionary_type_certificate_csdc_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (26, '41', '警官证', NULL, NULL, '2022-10-31 15:55:13', '2022-10-31 15:55:13', 0);
INSERT INTO `custody_data_dictionary_type_certificate_csdc_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (27, '41', '台胞证', NULL, NULL, '2022-10-31 15:55:13', '2022-10-31 15:55:13', 0);
INSERT INTO `custody_data_dictionary_type_certificate_csdc_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (28, '41', '外国人永久居留身份证', NULL, NULL, '2022-10-31 15:55:13', '2022-10-31 15:55:13', 0);
INSERT INTO `custody_data_dictionary_type_certificate_csdc_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (29, '41', '港澳台居民居住证', NULL, NULL, '2022-10-31 15:55:13', '2022-10-31 15:55:13', 0);
INSERT INTO `custody_data_dictionary_type_certificate_csdc_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (30, '41', '其它', NULL, NULL, '2022-10-31 15:55:13', '2022-10-31 15:55:13', 0);
INSERT INTO `custody_data_dictionary_type_certificate_csdc_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (31, '41', '营业执照', NULL, NULL, '2022-10-31 15:55:13', '2022-10-31 15:55:13', 0);
INSERT INTO `custody_data_dictionary_type_certificate_csdc_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (32, '41', '登记证书', NULL, NULL, '2022-10-31 15:55:13', '2022-10-31 15:55:13', 0);
INSERT INTO `custody_data_dictionary_type_certificate_csdc_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (33, '41', '批文', NULL, NULL, '2022-10-31 15:55:13', '2022-10-31 15:55:13', 0);
##确认状态
INSERT INTO `custody_data_dictionary_confirm_status_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (1, '41', '仅参考', NULL, NULL, '2022-11-01 15:46:18', '2022-11-01 15:46:18', 0);
INSERT INTO `custody_data_dictionary_confirm_status_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (2, '41', '已确认', NULL, NULL, '2022-11-01 15:46:18', '2022-11-01 15:46:18', 0);
INSERT INTO `custody_data_dictionary_confirm_status_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (2, '41', '确认成功', NULL, NULL, '2022-11-01 22:12:47', '2022-11-01 22:12:47', 0);
INSERT INTO `custody_data_dictionary_confirm_status_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (3, '41', '确认失败', NULL, NULL, '2022-11-01 22:12:47', '2022-11-01 22:12:47', 0);
##分红方式
INSERT INTO `custody_data_dictionary_dividend_way_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (1, '41', '红利再投资', NULL, NULL, '2022-11-01 16:00:47', '2022-11-01 16:00:47', 0);
INSERT INTO `custody_data_dictionary_dividend_way_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (2, '41', '现金分红', NULL, NULL, '2022-11-01 16:00:47', '2022-11-01 16:00:47', 0);
INSERT INTO `custody_data_dictionary_dividend_way_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (3, '41', '待红利再投资', NULL, NULL, '2022-11-01 16:00:47', '2022-11-01 16:00:47', 0);
##业务类型
INSERT INTO `custody_data_dictionary_business_name_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (1, '41', '认购', NULL, NULL, '2022-11-02 10:43:48', '2022-11-02 10:43:48', 0);
INSERT INTO `custody_data_dictionary_business_name_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (2, '41', '申购', NULL, NULL, '2022-11-02 10:43:48', '2022-11-02 10:43:48', 0);
INSERT INTO `custody_data_dictionary_business_name_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (3, '41', '赎回', NULL, NULL, '2022-11-02 10:43:48', '2022-11-02 10:43:48', 0);
INSERT INTO `custody_data_dictionary_business_name_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (5, '41', '托管转入', NULL, NULL, '2022-11-02 10:43:48', '2022-11-02 10:43:48', 0);
INSERT INTO `custody_data_dictionary_business_name_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (6, '41', '托管转出', NULL, NULL, '2022-11-02 10:43:48', '2022-11-02 10:43:48', 0);
INSERT INTO `custody_data_dictionary_business_name_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (7, '41', '修改分红方式', NULL, NULL, '2022-11-02 10:43:48', '2022-11-02 10:43:48', 0);
INSERT INTO `custody_data_dictionary_business_name_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (9, '41', '份额解冻', NULL, NULL, '2022-11-02 10:43:48', '2022-11-02 10:43:48', 0);
INSERT INTO `custody_data_dictionary_business_name_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (10, '41', '非交易过户', NULL, NULL, '2022-11-02 10:43:48', '2022-11-02 10:43:48', 0);
INSERT INTO `custody_data_dictionary_business_name_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (11, '41', '基金转换(出)', NULL, NULL, '2022-11-02 10:43:48', '2022-11-02 10:43:48', 0);
INSERT INTO `custody_data_dictionary_business_name_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (12, '41', '非交易过户出', NULL, NULL, '2022-11-02 10:43:48', '2022-11-02 10:43:48', 0);
INSERT INTO `custody_data_dictionary_business_name_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (13, '41', '非交易过户入', NULL, NULL, '2022-11-02 10:43:48', '2022-11-02 10:43:48', 0);
INSERT INTO `custody_data_dictionary_business_name_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (29, '41', '基金成立', NULL, NULL, '2022-11-02 10:43:48', '2022-11-02 10:43:48', 0);
INSERT INTO `custody_data_dictionary_business_name_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (31, '41', '基金清盘', NULL, NULL, '2022-11-02 10:43:48', '2022-11-02 10:43:48', 0);
INSERT INTO `custody_data_dictionary_business_name_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (33, '41', '发行失败', NULL, NULL, '2022-11-02 10:43:48', '2022-11-02 10:43:48', 0);
INSERT INTO `custody_data_dictionary_business_name_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (37, '41', '强行调增', NULL, NULL, '2022-11-02 10:43:48', '2022-11-02 10:43:48', 0);
INSERT INTO `custody_data_dictionary_business_name_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (38, '41', '强行调减', NULL, NULL, '2022-11-02 10:43:48', '2022-11-02 10:43:48', 0);
INSERT INTO `custody_data_dictionary_business_name_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (39, '41', '红利发放', NULL, NULL, '2022-11-02 10:43:48', '2022-11-02 10:43:48', 0);
INSERT INTO `custody_data_dictionary_business_name_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (57, '41', '内部托管转入', NULL, NULL, '2022-11-02 10:43:48', '2022-11-02 10:43:48', 0);
INSERT INTO `custody_data_dictionary_business_name_details`(`dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (58, '41', '内部托管转出', NULL, NULL, '2022-11-02 10:43:48', '2022-11-02 10:43:48', 0);
##销售商
INSERT INTO `custody_data_dictionary_seller`(`key_str`, `value`, `origin_value`, `map_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES ('2819', '直销', '中泰证券', 'ZX1', NULL, NULL, '2022-11-02 11:27:07', '2022-11-02 11:27:07', 0);


ALTER TABLE `custody`.`custody_tenant_email_authorization_info`
ADD COLUMN `dir_file_path` varchar(1000) NULL COMMENT '邮件附件指定路径' AFTER `email_subject`;


-- 长江通怡
delete FROM custody_tenant_email_authorization_info  where trust_no = '54' and tenant_name = 'P1032800';
INSERT INTO `custody_tenant_email_authorization_info` VALUES (null, 'P1032800', 'AUTO', 'pop3s', 'pop.qiye.aliyun.com', '995', 'ipodata@tongyigroup.cn', 'Tongyi1234', 'cjtgta@163.com', '客服接口', '/media/hdd1/custody/changjiang', '54', null, '长江_通怡', '2022-10-24 14:42:13', '2022-10-24 14:42:17', '0');

-- 国金道富_林园
delete FROM custody_tenant_email_authorization_info  where trust_no = '98' and tenant_name = 'P1002894'
INSERT INTO `custody_tenant_email_authorization_info` VALUES (null, 'P1002894', 'AUTO', 'pop3s', 'pop.exmail.qq.com', '995', 'data@linyuan-invest.com', 'FsmTJgSe36v6rkeS', 'services@gjdf.com.cn', '深圳市林园投资管理有限责任公司KF文件', '', '98', null, '国金_林园', '2022-10-26 14:58:52', '2022-10-26 14:58:56', '0');

-- 平安_林园
delete FROM custody_tenant_email_authorization_info  where trust_no = '14' and tenant_name = 'P1002894'
INSERT INTO `custody_tenant_email_authorization_info` VALUES (null, 'P1002894', 'AUTO', 'pop3s', 'pop.exmail.qq.com', '995', 'data@linyuan-invest.com', 'FsmTJgSe36v6rkeS', 'LINSIYAN806@pingan.com.cn', '申请基金历史客服文件并每日发送', '', '14', null, '平安_林园', '2022-10-26 17:39:32', '2022-10-26 17:39:35', '0');

-- 第一创业_林园
delete FROM custody_tenant_email_authorization_info  where trust_no = '97' and tenant_name = 'P1002894'
INSERT INTO `custody_tenant_email_authorization_info` VALUES (null, 'P1002894', 'AUTO', 'pop3s', 'pop.exmail.qq.com', '995', 'data@linyuan-invest.com', 'FsmTJgSe36v6rkeS', 'xyyybzxt@fcsc.com', '林园投资_第一创业TA客服文件', '', '97', null, '第一创业_林园', '2022-10-27 14:55:44', '2022-10-27 14:55:47', '0');

-- 中金国际_林园
delete FROM custody_tenant_email_authorization_info  where trust_no = '39' and tenant_name = 'P1002894'
INSERT INTO `custody_tenant_email_authorization_info` VALUES (null, 'P1002894', 'AUTO', 'pop3s', 'pop.exmail.qq.com', '995', 'data@linyuan-invest.com', 'FsmTJgSe36v6rkeS', 'Jiaxing.Xu@cicc.com.cn', '【客服数据】深圳市林园投资管理有限责任公司', '', '39', null, '中金国际_林园', '2022-10-27 16:12:05', '2022-10-27 16:12:07', '0');
