Kaynağa Gözat

数据库脚本总结

gaodm 5 yıl önce
ebeveyn
işleme
75c58ad4dc

+ 4 - 0
docs/030.20200224预问诊交互方式改成QA/init_prec.sql

@@ -1,6 +1,10 @@
 use `sys-prec`;
 
 alter table `prec_question_info` add  column `exclusion_detail` varchar(100) DEFAULT '' COMMENT '互斥选项(如1,2|3,4(1,2互斥,3,4互斥))' AFTER `required`;
+ALTER TABLE `prec_question_info` MODIFY COLUMN `control_type` tinyint(4) NOT NULL DEFAULT '0' COMMENT '控件类型(0:无类型,默认值 1:单选 2:多选 3:多行输入,生命体征 4:上传图片 5:文本域,自行服药 6:文本框 7:数字文本框 8:多选伴无,9:时间带单位, 10:温度拨盘)';
+
+INSERT INTO `prec_dictionary_info` (`is_deleted`, `gmt_create`, `gmt_modified`, `creator`, `modifier`, `group_type`, `name`, `val`, `return_type`, `order_no`, `remark`) VALUES ('N', '1970-01-01 12:00:00', '1970-01-01 12:00:00', '0', '0', '2', '温度拨盘', '10', '1', '99', '单标签组件类型');
+
 
 DROP TABLE IF EXISTS `prec_statistical`;
 CREATE TABLE `prec_statistical` (