Pārlūkot izejas kodu

perf(评价信息):

新增 评价人、住院号显示
18339543638 2 gadi atpakaļ
vecāks
revīzija
aa04e0d5db

+ 3 - 0
nb-service/web-service/src/main/java/com/nb/web/service/bus/service/dto/CombineEvalResult.java

@@ -23,6 +23,9 @@ public class CombineEvalResult extends CombineResult {
     @ApiModelProperty(value = "评价id")
     private String evalId;
 
+    @ApiModelProperty(value = "评价人")
+    private String evaluator;
+
     @ApiModelProperty(value = "静息疼痛")
     private Integer statics;
 

+ 5 - 1
nb-service/web-service/src/main/resources/mapper/bus/BusInfusionHistoryMapper.xml

@@ -111,7 +111,9 @@
         <result column="heart_rate" property="heartRate"/>
         <result column="fetal_heart_rate" property="fetalHeartRate"/>
         <result column="breath_rate" property="breathRate"/>
+        <result column="evaluator" property="evaluator"/>
         <result column="blood_oxygen_saturation" property="bloodOxygenSaturation"/>
+        <result column="patient_code" property="patientCode"/>
     </resultMap>
 
     <resultMap id="queryStatsHistory" type="com.nb.web.service.bus.service.dto.CombineHistoryResult">
@@ -360,6 +362,7 @@
         i.id as infusion_id,
         i.last_upload_time as last_upload_time,
         i.start_time as infusion_start_time,
+        c.patient_code as patient_code,
         c.ward as ward,
         c.bed_no as bed_no,
         c.surgery_name as surgery_name,
@@ -398,7 +401,8 @@
         e.fetal_heart_rate as fetal_heart_rate,
         e.breath_rate as breath_rate,
         e.blood_oxygen_saturation as blood_oxygen_saturation,
-        e.id as eval_id
+        e.id as eval_id,
+        e.evaluator as evaluator
         from (
         <include refid="commonInfusionQuery"/>
         ) as i