18339543638 преди 6 месеца
родител
ревизия
2704557443
променени са 1 файла, в които са добавени 1 реда и са изтрити 2 реда
  1. 1 2
      tr-modules/tr-module-smartFollowUp/src/main/resources/mapper/smart/BizClinicRoomMapper.xml

+ 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,