新增功能
This commit is contained in:
@@ -14,7 +14,7 @@ CREATE TABLE IF NOT EXISTS `zyt_doctor_appointment` (
|
||||
`create_time` int(10) unsigned DEFAULT NULL COMMENT '创建时间',
|
||||
`update_time` int(10) unsigned DEFAULT NULL COMMENT '更新时间',
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `unique_appointment` (`doctor_id`,`appointment_date`,`appointment_time`,`status`) USING BTREE,
|
||||
KEY `idx_doctor_date_time_status` (`doctor_id`,`appointment_date`,`appointment_time`,`status`) USING BTREE,
|
||||
KEY `idx_patient` (`patient_id`) USING BTREE,
|
||||
KEY `idx_doctor_date` (`doctor_id`,`appointment_date`) USING BTREE,
|
||||
KEY `idx_roster` (`roster_id`) USING BTREE
|
||||
|
||||
@@ -18,6 +18,7 @@ CREATE TABLE IF NOT EXISTS `zyt_tcm_diagnosis` (
|
||||
`prescription` text COMMENT '处方',
|
||||
`doctor_advice` text COMMENT '医嘱',
|
||||
`remark` text COMMENT '备注',
|
||||
`current_medications` varchar(2000) NOT NULL DEFAULT '' COMMENT '在用药物',
|
||||
`status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态:0-禁用 1-启用',
|
||||
`create_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间',
|
||||
`update_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间',
|
||||
|
||||
Reference in New Issue
Block a user