add 新增岗位编码与部门编码 并将岗位放到部门下

This commit is contained in:
疯狂的狮子Li
2024-04-25 00:22:04 +08:00
parent 3b1e0064c1
commit bffbb28eed
21 changed files with 223 additions and 61 deletions

View File

@@ -0,0 +1,4 @@
ALTER TABLE sys_dept ADD dept_category VARCHAR(100) DEFAULT NULL COMMENT '部门类别编码';
ALTER TABLE sys_post ADD dept_id BIGINT(20) NOT NULL COMMENT '部门id', ADD post_category VARCHAR(100) DEFAULT NULL COMMENT '岗位类别编码';
UPDATE sys_post SET dept_id = 100;
UPDATE sys_post SET dept_id = 103 where post_id = 1;