18339543638 пре 6 месеци
родитељ
комит
2704557443

+ 1 - 2
tr-modules/tr-module-smartFollowUp/src/main/resources/mapper/smart/BizClinicRoomMapper.xml

@@ -49,12 +49,11 @@
         <where>
             and bcr.deleted=0 and bcrwu.wx_user_id = #{query.userId}
             <if test="query.patientCode != null and query.patientCode != ''">
-                bcr.patient_code like concat('',#{query.patientCode},'')
+                and bcr.patient_code like concat('%',#{query.patientCode},'%')
             </if>
         </where>
     </select>
 
-
     <select id="selectByClinicRoomAndPatientList" resultMap="RoomAndPatient">
         SELECT bcr.id,
         bcr.clinic_name,