mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2026-06-30 17:44:27 +00:00
update 优化 岗位表增加逻辑删除字段
This commit is contained in:
@@ -197,6 +197,7 @@ create table if not exists sys_post
|
||||
post_name varchar(50) not null,
|
||||
post_sort int4 not null,
|
||||
status char not null,
|
||||
del_flag char default '0'::bpchar,
|
||||
create_dept int8,
|
||||
create_by int8,
|
||||
create_time timestamp,
|
||||
@@ -216,6 +217,7 @@ comment on column sys_post.post_category is '岗位类别编码';
|
||||
comment on column sys_post.post_name is '岗位名称';
|
||||
comment on column sys_post.post_sort is '显示顺序';
|
||||
comment on column sys_post.status is '状态(0正常 1停用)';
|
||||
comment on column sys_post.del_flag is '删除标志(0代表存在 1代表删除)';
|
||||
comment on column sys_post.create_dept is '创建部门';
|
||||
comment on column sys_post.create_by is '创建者';
|
||||
comment on column sys_post.create_time is '创建时间';
|
||||
@@ -226,10 +228,10 @@ comment on column sys_post.remark is '备注';
|
||||
-- ----------------------------
|
||||
-- 初始化-岗位信息表数据
|
||||
-- ----------------------------
|
||||
insert into sys_post values(1761200000000000001, 1761000000000000103, 'ceo', null, '董事长', 1, '0', 1761000000000000103, 1761100000000000001, now(), null, null, '');
|
||||
insert into sys_post values(1761200000000000002, 1761000000000000100, 'se', null, '项目经理', 2, '0', 1761000000000000103, 1761100000000000001, now(), null, null, '');
|
||||
insert into sys_post values(1761200000000000003, 1761000000000000100, 'hr', null, '人力资源', 3, '0', 1761000000000000103, 1761100000000000001, now(), null, null, '');
|
||||
insert into sys_post values(1761200000000000004, 1761000000000000100, 'user', null, '普通员工', 4, '0', 1761000000000000103, 1761100000000000001, now(), null, null, '');
|
||||
insert into sys_post values(1761200000000000001, 1761000000000000103, 'ceo', null, '董事长', 1, '0', '0', 1761000000000000103, 1761100000000000001, now(), null, null, '');
|
||||
insert into sys_post values(1761200000000000002, 1761000000000000100, 'se', null, '项目经理', 2, '0', '0', 1761000000000000103, 1761100000000000001, now(), null, null, '');
|
||||
insert into sys_post values(1761200000000000003, 1761000000000000100, 'hr', null, '人力资源', 3, '0', '0', 1761000000000000103, 1761100000000000001, now(), null, null, '');
|
||||
insert into sys_post values(1761200000000000004, 1761000000000000100, 'user', null, '普通员工', 4, '0', '0', 1761000000000000103, 1761100000000000001, now(), null, null, '');
|
||||
|
||||
-- ----------------------------
|
||||
-- 4、角色信息表
|
||||
|
||||
Reference in New Issue
Block a user