--数据字典
INSERT INTO `custody_data_dictionary_fund_type_details`(dic_id,trust_no,origin_value,version,remark,create_time,update_time,is_deleted) VALUES (1, '35', '000007', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 0);
INSERT INTO `custody_data_dictionary_fund_type_details`(dic_id,trust_no,origin_value,version,remark,create_time,update_time,is_deleted) VALUES (1, '35', '000012', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 0);
INSERT INTO `custody_data_dictionary_fund_type_details`(dic_id,trust_no,origin_value,version,remark,create_time,update_time,is_deleted) VALUES (1, '35', '000018', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 0);
INSERT INTO `custody_data_dictionary_fund_type_details`(dic_id,trust_no,origin_value,version,remark,create_time,update_time,is_deleted) VALUES (1, '35', '000031', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000003', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000011', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000014', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000016', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000017', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000035', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000036', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000039', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000040', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000041', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000042', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000043', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000044', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000045', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000046', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000051', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000054', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000008', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000026', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000006', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 0);
INSERT INTO `custody_data_dictionary_fund_type_details`(dic_id,trust_no,origin_value,version,remark,create_time,update_time,is_deleted) VALUES (5, '35', '000021', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 0);
INSERT INTO `custody_data_dictionary_fund_type_details`(dic_id,trust_no,origin_value,version,remark,create_time,update_time,is_deleted) VALUES (6, '35', '000022', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 0);
INSERT INTO `custody_data_dictionary_fund_type_details`(dic_id,trust_no,origin_value,version,remark,create_time,update_time,is_deleted) VALUES (6, '35', '000025', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 0);
INSERT INTO `custody_data_dictionary_fund_type_details`(dic_id,trust_no,origin_value,version,remark,create_time,update_time,is_deleted) VALUES (7, '35', '000023', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 0);
INSERT INTO `custody_data_dictionary_fund_type_details`(dic_id,trust_no,origin_value,version,remark,create_time,update_time,is_deleted) VALUES (7, '35', '000048', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 0);
INSERT INTO `custody_data_dictionary_fund_type_details`(dic_id,trust_no,origin_value,version,remark,create_time,update_time,is_deleted) VALUES (7, '35', '000049', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000000', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000024', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000027', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000028', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000029', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000030', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000034', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000047', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000050', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000099', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000012', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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 (2, '35', '000007', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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 (2, '35', '000011', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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 (3, '35', '000003', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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 (3, '35', '000014', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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 (3, '35', '000016', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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 (3, '35', '000017', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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 (3, '35', '000051', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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 (3, '35', '000054', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000035', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000036', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000039', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000040', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000041', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000042', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000043', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000044', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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 (12, '35', '000045', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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 (13, '35', '000046', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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 (18, '35', '000006', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000018', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000028', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000026', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000027', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000021', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000022', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000025', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000023', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000024', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000029', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000000', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000030', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000031', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000034', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000047', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000048', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000049', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000050', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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, '35', '000099', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 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 (20, '35', '000008', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 0);

INSERT INTO `custody_data_dictionary_private_fund_type`(key_str,value,version,remark,create_time,update_time,is_deleted) VALUES ('20', '证券公司资产管理计划', NULL, NULL, '2022-1-19 16:38:02', '2022-1-19 16:38:02', 0);

update custody_data_dictionary_bank_code set map_value='000' where id=1450;
update custody_data_dictionary_bank_code set map_value='001' where id=1451;
update custody_data_dictionary_bank_code set map_value='011' where id=1452;
update custody_data_dictionary_bank_code set map_value='012' where id=1453;

DELETE from custody_data_dictionary_product_status_details where dic_id='1' and trust_no='35';
DELETE from custody_data_dictionary_product_status_details where dic_id='2' and trust_no='35';
DELETE from custody_data_dictionary_product_status_details where dic_id='3' and trust_no='35';
DELETE from custody_data_dictionary_product_status_details where dic_id='4' and trust_no='35';

INSERT INTO `custody_data_dictionary_product_status_details`(dic_id,trust_no,origin_value,version,remark,create_time,update_time,is_deleted) VALUES (1, '35', '3', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 0);
INSERT INTO `custody_data_dictionary_product_status_details`(dic_id,trust_no,origin_value,version,remark,create_time,update_time,is_deleted) VALUES (1, '35', '5', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 0);
INSERT INTO `custody_data_dictionary_product_status_details`(dic_id,trust_no,origin_value,version,remark,create_time,update_time,is_deleted) VALUES (1, '35', '6', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 0);
INSERT INTO `custody_data_dictionary_product_status_details`(dic_id,trust_no,origin_value,version,remark,create_time,update_time,is_deleted) VALUES (1, '35', '7', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 0);
INSERT INTO `custody_data_dictionary_product_status_details`(dic_id,trust_no,origin_value,version,remark,create_time,update_time,is_deleted) VALUES (1, '35', '13', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 0);
INSERT INTO `custody_data_dictionary_product_status_details`(dic_id,trust_no,origin_value,version,remark,create_time,update_time,is_deleted) VALUES (1, '35', '18', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 0);
INSERT INTO `custody_data_dictionary_product_status_details`(dic_id,trust_no,origin_value,version,remark,create_time,update_time,is_deleted) VALUES (1, '35', '25', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 0);
INSERT INTO `custody_data_dictionary_product_status_details`(dic_id,trust_no,origin_value,version,remark,create_time,update_time,is_deleted) VALUES (1, '35', '28', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 0);
INSERT INTO `custody_data_dictionary_product_status_details`(dic_id,trust_no,origin_value,version,remark,create_time,update_time,is_deleted) VALUES (1, '35', '29', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 0);
INSERT INTO `custody_data_dictionary_product_status_details`(dic_id,trust_no,origin_value,version,remark,create_time,update_time,is_deleted) VALUES (1, '35', '30', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 0);
INSERT INTO `custody_data_dictionary_product_status_details`(dic_id,trust_no,origin_value,version,remark,create_time,update_time,is_deleted) VALUES (1, '35', '10', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 0);
INSERT INTO `custody_data_dictionary_product_status_details`(dic_id,trust_no,origin_value,version,remark,create_time,update_time,is_deleted) VALUES (1, '35', '77', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 0);
INSERT INTO `custody_data_dictionary_product_status_details`(dic_id,trust_no,origin_value,version,remark,create_time,update_time,is_deleted) VALUES (1, '35', '88', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 0);
INSERT INTO `custody_data_dictionary_product_status_details`(dic_id,trust_no,origin_value,version,remark,create_time,update_time,is_deleted) VALUES (1, '35', '99', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 0);
INSERT INTO `custody_data_dictionary_product_status_details`(dic_id,trust_no,origin_value,version,remark,create_time,update_time,is_deleted) VALUES (2, '35', '8', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 0);
INSERT INTO `custody_data_dictionary_product_status_details`(dic_id,trust_no,origin_value,version,remark,create_time,update_time,is_deleted) VALUES (2, '35', '20', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 0);
INSERT INTO `custody_data_dictionary_product_status_details`(dic_id,trust_no,origin_value,version,remark,create_time,update_time,is_deleted) VALUES (2, '35', '66', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 0);
INSERT INTO `custody_data_dictionary_product_status_details`(dic_id,trust_no,origin_value,version,remark,create_time,update_time,is_deleted) VALUES (3, '35', '9', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 0);
INSERT INTO `custody_data_dictionary_product_status_details`(dic_id,trust_no,origin_value,version,remark,create_time,update_time,is_deleted) VALUES (3, '35', '22', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 0);
INSERT INTO `custody_data_dictionary_product_status_details`(dic_id,trust_no,origin_value,version,remark,create_time,update_time,is_deleted) VALUES (3, '35', '31', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 0);
INSERT INTO `custody_data_dictionary_product_status_details`(dic_id,trust_no,origin_value,version,remark,create_time,update_time,is_deleted) VALUES (4, '35', '11', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 0);
INSERT INTO `custody_data_dictionary_product_status_details`(dic_id,trust_no,origin_value,version,remark,create_time,update_time,is_deleted) VALUES (4, '35', '21', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 0);
INSERT INTO `custody_data_dictionary_product_status_details`(dic_id,trust_no,origin_value,version,remark,create_time,update_time,is_deleted) VALUES (4, '35', '24', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 0);
INSERT INTO `custody_data_dictionary_product_status_details`(dic_id,trust_no,origin_value,version,remark,create_time,update_time,is_deleted) VALUES (4, '35', '25', NULL, NULL, '2022-1-19 16:24:15', '2022-1-19 16:24:15', 0);


INSERT INTO `custody_data_dictionary_duration_currency_details`(`id`, `dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (98, 1, '35', 'CNY', NULL, NULL, '2022-04-14 16:39:43', '2022-04-14 16:39:43', 0);
INSERT INTO `custody_data_dictionary_duration_currency_details`(`id`, `dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (99, 1, '35', '156', NULL, NULL, '2022-04-14 16:39:43', '2022-04-14 16:39:43', 0);
INSERT INTO `custody_data_dictionary_duration_currency_details`(`id`, `dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (100, 2, '35', 'FRF', NULL, NULL, '2022-04-14 16:39:43', '2022-04-14 16:39:43', 0);
INSERT INTO `custody_data_dictionary_duration_currency_details`(`id`, `dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (101, 3, '35', '280', NULL, NULL, '2022-04-14 16:39:43', '2022-04-14 16:39:43', 0);
INSERT INTO `custody_data_dictionary_duration_currency_details`(`id`, `dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (102, 4, '35', '344', NULL, NULL, '2022-04-14 16:39:43', '2022-04-14 16:39:43', 0);
INSERT INTO `custody_data_dictionary_duration_currency_details`(`id`, `dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (103, 5, '35', '392', NULL, NULL, '2022-04-14 16:39:43', '2022-04-14 16:39:43', 0);
INSERT INTO `custody_data_dictionary_duration_currency_details`(`id`, `dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (104, 6, '35', '826', NULL, NULL, '2022-04-14 16:39:43', '2022-04-14 16:39:43', 0);
INSERT INTO `custody_data_dictionary_duration_currency_details`(`id`, `dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (105, 7, '35', '840', NULL, NULL, '2022-04-14 16:39:43', '2022-04-14 16:39:43', 0);
INSERT INTO `custody_data_dictionary_duration_currency_details`(`id`, `dic_id`, `trust_no`, `origin_value`, `version`, `remark`, `create_time`, `update_time`, `is_deleted`) VALUES (106, 8, '35', '978', NULL, NULL, '2022-04-14 16:39:43', '2022-04-14 16:39:43', 0);
-- 12055 持有份额数据、基金净值数据的取数逻辑优化
DELETE FROM custody_cust_share_info where last_hold_shares is null or last_hold_shares = 0;
update custody_fund_net_value_info set shares = 0 where shares is null;
update custody_fund_net_value_info set asset_value = 0 where asset_value is null;
update custody_fund_net_value_info set total_asset = 0 where total_asset is null;

-- 之前的一个bug  custody_fund_temp_fare_info 表的 fare_vat_temp 字段格式出错
alter table custody_fund_temp_fare_info MODIFY `fare_vat_temp` decimal(20, 2) DEFAULT NULL COMMENT '应付税费_应付增值税_暂估';


INSERT INTO custody_data_dictionary_duration_currency_details(dic_id,trust_no,origin_value,version,remark,create_time,update_time,is_deleted) VALUES (1, '34', '人民币', NULL, NULL, '2022-1-19 16:39:43', '2022-1-19 16:39: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, '34', '法郎', NULL, NULL, '2022-1-19 16:39:43', '2022-1-19 16:39: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, '34', '马克', NULL, NULL, '2022-1-19 16:39:43', '2022-1-19 16:39: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, '34', '港币', NULL, NULL, '2022-1-19 16:39:43', '2022-1-19 16:39: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, '34', '日元', NULL, NULL, '2022-1-19 16:39:43', '2022-1-19 16:39: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, '34', '英镑', NULL, NULL, '2022-1-19 16:39:43', '2022-1-19 16:39: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, '34', '美元', NULL, NULL, '2022-1-19 16:39:43', '2022-1-19 16:39: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, '34', '欧元', NULL, NULL, '2022-1-19 16:39:43', '2022-1-19 16:39:43', 0);
