INSERT INTO "mailbox"."flow_node"("key", "before_name", "full_name", "limited_time", "web_components", "sort", "after_name") VALUES ('sign', '待签收', '省厅专班签收', 86400, 'MainContactInfo,MailTypeForm', 1, NULL);
INSERT INTO "mailbox"."flow_node"("key", "before_name", "full_name", "limited_time", "web_components", "sort", "after_name") VALUES ('distribute', '待下发', '省厅专班下发', 86400, 'MainContactInfo,DeptSelectForm', 2, NULL);
INSERT INTO "mailbox"."flow_node"("key", "before_name", "full_name", "limited_time", "web_components", "sort", "after_name") VALUES ('first_sign', '待签收', '市局专班签收', 86400, 'MainContactInfo', 3, NULL);
INSERT INTO "mailbox"."flow_node"("key", "before_name", "full_name", "limited_time", "web_components", "sort", "after_name") VALUES ('first_distribute', '待下发', '市局专班下发', 86400, 'MainContactInfo,DeptSelectForm', 4, NULL);
INSERT INTO "mailbox"."flow_node"("key", "before_name", "full_name", "limited_time", "web_components", "sort", "after_name") VALUES ('second_sign', '待签收', '二级机构专班签收', 86400, 'MainContactInfo,MainContactInfo', 5, NULL);
INSERT INTO "mailbox"."flow_node"("key", "before_name", "full_name", "limited_time", "web_components", "sort", "after_name") VALUES ('second_distribute', '待下发', '二级机构专班下发', 86400, 'MainContactInfo,DeptSelectForm', 6, NULL);
INSERT INTO "mailbox"."flow_node"("key", "before_name", "full_name", "limited_time", "web_components", "sort", "after_name") VALUES ('three_sign', '待签收', '三级机构专班签收', 86400, 'MainContactInfo,MainContactInfo', 7, NULL);
INSERT INTO "mailbox"."flow_node"("key", "before_name", "full_name", "limited_time", "web_components", "sort", "after_name") VALUES ('contact_writer', '联系群众', '三级机构专班联系群众', 172800, 'MainContactInfo,ThreeHandling', 8, NULL);
INSERT INTO "mailbox"."flow_node"("key", "before_name", "full_name", "limited_time", "web_components", "sort", "after_name") VALUES ('interview_writer', '接访群众', '接访群众', 345600, 'MainContactInfo,ThreeHandling', 9, NULL);
INSERT INTO "mailbox"."flow_node"("key", "before_name", "full_name", "limited_time", "web_components", "sort", "after_name") VALUES ('verify', '核查办理', '核查办理', 432000, 'MainContactInfo,ThreeHandling', 10, NULL);
INSERT INTO "mailbox"."flow_node"("key", "before_name", "full_name", "limited_time", "web_components", "sort", "after_name") VALUES ('three_leader_approval', '待审批', '三级机构领导审批', 432000, 'MailApprovalDetail', 11, NULL);
INSERT INTO "mailbox"."flow_node"("key", "before_name", "full_name", "limited_time", "web_components", "sort", "after_name") VALUES ('second_approval', '待审批', '二级机构专班审批', 432000, 'MailApprovalDetail,Comments', 12, NULL);
INSERT INTO "mailbox"."flow_node"("key", "before_name", "full_name", "limited_time", "web_components", "sort", "after_name") VALUES ('second_deputy_approval', '待审批', '二级机构分管领导审批', 432000, 'MailApprovalDetail,Comments', 13, NULL);
INSERT INTO "mailbox"."flow_node"("key", "before_name", "full_name", "limited_time", "web_components", "sort", "after_name") VALUES ('second_leader_approval', '待审批', '二级机构正职领导审批', 432000, 'MailApprovalDetail,Comments', 14, NULL);
INSERT INTO "mailbox"."flow_node"("key", "before_name", "full_name", "limited_time", "web_components", "sort", "after_name") VALUES ('second_reporting', '待呈报', '二级机构专班呈报', 432000, 'MailApprovalDetail,Comments', 15, NULL);
INSERT INTO "mailbox"."flow_node"("key", "before_name", "full_name", "limited_time", "web_components", "sort", "after_name") VALUES ('first_approval', '待审批', '市局专班审批', 432000, 'MailApprovalDetail,Comments', 16, NULL);
INSERT INTO "mailbox"."flow_node"("key", "before_name", "full_name", "limited_time", "web_components", "sort", "after_name") VALUES ('first_leader_approval', '待审批', '市局领导审批', 432000, 'MailApprovalDetail,Comments', 18, NULL);
INSERT INTO "mailbox"."flow_node"("key", "before_name", "full_name", "limited_time", "web_components", "sort", "after_name") VALUES ('countersign', '待会签', '部门会签', 432000, 'MailApprovalDetail,CountersignForm', 99, NULL);
INSERT INTO "mailbox"."flow_node"("key", "before_name", "full_name", "limited_time", "web_components", "sort", "after_name") VALUES ('co_handling', '协办核查', '协办核查', 432000, 'MainContactInfo, CoHandling', 99, NULL);
INSERT INTO "mailbox"."flow_node"("key", "before_name", "full_name", "limited_time", "web_components", "sort", "after_name") VALUES ('completion', '认定办结', '认定办结', 432000, 'MailApprovalDetail,CompletionDetail', 99, NULL);
INSERT INTO "mailbox"."flow_node"("key", "before_name", "full_name", "limited_time", "web_components", "sort", "after_name") VALUES ('approval', '待审批', '省厅专班审批', 432000, 'MailApprovalDetail,Comments', 17, NULL);

INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (1, NULL, 1, '投诉类', 1);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (2, NULL, 1, '举报类', 2);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (6, NULL, 1, '无效类', 6);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (7, NULL, 1, '终止类', 7);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (10, 9, 3, '接处警不规范', 10);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (11, 9, 3, '受立案不规范', 11);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (12, 9, 3, '违规使用枪支警械', 12);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (14, 9, 3, '暴力执法', 14);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (16, 9, 3, '不作为、慢作为', 16);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (17, 9, 3, '乱作为', 17);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (9, 1, 2, '投诉执法行为', 9);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (8, 21, 3, '接处警不规范', 8);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (37, 2, 2, '举报案件线索', 37);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (39, 3, 2, '业务咨询', 39);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (40, 3, 2, '业务催办', 40);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (41, 40, 3, '催促警情处置', 41);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (42, 40, 3, '催促案件办理', 42);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (43, 40, 3, '催促各类证件办理进度', 43);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (44, 40, 3, '催办银行卡账号冻结/解冻', 44);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (45, 40, 3, '催办其他公安业务事项', 45);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (46, 3, 2, '业务求助', 46);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (48, 4, 2, '民生服务', 48);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (13, 9, 3, '执法过程，方式简单粗暴、态度恶劣', 13);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (15, 9, 3, '包庇纵容、充当保护伞', 15);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (18, 9, 3, '违规查封扣押冻结及处置涉案财物', 18);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (19, 9, 3, '执法不公正', 19);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (20, 9, 3, '办关系案、人情案', 20);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (21, 9, 3, '对法律文书和鉴定结论不认可', 21);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (23, 9, 3, '非法搜查拘禁，滥用强制措施，刑讯逼供，体罚虐待嫌疑人', 23);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (50, 9, 3, '违规插手经济纠纷', 50);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (51, 9, 3, '违规处罚收费', 51);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (52, 9, 3, '对辖区黄赌毒等治安突出问题打击不力', 52);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (53, 9, 3, '错录公民违法犯罪信息', 53);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (54, 9, 3, '其他执法不规范行为', 54);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (24, 1, 2, '投诉服务管理行为', 24);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (25, 24, 3, '态度生硬恶劣', 25);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (27, 24, 3, '推诿扯皮，办事拖拉、效率低', 27);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (26, 24, 3, '违规办理证照', 26);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (55, 24, 3, '未履行一次性告知义务', 55);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (56, 24, 3, '吃拿卡要，乱收费', 56);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (57, 24, 3, '其他服务管理行为', 57);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (28, 1, 2, '投诉内部管理行为', 28);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (30, 28, 3, '队伍管理不善', 30);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (29, 28, 3, '工作作风问题', 29);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (31, 28, 3, '公安管理措施、便民设施不规范', 31);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (32, 28, 3, '其他内部管理行为', 32);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (33, 1, 2, '投诉违反党纪政纪行为', 33);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (34, 33, 3, '违反组织人事纪律', 34);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (35, 33, 3, '贪污受贿违反廉洁纪律', 35);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (36, 33, 3, '违反社会公德、生活作风', 36);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (58, 33, 3, '从事营利性经营活动', 58);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (59, 33, 3, '违反政治纪律', 59);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (60, 33, 3, '其他违反党纪政纪行为', 60);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (61, 1, 2, '投诉违反警纪行为', 61);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (62, 61, 3, '泄露警务工作秘密', 62);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (63, 61, 3, '参与黄赌毒', 63);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (64, 61, 3, '侵犯公民个人信息', 64);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (65, 61, 3, '滥用职权', 65);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (66, 61, 3, '违反内务管理规定', 66);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (67, 61, 3, '违反车、枪、酒相关规定', 67);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (68, 61, 3, '其他违反警纪行为', 68);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (38, 2, 2, '举报警务人员违纪违法', 38);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (47, 4, 2, '执法建议', 47);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (49, NULL, 1, '感谢信类', 49);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (69, 9, 3, '对处理结果不满意', 55);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (70, 7, 2, '重复来信', 70);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (71, 7, 2, '投诉撤销', 71);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (72, 7, 2, '非职能管辖', 72);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (73, 7, 2, '诉求不明晰', 73);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (74, 7, 2, '涉拆涉访', 74);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (75, 7, 2, '来件正在办理', 75);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (77, 7, 2, '其他原因', 77);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (76, 7, 2, '不接受报警业务', 76);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (78, 7, 2, '无理诉求', 78);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (79, 7, 2, '恶意投诉', 79);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (80, 7, 2, '案件已办理', 80);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (81, 7, 2, '涉众金融案件', 81);
INSERT INTO "mailbox"."mail_category"("key", "parent_key", "level", "name", "order_no") VALUES (3, NULL, 1, '咨询建议类', 3);
