mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2026-04-23 10:58:34 +08:00
add 新增岗位编码与部门编码 并将岗位放到部门下
This commit is contained in:
8
sql/update/oracle/update_2.1.2-2.2.0.sql
Normal file
8
sql/update/oracle/update_2.1.2-2.2.0.sql
Normal file
@@ -0,0 +1,8 @@
|
||||
ALTER TABLE sys_dept ADD (dept_category varchar2(100) DEFAULT NULL) COMMENT '部门类别编码';
|
||||
COMMENT ON COLUMN sys_dept.dept_category IS '部门类别编码';
|
||||
ALTER TABLE sys_post ADD (dept_id number(20) NOT NULL) COMMENT '部门id';
|
||||
COMMENT ON COLUMN sys_post.dept_id IS '部门id';
|
||||
ALTER TABLE sys_post ADD (post_category VARCHAR2(100) DEFAULT NULL) COMMENT '岗位类别编码';
|
||||
COMMENT ON COLUMN sys_post.post_category IS '岗位类别编码';
|
||||
UPDATE sys_post SET dept_id = 100;
|
||||
UPDATE sys_post SET dept_id = 103 where post_id = 1;
|
||||
Reference in New Issue
Block a user