ALTER TABLE mail_category
ALTER COLUMN order_no
TYPE int;

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