alter table vp_medical_rec modify status integer default 0 null comment '上线状态 0:未上线 1:已经上线 状态为未上线且病历未出现在vp_process表中使用可以进行删除'; alter table vp_ask_template_question_library add type int default 1 null comment '问题类型 1标准问 2自定义问题' after standard_question -- 在诊断关联表中添加关系类型字段 alter table vp_disease_ancillary add relation_type integer default 0 null comment '关系类型 0:关联疾病 1:关联病历 当类型为1是 disease_id代表的是vp_medical_rec表中的id' after require_check_flag; alter table vp_disease_physical add relation_type integer default 0 null comment '关系类型 0:关联疾病 1:关联病历 当类型为1是 disease_id代表的是vp_medical_rec表中的id' after require_check_flag; alter table vp_disease_treatment_plan add relation_type integer default 0 null comment '关系类型 0:关联疾病 1:关联病历 当类型为1是 disease_id代表的是vp_medical_rec表中的id' after treatment_plan_id;