sql脚本提交

pull/1/head
liu 12 months ago
parent 7ea4900347
commit a40a202d7f

@ -31,13 +31,17 @@ alter table vp_ask_template_question_library
alter table vp_diagnosis_qa_record alter table vp_diagnosis_qa_record
add match_type int not null default 1 comment '匹配类型 1相似度匹配 2大模型回答' after process_id; add match_type int not null default 1 comment '匹配类型 1相似度匹配 2大模型回答' after process_id;
alter table vp_diagnosis_qa_record modify question_library_id varchar (64) null comment '问题ID(如果走了相似问,则记录匹配到的问题ID)'; alter table vp_diagnosis_qa_record
modify question_library_id varchar(64) null comment '问题ID(如果走了相似问,则记录匹配到的问题ID)';
alter table vp_diagnosis_qa_record drop column question_wav_id; alter table vp_diagnosis_qa_record
drop column question_wav_id;
alter table vp_diagnosis_qa_record drop column answer_type; alter table vp_diagnosis_qa_record
drop column answer_type;
alter table vp_diagnosis_qa_record drop column answer_wav_id; alter table vp_diagnosis_qa_record
drop column answer_wav_id;
create table vp_ask_circulation_detail create table vp_ask_circulation_detail
( (
@ -66,4 +70,21 @@ create table vp_ask_circulation_detail
) comment '问诊流程详细流转记录表'; ) comment '问诊流程详细流转记录表';
alter table vp_ask_template_question_library change description standard_question varchar (255) null comment '中文注释 用户设置的问题 原本字段是description'; alter table vp_ask_template_question_library
change description standard_question varchar(255) null comment '中文注释 用户设置的问题 原本字段是description';
alter table vp_diagnosis_qa_record
add feedback_too_long int default 0 null comment '回答过于冗长,选中为1';
alter table vp_diagnosis_qa_record
add feedback_error int default 0 null comment '答非所问 选中为1';
alter table vp_diagnosis_qa_record
add feedback_too_short int default 0 null comment '回答过于简洁 选中为1';
alter table vp_diagnosis_qa_record
add feedback_type int not null default 1 comment '反馈类型(1合理 2不合理) 默认为合理';
alter table vp_process
add evaluate_level int null comment '评价级别 1可靠 2基本可靠 3仅供参考';
alter table vp_process
add evaluate_remark varchar(1024) null comment '评价备注内容';

Loading…
Cancel
Save