A17404李放 3 rokov pred
rodič
commit
5d46e822ee

+ 1 - 1
nb-system/src/main/resources/mapper/bus/BusInfusionHistoryMapper.xml

@@ -319,7 +319,7 @@
         join (select * from bus_patient
         <where>
             <if test="query.patientCode != null">
-                and patient_code like concat('%',#{query.patientCode},'%')
+                and code like concat('%',#{query.patientCode},'%')
             </if>
         </where>
         ) as p on p.id = c.patient_id