update_5.1.2-5.2.0.sql 707 B

123456789
  1. ALTER TABLE sys_dept ADD (dept_category varchar2(100) DEFAULT NULL) COMMENT '部门类别编码';
  2. COMMENT ON COLUMN sys_dept.dept_category IS '部门类别编码';
  3. ALTER TABLE sys_post ADD (dept_id number(20) NOT NULL) COMMENT '部门id';
  4. COMMENT ON COLUMN sys_post.dept_id IS '部门id';
  5. ALTER TABLE sys_post ADD (post_category VARCHAR2(100) DEFAULT NULL) COMMENT '岗位类别编码';
  6. COMMENT ON COLUMN sys_post.post_category IS '岗位类别编码';
  7. UPDATE sys_post SET dept_id = 100;
  8. UPDATE sys_post SET dept_id = 103 where post_id = 1;
  9. UPDATE sys_menu SET path = 'snailjob', component = 'monitor/snailjob/index', perms = 'monitor:snailjob:list', remark = 'SnailJob控制台菜单' WHERE menu_id = 120;