update_5.1.2-5.2.0.sql 899 B

1234567891011121314151617181920212223242526272829
  1. ALTER TABLE sys_dept ADD dept_category nvarchar(100) DEFAULT NULL
  2. EXEC sp_addextendedproperty
  3. 'MS_Description', N'部门类别编码',
  4. 'SCHEMA', N'dbo',
  5. 'TABLE', N'sys_dept',
  6. 'COLUMN', N'dept_category'
  7. GO
  8. ALTER TABLE sys_post ADD dept_id bigint NOT NULL
  9. GO
  10. ALTER TABLE sys_post ADD post_category nvarchar(100) DEFAULT NULL
  11. GO
  12. EXEC sp_addextendedproperty
  13. 'MS_Description', N'部门id',
  14. 'SCHEMA', N'dbo',
  15. 'TABLE', N'sys_post',
  16. 'COLUMN', N'dept_id'
  17. GO
  18. EXEC sp_addextendedproperty
  19. 'MS_Description', N'岗位类别编码',
  20. 'SCHEMA', N'dbo',
  21. 'TABLE', N'sys_post',
  22. 'COLUMN', N'post_category'
  23. GO
  24. UPDATE sys_post SET dept_id = 100
  25. GO
  26. UPDATE sys_post SET dept_id = 103 where post_id = 1
  27. GO
  28. UPDATE sys_menu SET path = N'snailjob', component = N'monitor/snailjob/index', perms = N'monitor:snailjob:list', remark = N'SnailJob控制台菜单' WHERE menu_id = 120
  29. GO