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.

7 lines
306 B

ALTER TABLE sys_dept
ADD COLUMN dept_category VARCHAR(100) DEFAULT NULL COMMENT '部门类别编码';
ALTER TABLE sys_post
ADD COLUMN dept_id BIGINT NOT NULL COMMENT '部门id',
ADD COLUMN post_category VARCHAR(100) DEFAULT NULL COMMENT '岗位类别编码';
UPDATE sys_post SET dept_id = 100;