model:vp_ask_patient_answer添加question字段

dev_2.1.0
xueqingkun 1 year ago
parent f6b35ab1d5
commit ca96e7da9c

@ -34,6 +34,9 @@ public class AskPatientAnswer extends Model<AskPatientAnswer> implements Seriali
private String code; private String code;
@ApiModelProperty("问题")
private String question;
/** /**
* *
*/ */

@ -8,6 +8,7 @@
<id property="id" column="id" jdbcType="VARCHAR"/> <id property="id" column="id" jdbcType="VARCHAR"/>
<result property="medicalId" column="medical_id" jdbcType="VARCHAR"/> <result property="medicalId" column="medical_id" jdbcType="VARCHAR"/>
<result property="libraryQuestionId" column="library_question_id" jdbcType="VARCHAR"/> <result property="libraryQuestionId" column="library_question_id" jdbcType="VARCHAR"/>
<result property="question" column="question" jdbcType="VARCHAR"/>
<result property="answer" column="answer" jdbcType="VARCHAR"/> <result property="answer" column="answer" jdbcType="VARCHAR"/>
<result property="code" column="code" jdbcType="VARCHAR"/> <result property="code" column="code" jdbcType="VARCHAR"/>
<result property="answerResourceId" column="answer_resources_id" jdbcType="VARCHAR"/> <result property="answerResourceId" column="answer_resources_id" jdbcType="VARCHAR"/>
@ -19,7 +20,7 @@
</resultMap> </resultMap>
<sql id="Base_Column_List"> <sql id="Base_Column_List">
id,medical_id,library_question_id,code, id,medical_id,library_question_id,code,question,
answer,answer_resources_id,answer_type,create_user_id, answer,answer_resources_id,answer_type,create_user_id,
create_time,update_user_id,update_time create_time,update_user_id,update_time
</sql> </sql>

@ -110,3 +110,6 @@ alter table vp_medical_rec
-- 添加流程关联的字段 -- 添加流程关联的字段
alter table vp_process alter table vp_process
add graph_id varchar(64) null comment '图谱ID' after disease_id; 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;
Loading…
Cancel
Save