mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2026-06-28 00:24:24 +00:00
update 优化 岗位表增加逻辑删除字段
This commit is contained in:
@@ -198,6 +198,7 @@ create table sys_post (
|
||||
post_name varchar2(50) not null,
|
||||
post_sort number(4) not null,
|
||||
status char(1) not null,
|
||||
del_flag char(1) default '0',
|
||||
create_dept number(20) default null,
|
||||
create_by number(20) default null,
|
||||
create_time date,
|
||||
@@ -218,6 +219,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 '创建时间';
|
||||
@@ -228,10 +230,10 @@ comment on column sys_post.remark is '备注';
|
||||
-- ----------------------------
|
||||
-- 初始化-岗位信息表数据
|
||||
-- ----------------------------
|
||||
insert into sys_post values(1761200000000000001, 1761000000000000103, 'ceo', null, '董事长', 1, '0', 1761000000000000103, 1761100000000000001, sysdate, NULL, null, '');
|
||||
insert into sys_post values(1761200000000000002, 1761000000000000100, 'se', null, '项目经理', 2, '0', 1761000000000000103, 1761100000000000001, sysdate, NULL, null, '');
|
||||
insert into sys_post values(1761200000000000003, 1761000000000000100, 'hr', null, '人力资源', 3, '0', 1761000000000000103, 1761100000000000001, sysdate, NULL, null, '');
|
||||
insert into sys_post values(1761200000000000004, 1761000000000000100, 'user', null, '普通员工', 4, '0', 1761000000000000103, 1761100000000000001, sysdate, NULL, null, '');
|
||||
insert into sys_post values(1761200000000000001, 1761000000000000103, 'ceo', null, '董事长', 1, '0', '0', 1761000000000000103, 1761100000000000001, sysdate, NULL, null, '');
|
||||
insert into sys_post values(1761200000000000002, 1761000000000000100, 'se', null, '项目经理', 2, '0', '0', 1761000000000000103, 1761100000000000001, sysdate, NULL, null, '');
|
||||
insert into sys_post values(1761200000000000003, 1761000000000000100, 'hr', null, '人力资源', 3, '0', '0', 1761000000000000103, 1761100000000000001, sysdate, NULL, null, '');
|
||||
insert into sys_post values(1761200000000000004, 1761000000000000100, 'user', null, '普通员工', 4, '0', '0', 1761000000000000103, 1761100000000000001, sysdate, NULL, null, '');
|
||||
|
||||
|
||||
-- ----------------------------
|
||||
|
||||
Reference in New Issue
Block a user