Pārlūkot izejas kodu

update
疼痛评价列表增加患者头像、年龄、性别

wangzl 4 mēneši atpakaļ
vecāks
revīzija
9c1bc34fdd

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

@@ -48,4 +48,13 @@ public class BizWebPainAssessmentVO  implements Serializable {
 
     @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/BizPainAssessmentMapper.xml

@@ -19,7 +19,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_clinic_room_doctor_user bcrmu ON bcr.ID = bcrmu.clinic_room_id