From ed6c13781430a70ed2e4bd6343b78cb134dc7d94 Mon Sep 17 00:00:00 2001 From: zy_Java <654600784@qq.com> Date: Fri, 21 May 2021 09:09:31 +0800 Subject: [PATCH] =?UTF-8?q?ht=E6=96=B0=E5=A2=9E=E6=8A=A5=E5=91=8A=E5=8D=95?= =?UTF-8?q?=E5=85=B3=E8=81=94=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 外部项目/山大/ht.sql | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/外部项目/山大/ht.sql b/外部项目/山大/ht.sql index e169be6..6f7daa0 100644 --- a/外部项目/山大/ht.sql +++ b/外部项目/山大/ht.sql @@ -727,3 +727,25 @@ CREATE TABLE `t_ht_title` ( ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '职称表' ROW_FORMAT = Dynamic; SET FOREIGN_KEY_CHECKS = 1; + + + +-- 20210518添加“初步印象表”和“受试者合作评分表” + +-- 初步印象表 +DROP TABLE IF EXISTS `t_ht_report_relevance`; +CREATE TABLE `t_ht_report_relevance` ( + `id` bigint(20) NOT NULL, + `report_code` varchar(20) DEFAULT '' COMMENT '报告单类型', + `report_id` bigint(20) NULL DEFAULT 0 COMMENT '报告单ID', + `impression` varchar(64) DEFAULT '' COMMENT '初步印象', + `socre` int(11) DEFAULT 0 COMMENT '受试者合作评分 01234对应表内ABCDE', + `pdf_url` varchar(64) DEFAULT '' COMMENT '导出的pdf', + + `create_time` timestamp NOT NULL DEFAULT current_timestamp COMMENT ' 创建时间 ', + `update_time` timestamp NOT NULL DEFAULT current_timestamp ON UPDATE CURRENT_TIMESTAMP COMMENT ' 修改时间 ', + `is_del` tinyint(1) UNSIGNED NULL DEFAULT 0 COMMENT ' 是否删除(1:是 0:否) ', + PRIMARY KEY (`id`) USING BTREE, + INDEX `impression_report_index`(`report_id`) USING BTREE +) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '报告单关联-初步印象与受试者合作评分表' ROW_FORMAT = Dynamic; +