Prechádzať zdrojové kódy

修复 输注信息更新时产品编号消失

18339543638 2 rokov pred
rodič
commit
d151c08598

+ 2 - 1
nb-service/web-service/src/main/resources/mapper/bus/BusPatientMapper.xml

@@ -422,6 +422,7 @@
         i.remark as remark,
         i.type as device_type,
         d.alias as device_alias,
+        d.product_no as product_no ,
         c.patient_gender as patient_gender,
         c.`patient_name` as patient_name,
         c.finished as finished,
@@ -450,7 +451,7 @@
         as p
         left join
         bus_infusion_history as i on p.infusion_id=i.id
-        left join (select device_id,alias from bus_device) as d on d.device_id=i.device_id
+        left join (select device_id,alias,product_no from bus_device) as d on d.device_id=i.device_id
         left join (select * from bus_clinic where monitor_type=1) c on p.clinic_id=c.id
         limit 1
     </select>