mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2025-10-18 07:43:56 +00:00
add 添加业务表状态更新示例
This commit is contained in:
@@ -27,6 +27,7 @@ create table test_leave
|
||||
end_date datetime not null comment '结束时间',
|
||||
leave_days int(10) not null comment '请假天数',
|
||||
remark varchar(255) null comment '请假原因',
|
||||
status varchar(255) null comment '状态',
|
||||
create_dept bigint null comment '创建部门',
|
||||
create_by bigint null comment '创建者',
|
||||
create_time datetime null comment '创建时间',
|
||||
|
@@ -30,6 +30,7 @@ create table TEST_LEAVE
|
||||
END_DATE DATE,
|
||||
LEAVE_DAYS NUMBER(10),
|
||||
REMARK VARCHAR2(255),
|
||||
STATUS VARCHAR2(255),
|
||||
CREATE_DEPT NUMBER(20),
|
||||
CREATE_BY NUMBER(20),
|
||||
CREATE_TIME DATE,
|
||||
@@ -45,6 +46,7 @@ comment on column TEST_LEAVE.START_DATE is '开始时间';
|
||||
comment on column TEST_LEAVE.END_DATE is '结束时间';
|
||||
comment on column TEST_LEAVE.LEAVE_DAYS is '请假天数';
|
||||
comment on column TEST_LEAVE.REMARK is '请假原因';
|
||||
comment on column TEST_LEAVE.STATUS is '状态';
|
||||
comment on column TEST_LEAVE.CREATE_DEPT is '创建部门';
|
||||
comment on column TEST_LEAVE.CREATE_BY is '创建者';
|
||||
comment on column TEST_LEAVE.CREATE_TIME is '创建时间';
|
||||
|
@@ -29,6 +29,7 @@ create table test_leave
|
||||
end_date timestamp,
|
||||
leave_days bigint,
|
||||
remark varchar(255),
|
||||
status varchar(255),
|
||||
create_dept bigint,
|
||||
create_by bigint,
|
||||
create_time timestamp,
|
||||
@@ -49,6 +50,8 @@ comment on column test_leave.end_date is '结束时间';
|
||||
|
||||
comment on column test_leave.remark is '请假原因';
|
||||
|
||||
comment on column test_leave.status is '状态';
|
||||
|
||||
comment on column test_leave.create_dept is '创建部门';
|
||||
|
||||
comment on column test_leave.create_by is '创建者';
|
||||
|
@@ -28,6 +28,7 @@ create table test_leave
|
||||
end_date datetime2 not null,
|
||||
leave_days int not null,
|
||||
remark nvarchar(255),
|
||||
status nvarchar(255),
|
||||
create_dept bigint,
|
||||
create_by bigint,
|
||||
create_time datetime2,
|
||||
@@ -61,6 +62,9 @@ go
|
||||
exec sp_addextendedproperty 'MS_Description', N'请假原因', 'SCHEMA', 'dbo', 'TABLE', 'test_leave', 'COLUMN', 'remark'
|
||||
go
|
||||
|
||||
exec sp_addextendedproperty 'MS_Description', N'状态', 'SCHEMA', 'dbo', 'TABLE', 'test_leave', 'COLUMN', 'status'
|
||||
go
|
||||
|
||||
exec sp_addextendedproperty 'MS_Description', N'创建部门', 'SCHEMA', 'dbo', 'TABLE', 'test_leave', 'COLUMN',
|
||||
'create_dept'
|
||||
go
|
||||
|
Reference in New Issue
Block a user