Files
server-core/serverrun/mysql/seed_config.sql
T

7 lines
33 KiB
SQL
Raw Normal View History

INSERT INTO `certification_types` VALUES ('certtype_1b13e5a7a8aba8d5b804d923','personal_bank_card','personal','嗆狡∟恕霂','霈方嚗𡁶摰𡁏𤣰甈暸𣂎銵㨃嚗𣬚鍂鈭𤾸像唳𤣰𦠜𣂼𡁏𤣰甈曉',0,365,50,'[]','{\"fields\": [{\"key\": \"card_holder\", \"label\": \"㨃鈭箏㙡", \"type\": \"text\", \"required\": true, \"placeholder\": \"霂瑁∩犖憪枏銝𤾸滩恕霂\"}, {\"key\": \"card_number\", \"label\": \"∪噡\", \"type\": \"text\", \"required\": true, \"placeholder\": \"霂瑁蠘扇∪㨃愧"}, {\"key\": \"bank_name\", \"label\": \"撘\", \"type\": \"text\", \"required\": true, \"placeholder\": \"霂瑁滨妍嚗嚗帋葉賢極𣂎銵䕘\"}, {\"key\": \"reserved_phone\", \"label\": \"憸𧢲㦤愧", \"type\": \"text\", \"required\": true, \"placeholder\": \"霂瑁仿𣂎銵屸箏噡\"}, {\"key\": \"card_front\", \"label\": \"⊥迤\", \"type\": \"image\", \"required\": true, \"placeholder\": \"霂瑚隡𣳇𣂎銵㨃甇𢒰\"}]}','auto','bank_card_verify','CreditCardFilled','#52c41a',20,1,'2026-09-06T03:29:23.919342+00:00','2026-09-06T03:29:23.919342+00:00','personal_real_name_l1'),('certtype_56ee526a8b673bc56d3b4f3f','personal_real_name_advanced','personal','擃条漣摰𧼮霈方','鈭箄 + 頨思遢霂摰匧蝑厩漣',0,0,200,'[]','{\"fields\": [{\"key\": \"real_name\", \"label\": \"憪枏\", \"type\": \"text\", \"required\": true, \"placeholder\": \"霂瑁亥澈隞質銝羓憪枏\"}, {\"key\": \"id_card\", \"label\": \"頨思遢霂噡\", \"type\": \"text\", \"required\": true, \"placeholder\": \"霂瑁18雿滩澈隞質愧"}, {\"key\": \"face_photo\", \"label\": \"鈭箄\", \"type\": \"image\", \"required\": true, \"placeholder\": \"霂瑚隡㰘䪤"}, {\"key\": \"id_card_front\", \"label\": \"頨思遢霂\", \"type\": \"image\", \"required\": true, \"placeholder\": \"霂瑚隡㰘澈隞質𢒰\"}]}','auto','face_verify','ShieldFilled','#722ed1',2,1,'2026-09-06T02:30:10.990027+00:00','2026-09-06T02:30:10.990027+00:00',NULL),('certtype_b22ca5658d9aecf6f8327aaa','personal_education','personal','摮血霈方','霈方嚗𡁻郎雿滢縑摮血蝑厩漣銝滚靽∠鍂憭找+30𧋦蝘+50+100+200嚗剹',0,0,50,'[{\"level\": 1, \"name\": \"憭找\", \"credit_points\": 30}, {\"level\": 2, \"name\": \"\", \"credit_points\": 50}, {\"level\": 3, \"name\": \"蝖訫ㄚ\", \"credit_points\": 100}, {\"level\": 4, \"name\": \"𡁜ㄚ\", \"credit_points\": 200}]','{\"fields\": [{\"key\": \"school\", \"label\": \"瘥蓥X嵗\", \"type\": \"text\", \"required\": true, \"placeholder\": \"霂瑁銝𡁻堺蝘豹"}, {\"key\": \"major\", \"label\": \"銝㮖\", \"type\": \"text\", \"required\": true, \"placeholder\": \"霂瑁摮虫銝䨵"}, {\"key\": \"degree\", \"label\": \"摮血活\", \"type\": \"select\", \"required\": true, \"options\": [\"憭找\", \"\", \"蝖訫ㄚ\", \"𡁜ㄚ\"], \"placeholder\": \"霂琿㗇𥋘摮血活\"}, {\"key\": \"graduation_year\", \"label\": \"瘥蓥撟港遢\", \"type\": \"text\", \"required\": true, \"placeholder\": \"霂瑁銝𡁜僑隞踝2020嚗声"}, {\"key\": \"certificate\", \"label\": \"瘥蓥髡\", \"type\": \"image\", \"required\": true, \"placeholder\": \"霂瑚隡䭾銝朞銋衣䪤"}, {\"key\": \"degree_certificate\", \"label\": \"摮虫髡\", \"type\": \"image\", \"required\": false, \"placeholder\": \"霂瑚隡惩郎雿滩銋衣嚗声"}, {\"key\": \"xuexin_code\", \"label\": \"摮虫縑蝵煾\", \"type\": \"text\", \"required\": false, \"placeholder\": \"摮虫縑蝵穃銁蝥輸笔恣稞"}]}','manual','xuexin_verify','GraduationCapFilled','#13c2c2',10,1,'2026-09-06T02:30:11.268033+00:00','2026-09-06T03:29:23.205937+00:00',''),('certtype_b3c22ca810cb358ab9baa6ac','personal_real_name_l2','personal','擃条漣摰𧼮霈方','L2 擃条漣霈方嚗𡁜銁霈方銝𠺪憓𧼮鈭箄澈隞質箏噡
INSERT INTO `credit_rules` VALUES ('cr_badge.granted','badge.granted','','system',0,'fixed','{}',0,0,0,0,1,'credit_bonus嚗','2026-09-05T00:00:00Z','2026-09-05T00:00:00Z'),('cr_behavior.daily','behavior.daily','𤩺𠯫','activity',1,'fixed','{}',1,15,0,0,1,'𤩺𠯫+1𢠃15','2026-09-05T00:00:00Z','2026-09-05T00:00:00Z'),('cr_cert.education','cert.education','','capability',80,'fixed','{}',80,0,0,1,1,'','2026-09-05T00:00:00Z','2026-09-05T00:00:00Z'),('cr_cert.enterprise','cert.enterprise','/','capability',200,'fixed','{}',200,0,0,1,1,'','2026-09-05T00:00:00Z','2026-09-05T00:00:00Z'),('cr_cert.identity','cert.identity','𧼮','capability',100,'fixed','{}',100,0,0,1,1,'𧼮','2026-09-05T00:00:00Z','2026-09-05T00:00:00Z'),('cr_cert.merchant','cert.merchant','仿彿','capability',150,'fixed','{}',150,0,0,1,1,'','2026-09-05T00:00:00Z','2026-09-05T00:00:00Z'),('cr_cert.opc','cert.opc','OPC鈭箸','capability',300,'fixed','{}',300,0,0,1,1,'OPC蝏澆','2026-09-05T00:00:00Z','2026-09-05T00:00:00Z'),('cr_cert.qualification','cert.qualification','','capability',120,'fixed','{}',120,0,0,1,1,'','2026-09-05T00:00:00Z','2026-09-05T00:00:00Z'),('cr_cert.skill','cert.skill','','capability',100,'fixed','{}',100,0,0,1,1,'','2026-09-05T00:00:00Z','2026-09-05T00:00:00Z'),('cr_deposit.paid','deposit.paid','','compliance',5,'fixed','{}',5,0,0,0,1,'𦛚','2026-09-05T00:00:00Z','2026-09-05T00:00:00Z'),('cr_manual.adjust','manual.adjust','𨯫','system',0,'fixed','{}',0,0,0,0,1,'𨯫','2026-09-05T00:00:00Z','2026-09-05T00:00:00Z'),('cr_service.publish','service.publish','𦛚','activity',2,'fixed','{}',2,0,0,0,1,'𦛚𦠜','2026-09-05T00:00:00Z','2026-09-05T00:00:00Z'),('cr_skill.test.passed','skill.test.passed','','capability',40,'by_level','{\"beginner\":40,\"intermediate\":80,\"advanced\":120,\"expert\":200}',200,0,0,0,1,'','2026-09-05T00:00:00Z','2026-09-05T00:00:00Z'),('cr_task.accept','task.accept','𣂼','activity',1,'fixed','{}',1,0,0,0,1,'𣂼','2026-09-05T00:00:00Z','2026-09-05T00:00:00Z'),('cr_task.complete.on_time','task.complete.on_time','𧒄','performance',10,'fixed','{}',10,0,0,0,1,'𦛚𧒄','2026-09-05T00:00:00Z','2026-09-05T00:00:00Z'),('cr_task.review.positive','task.review.positive','𦛚','reputation',5,'by_score','{\"5\":15,\"4\":10,\"3\":5}',15,0,0,0,1,' 3+5/4+10/5+15','2026-09-05T00:00:00Z','2026-09-05T00:00:00Z'),('cr_training.cert_issued','training.cert_issued','','capability',10,'fixed','{}',10,0,0,0,1,'','2026-09-05T00:00:00Z','2026-09-05T00:00:00Z'),('cr_training.completed','training.completed','','capability',30,'fixed','{}',30,0,0,0,1,'𣂷','2026-09-05T00:00:00Z','2026-09-05T00:00:00Z'),('cr_training.hours','training.hours','','capability',5,'by_hours','{\"per\":10,\"monthly_cap\":30}',5,30,0,0,1,'10𤩺𧒄+5𢠃30','2026-09-05T00:00:00Z','2026-09-05T00:00:00Z');
INSERT INTO `credit_levels` VALUES ('lv_L1','L1',0,99,'','bronze','#A0A0A0','[\"\"]','',1,'2026-09-05T00:00:00Z'),('lv_L2','L2',100,299,'','bronze','#8C8C8C','[\"\",\"撠誯蝡墧\"]','',2,'2026-09-05T00:00:00Z'),('lv_L3','L3',300,599,'','silver','#9E9E9E','[\"撣貉\",\"靽肽"]','lv_03',3,'2026-09-05T00:00:00Z'),('lv_L4','L4',600,999,'','silver','#8BC8EA','[\"靽肽9",\"+5%\"]','',4,'2026-09-05T00:00:00Z'),('lv_L5','L5',1000,1999,'','gold','#F4B393','[\"靽肽8",\"+10%\",\"齿"]','lv_05',5,'2026-09-05T00:00:00Z'),('lv_L6','L6',2000,3999,'','platinum','#C9A7E8','[\"憸苷\",\"隡睃\",\"銵亥斐單𥁒韏聢\"]','',6,'2026-09-05T00:00:00Z'),('lv_L7','L7',4000,7999,'','diamond','#94D8C3','[\"憭折隞餃𦛚\",\"銝枏振\",\"餈鞱𨯫\"]','lv_07',7,'2026-09-05T00:00:00Z'),('lv_L8','L8',8000,999999999,'','crown','#E4D48F','[\"摰䀹䲮䔶髡\",\"瘣餃𢆡霈脣/霂恣韏聢\",\"鞟妖蝝珮"]','lv_08',8,'2026-09-05T00:00:00Z');
INSERT INTO `credit_dimensions` VALUES ('d_activity','activity','',0.05,6,1,'90//','2026-09-05T00:00:00Z'),('d_capability','capability','',0.2,3,1,'𡒊//','2026-09-05T00:00:00Z'),('d_compliance','compliance','',0.1,5,1,'//𡢅','2026-09-05T00:00:00Z'),('d_domain','domain','',0.15,4,1,'//','2026-09-05T00:00:00Z'),('d_performance','performance','',0.3,1,1,'𧒄///','2026-09-05T00:00:00Z'),('d_reputation','reputation','',0.2,2,1,'//𧋦','2026-09-05T00:00:00Z');
INSERT INTO `badges` VALUES ('b_act_course_10','act_course_10','𡁜𡁏','activity','gold','BookFilled',' 10 ','10','{\"type\":\"training_completed_count\",\"op\":\">=\",\"value\":10}',40,1,0,0,21,'active','2026-09-05T00:00:00Z','2026-09-05T00:00:00Z'),('b_act_course_3','act_course_3','','activity','silver','BookFilled',' 3 ','3','{\"type\":\"training_completed_count\",\"op\":\">=\",\"value\":3}',20,1,0,0,20,'active','2026-09-05T00:00:00Z','2026-09-05T00:00:00Z'),('b_act_hours_200','act_hours_200','','activity','platinum','ClockFilled',' 200 𤩺𧒄','200𤩺𧒄','{\"type\":\"training_hours\",\"op\":\">=\",\"value\":200}',40,1,0,0,23,'active','2026-09-05T00:00:00Z','2026-09-05T00:00:00Z'),('b_act_hours_50','act_hours_50','','activity','silver','ClockFilled',' 50 𤩺𧒄','50𤩺𧒄','{\"type\":\"training_hours\",\"op\":\">=\",\"value\":50}',20,1,0,0,22,'active','2026-09-05T00:00:00Z','2026-09-05T00:00:00Z'),('b_act_training','act_training','','activity','bronze','BookFilled','','1','{\"type\":\"training_completed_count\",\"op\":\">=\",\"value\":1}',10,1,0,0,19,'active','2026-09-05T00:00:00Z','2026-09-05T00:00:00Z'),('b_beh_fast_resp','beh_fast_resp','','behavior','bronze','BoltFilled',' 30 𥪜 1 𤩺𧒄','<1𤩺𧒄','{\"type\":\"fast_response\",\"op\":\">=\",\"value\":1}',10,1,0,0,17,'active','2026-09-05T00:00:00Z','2026-09-05T00:00:00Z'),('b_beh_no_cancel','beh_no_cancel','','behavior','gold','UsersGroup',' 50 𡝗','50𡝗','{\"type\":\"task_completed_count\",\"op\":\">=\",\"value\":50}',25,1,1,0,16,'active','2026-09-05T00:00:00Z','2026-09-05T00:00:00Z'),('b_beh_on_time','beh_on_time','𧒄','behavior','silver','AlarmFilled',' 10 ','10','{\"type\":\"on_time_streak\",\"op\":\">=\",\"value\":10}',15,1,1,0,15,'active','2026-09-05T00:00:00Z','2026-09-05T00:00:00Z'),('b_beh_reliable','beh_reliable','','behavior','platinum','CircleCheckFilled','50 𤣰𦒘 95%','50+𤣰95%','{\"all\":[{\"type\":\"task_completed_count\",\"op\":\">=\",\"value\":50},{\"type\":\"acceptance_rate\",\"op\":\">=\",\"value\":0.95}]}',30,1,1,0,18,'active','2026-09-05T00:00:00Z','2026-09-05T00:00:00Z'),('b_cap_10_tasks','cap_10_tasks','','ability','silver','TrophyFilled',' 10 ','10','{\"type\":\"task_completed_count\",\"op\":\">=\",\"value\":10}',20,1,0,0,12,'active','2026-09-05T00:00:00Z','2026-09-05T00:00:00Z'),('b_cap_100_tasks','cap_100_tasks','','ability','platinum','TrophyFilled',' 100 ','100','{\"type\":\"task_completed_count\",\"op\":\">=\",\"value\":100}',50,1,0,0,13,'active','2026-09-05T00:00:00Z','2026-09-05T00:00:00Z'),('b_cap_5star','cap_5star','𦛚','ability','gold','SparkleFilled',' 5 ','55','{\"type\":\"five_star_count\",\"op\":\">=\",\"value\":5}',15,1,0,0,14,'active','2026-09-05T00:00:00Z','2026-09-05T00:00:00Z'),('b_cap_first_task','cap_first_task','','ability','bronze','RocketFilled','','1','{\"type\":\"task_completed_count\",\"op\":\">=\",\"value\":1}',10,1,0,0,11,'active','2026-09-05T00:00:00Z','2026-09-05T00:00:00Z'),('b_cert_enterprise','cert_enterprise','','identity','gold','BuildingFilled','/','','{\"type\":\"cert_count\",\"op\":\">=\",\"value\":1,\"cert_category\":\"enterprise\"}',40,1,1,0,8,'active','2026-09-05T00:00:00Z','2026-09-05T00:00:00Z'),('b_cert_identity','cert_identity','𧼮','identity','bronze','CircleCheckFilled','𧼮','𧼮','{\"type\":\"cert_count\",\"op\":\">=\",\"value\":1,\"cert_category\":\"identity\"}',20,1,1,0,6,'active','2026-09-05T00:00:00Z','2026-09-05T00:00:00Z'),
INSERT INTO `market_categories` VALUES ('mc_03dbdcba925e6d8f5d2fc027','skill','document-office','𧼮','Docs & Office',4,1,'2026-09-03T09:57:18.220764+00:00','2026-09-03T09:57:18.220764+00:00'),('mc_04d80a45c68729e64e8dc781','plugin','developer','','Developer',3,1,'2026-09-03T09:57:18.220764+00:00','2026-09-03T09:57:18.220764+00:00'),('mc_067b55d0b8ced74da6313f6d','app','media','𥕢','Media',5,1,'2026-09-03T09:57:18.220764+00:00','2026-09-03T09:57:18.220764+00:00'),('mc_1c31531a33e7ad34eabf4671','plugin','automation','𢆡','Automation',4,1,'2026-09-03T09:57:18.220764+00:00','2026-09-03T09:57:18.220764+00:00'),('mc_1fa20f7af642694de0f62c8a','skill','data-research','𠉛','Data & Research',3,1,'2026-09-03T09:57:18.220764+00:00','2026-09-03T09:57:18.220764+00:00'),('mc_3e9c683e224e0b0115313d7f','skill','app','𠉛','Apps',1,1,'2026-09-03T09:57:18.220764+00:00','2026-09-03T09:57:18.220764+00:00'),('mc_59f2533398570de1c1c458d0','skill','product-management','','Product',7,1,'2026-09-03T09:57:18.220764+00:00','2026-09-03T09:57:18.220764+00:00'),('mc_5b3b2f5e0f7ff72a58d93607','skill','design-creation','𥕢','Design',5,1,'2026-09-03T09:57:18.220764+00:00','2026-09-03T09:57:18.220764+00:00'),('mc_62c53f1a59e67c071173cbcb','plugin','general','𡁶','General',6,1,'2026-09-03T09:57:18.220764+00:00','2026-09-03T09:57:18.220764+00:00'),('mc_6ce2bb2316acfe1b0e7a9b5d','plugin','productivity','','Productivity',2,1,'2026-09-03T09:57:18.220764+00:00','2026-09-03T09:57:18.220764+00:00'),('mc_6ef475b8b9a2366cfc6a20dc','plugin','app','𠉛','Apps',1,1,'2026-09-03T09:57:18.220764+00:00','2026-09-03T09:57:18.220764+00:00'),('mc_729a0042e014e2c27753138a','app','developer','','Developer',3,1,'2026-09-03T09:57:18.220764+00:00','2026-09-03T09:57:18.220764+00:00'),('mc_7aa912e65f87c6a32d6189fc','plugin','media','𥕢','Media',5,1,'2026-09-03T09:57:18.220764+00:00','2026-09-03T09:57:18.220764+00:00'),('mc_9b8572fb4eb9812fffc2644a','app','productivity','','Productivity',2,1,'2026-09-03T09:57:18.220764+00:00','2026-09-03T09:57:18.220764+00:00'),('mc_9e64514f67a0fa531b1cd4a6','skill','engineering-development','','Engineering',2,1,'2026-09-03T09:57:18.220764+00:00','2026-09-03T09:57:18.220764+00:00'),('mc_a7ce482ced0f24b6f8a3ca90','app','general','𡁶','General',6,1,'2026-09-03T09:57:18.220764+00:00','2026-09-03T09:57:18.220764+00:00'),('mc_c66fe151fdee58862402dbe4','app','app','𠉛','Apps',1,1,'2026-09-03T09:57:18.220764+00:00','2026-09-03T09:57:18.220764+00:00'),('mc_ca9553814b43c37f0afad26a','app','automation','𢆡','Automation',4,1,'2026-09-03T09:57:18.220764+00:00','2026-09-03T09:57:18.220764+00:00'),('mc_faba55ddb54ad4d3873bd1b9','skill','automation-integration','𢆡','Automation',6,1,'2026-09-03T09:57:18.220764+00:00','2026-09-03T09:57:18.220764+00:00');