局长信箱-后台服务
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

6 lines
253 B

ALTER TABLE "mailbox"."mail_mark"
ADD COLUMN "first_dept_id" varchar(40);
COMMENT ON COLUMN "mailbox"."mail_mark"."first_dept_id" IS '市州单位ID';
update mail_mark mm set mm.first_dept_id = m.first_dept_id from mail m where mm.mail_id = m.id;