From 94c1102c91732cfb4ef878294d45db4b81e16e0f Mon Sep 17 00:00:00 2001 From: Chengliang <1546584672@qq.com> Date: Fri, 11 Nov 2022 09:14:30 +0800 Subject: [PATCH] =?UTF-8?q?sql=E5=A2=9E=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/表结构SQL/MySQL.sql | 6 +++--- docs/表结构SQL/SqlServer.sql | 37 ++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 3 deletions(-) diff --git a/docs/表结构SQL/MySQL.sql b/docs/表结构SQL/MySQL.sql index e203c978..20cd2025 100644 --- a/docs/表结构SQL/MySQL.sql +++ b/docs/表结构SQL/MySQL.sql @@ -580,12 +580,12 @@ create table JCL_ORG_CARDACCESS ( -- JCL_ORG_CARDBUTTON create table JCL_ORG_CARDBUTTON ( - id BIGINT auto_increment not null, + id int auto_increment not null, name varchar(255) not null, status int null, url varchar(255) null, - role varchar(2000) null, - defaults int not null, + roles varchar(2000) null, + sys_default int not null, creator int null, delete_type int null, create_time date null, diff --git a/docs/表结构SQL/SqlServer.sql b/docs/表结构SQL/SqlServer.sql index 77fe7efc..8bdb7c43 100644 --- a/docs/表结构SQL/SqlServer.sql +++ b/docs/表结构SQL/SqlServer.sql @@ -532,4 +532,41 @@ create table JCL_ORG_DETACH ( create_time date null, update_time date null, constraint JCL_ORG_DETACH_PK primary key (id) +); + + + +-- DROP TABLE JCL_ORG_CARDACCESS; +CREATE TABLE JCL_ORG_CARDACCESS ( + id int IDENTITY(1,1) NOT NULL, + type_id int NOT NULL, + type_name varchar(50) NOT NULL, + status int NULL, + all_people int NULL, + superior int NULL, + all_superior int NULL, + custom varchar(2000) NULL, + delete_type int NULL, + creator int NULL, + create_time date NULL, + update_time date NULL, + CONSTRAINT JCL_ORG_CARDACCESS_PK PRIMARY KEY (id) +); + + + + +-- DROP TABLE JCL_ORG_CARDBUTTON; +CREATE TABLE JCL_ORG_CARDBUTTON ( + id int IDENTITY(1,1) NOT NULL, + name varchar(255) NOT NULL, + status int NULL, + url varchar(255) NULL, + roles varchar(2000) NULL, + sys_default int NOT NULL, + creator int NULL, + delete_type int NULL, + create_time date NULL, + update_time date NULL, + CONSTRAINT JCL_ORG_CARDBUTTON_PK PRIMARY KEY (id) ); \ No newline at end of file