From ca96e7da9ce5f904b4081ca5393668d532c27519 Mon Sep 17 00:00:00 2001 From: xueqingkun Date: Wed, 7 Feb 2024 13:03:54 +0800 Subject: [PATCH] =?UTF-8?q?model=EF=BC=9Avp=5Fask=5Fpatient=5Fanswer?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0question=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/supervision/model/AskPatientAnswer.java | 3 +++ .../src/main/resources/mapper/AskPatientAnswerMapper.xml | 3 ++- virtual-patient-web/src/main/resources/sqlScript/todo.sql | 5 ++++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/virtual-patient-model/src/main/java/com/supervision/model/AskPatientAnswer.java b/virtual-patient-model/src/main/java/com/supervision/model/AskPatientAnswer.java index 4d032fa4..e8239290 100644 --- a/virtual-patient-model/src/main/java/com/supervision/model/AskPatientAnswer.java +++ b/virtual-patient-model/src/main/java/com/supervision/model/AskPatientAnswer.java @@ -34,6 +34,9 @@ public class AskPatientAnswer extends Model implements Seriali private String code; + @ApiModelProperty("问题") + private String question; + /** * 回答 */ diff --git a/virtual-patient-model/src/main/resources/mapper/AskPatientAnswerMapper.xml b/virtual-patient-model/src/main/resources/mapper/AskPatientAnswerMapper.xml index 4374e3ab..e26a7cd5 100644 --- a/virtual-patient-model/src/main/resources/mapper/AskPatientAnswerMapper.xml +++ b/virtual-patient-model/src/main/resources/mapper/AskPatientAnswerMapper.xml @@ -8,6 +8,7 @@ + @@ -19,7 +20,7 @@ - id,medical_id,library_question_id,code, + id,medical_id,library_question_id,code,question, answer,answer_resources_id,answer_type,create_user_id, create_time,update_user_id,update_time diff --git a/virtual-patient-web/src/main/resources/sqlScript/todo.sql b/virtual-patient-web/src/main/resources/sqlScript/todo.sql index 53677c4f..ff87fd51 100644 --- a/virtual-patient-web/src/main/resources/sqlScript/todo.sql +++ b/virtual-patient-web/src/main/resources/sqlScript/todo.sql @@ -109,4 +109,7 @@ alter table vp_medical_rec -- 添加流程关联的字段 alter table vp_process - add graph_id varchar(64) null comment '图谱ID' after disease_id; \ No newline at end of file + add graph_id varchar(64) null comment '图谱ID' after disease_id; + +alter table vp_ask_patient_answer + add question varchar(512) null comment '问题 用于病例问题展示' after code; \ No newline at end of file