|
@ -1688,6 +1688,30 @@ alter table t_mediicine_order add column reviewer_doctor_name varchar(255) defau
|
|
|
alter table base_ylz_medical_relation add column equ_num varchar(100) DEFAULT NULL COMMENT '设备号';
|
|
|
|
|
|
--2025-01-10
|
|
|
|
|
|
CREATE TABLE `t_medicine_patient_log` (
|
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
`equ_num` varchar(50) DEFAULT NULL COMMENT '设备编号',
|
|
|
`org_code` varchar(50) DEFAULT NULL COMMENT '机构编码',
|
|
|
`method_type` varchar(50) DEFAULT NULL COMMENT '业务类型',
|
|
|
`method_url` varchar(500) DEFAULT NULL COMMENT '请求url',
|
|
|
`method_name` varchar(50) DEFAULT NULL,
|
|
|
`card_no` varchar(50) DEFAULT NULL COMMENT '卡号',
|
|
|
`idcard` varchar(50) DEFAULT NULL COMMENT '身份证',
|
|
|
`name` varchar(50) DEFAULT NULL,
|
|
|
`req` text COMMENT '请求参数',
|
|
|
`res` text COMMENT '返回内容',
|
|
|
`status` tinyint(1) DEFAULT NULL COMMENT '状态1成功 0失败',
|
|
|
`error` text COMMENT '错误内容',
|
|
|
`req_time` int(11) DEFAULT NULL COMMENT '请求时长毫秒',
|
|
|
`create_time` datetime DEFAULT NULL,
|
|
|
PRIMARY KEY (`id`),
|
|
|
KEY `index1` (`equ_num`,`org_code`),
|
|
|
KEY `index2` (`card_no`,`idcard`,`name`),
|
|
|
KEY `index3` (`method_type`,`create_time`)
|
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='药柜居民请求日志';
|
|
|
|
|
|
|
|
|
ALTER TABLE `base`.`advertisement_putting_admin`
|
|
|
ADD COLUMN `publish_location` int(11) NULL COMMENT '发布位置(0广告位、1banner位、2动态列表)' AFTER `title`,
|
|
|
ADD COLUMN `sort` int(11) NULL COMMENT '排序' AFTER `forbidden`;
|