update dict_data set remark = 'XXWW' where "value" = 'mailbox' and type_id = 7; update dict_data set remark = 'JBTS' where "value" = '110_report_complaints' and type_id = 7; update dict_data set remark = 'SZRX' where "value" = '12345_mayor''s_hotline' and type_id = 7; update dict_data set remark = 'HWWZ' where "value" = 'red_network_politics' and type_id = 7; update dict_data set remark = 'ZJXJ' where "value" = 'create_your_own_letters' and type_id = 7; update dict_data set remark = 'XXTS' where "value" = 'petition_complaints' and type_id = 7; update dict_data set remark = 'XXYQ' where "value" = 'news_opinion' and type_id = 7; update mail m set m.contact_police_emp_no = p.emp_no from police_user p where m.contact_police_emp_no is not null and m.contact_Police_name = p.name and m.three_dept_id = p.dept_ids; ALTER TABLE "mailbox"."mail_co_handling" ADD COLUMN "dept_name" text; COMMENT ON COLUMN "mailbox"."mail_co_handling"."dept_name" IS '部门名称';