Просмотр исходного кода

update
问卷列表增加患者信息

wangzl 4 месяцев назад
Родитель
Сommit
084ae6de58

+ 9 - 0
tr-modules/tr-module-smartFollowUp/src/main/java/cn/tr/module/smart/web/vo/BizWebQuestionAnswerVO.java

@@ -49,4 +49,13 @@ public class BizWebQuestionAnswerVO  extends BaseDTO {
 
     @ApiModelProperty(value = "住院号", position = 10)
     private String patientCode;
+
+    @ApiModelProperty(value = "患者年龄", position = 11)
+    private Integer patientAge;
+
+    @ApiModelProperty(value = "患者性别", position = 12)
+    private String patientGender;
+
+    @ApiModelProperty(value = "患者头像",position = 13)
+    private String imageUrl;
 }

+ 4 - 1
tr-modules/tr-module-smartFollowUp/src/main/resources/mapper/smart/BizQuestionAnswerMapper.xml

@@ -20,7 +20,10 @@
         bcr.create_time as create_time,
         bcr.create_by as create_by,
         bcr.update_time as update_time,
-        bcr.update_by as update_by
+        bcr.update_by as update_by,
+        bcr.patient_age as patientAge,
+        bcr.patient_gender as patientGender,
+        bcr.image_url as imageUrl
         FROM
         biz_clinic_room bcr
         JOIN biz_question_answer bqa ON bcr.ID = bqa.clinic_id