|
@ -570,6 +570,36 @@ CREATE TABLE `wlyy_sign_family` (
|
|
|
KEY `idx_type` (`type`,`status`,`expenses_status`,`apply_date`,`sign_year`) USING BTREE
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COMMENT='家庭签约/三师签约';
|
|
|
|
|
|
CREATE TABLE `wlyy_doctor_registration_temp` (
|
|
|
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '业务无关主键',
|
|
|
`code` varchar(50) NOT NULL COMMENT '二级模板标识',
|
|
|
`doctor` varchar(50) DEFAULT NULL COMMENT '医生标识',
|
|
|
`registration` varchar(50) DEFAULT NULL COMMENT '一级模板标识',
|
|
|
`content` text COMMENT '服务登记内容',
|
|
|
`send_times` int(11) DEFAULT NULL COMMENT '发送次数',
|
|
|
`create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间',
|
|
|
`last_time` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '最后一次发送时间',
|
|
|
PRIMARY KEY (`id`),
|
|
|
KEY `idx_code` (`code`) USING BTREE,
|
|
|
KEY `idx_owner` (`doctor`) USING BTREE
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COMMENT='医生登记服务模板表';
|
|
|
|
|
|
CREATE TABLE `wlyy_doctor_registration` (
|
|
|
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
|
|
|
`code` varchar(50) NOT NULL COMMENT '登记服务一级模板编码',
|
|
|
`model_name` varchar(50) DEFAULT NULL COMMENT '模板名称',
|
|
|
`create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间',
|
|
|
`is_hide` int(2) NOT NULL DEFAULT '0' COMMENT '是否隐藏 0 隐藏 1不隐藏',
|
|
|
PRIMARY KEY (`id`)
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;
|
|
|
|
|
|
INSERT INTO `wlyy_doctor_registration` (`id`, `code`, `model_name`, `create_time`, `is_hide`) VALUES ('1', '1', '主诉记录', '2019-03-14 10:14:07', '0');
|
|
|
INSERT INTO `wlyy_doctor_registration` (`id`, `code`, `model_name`, `create_time`, `is_hide`) VALUES ('2', '2', '现病史', '2019-03-14 10:14:24', '0');
|
|
|
INSERT INTO `wlyy_doctor_registration` (`id`, `code`, `model_name`, `create_time`, `is_hide`) VALUES ('3', '3', '既往史、个人史、家族史', '2019-03-14 10:15:25', '0');
|
|
|
INSERT INTO `wlyy_doctor_registration` (`id`, `code`, `model_name`, `create_time`, `is_hide`) VALUES ('4', '4', '体格检查', '2019-03-14 10:15:49', '0');
|
|
|
INSERT INTO `wlyy_doctor_registration` (`id`, `code`, `model_name`, `create_time`, `is_hide`) VALUES ('5', '5', '既往辅助检查', '2019-03-14 10:16:09', '0');
|
|
|
INSERT INTO `wlyy_doctor_registration` (`id`, `code`, `model_name`, `create_time`, `is_hide`) VALUES ('6', '6', '诊断记录', '2019-03-14 10:16:23', '0');
|
|
|
INSERT INTO `wlyy_doctor_registration` (`id`, `code`, `model_name`, `create_time`, `is_hide`) VALUES ('7', '7', '治疗情况', '2019-03-14 10:16:38', '0');
|
|
|
|
|
|
|
|
|
INSERT INTO `base`.`base_doctor_role_dict` ( `code`, `name`, `del`, `create_user`, `create_user_name`, `create_time`, `update_user`, `update_user_name`, `update_time`) VALUES ( 'dispatcher', '调度员', '1', 'admin', '系统默认', '2020-12-29 11:38:31', NULL, NULL, '2020-12-29 11:38:26');
|