Преглед на файлове

条目缺陷质控评分页

zhaops преди 4 години
родител
ревизия
8236b83d58
променени са 1 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 4 4
      src/main/resources/mapper/BehospitalInfoMapper.xml

+ 4 - 4
src/main/resources/mapper/BehospitalInfoMapper.xml

@@ -2865,7 +2865,7 @@
             AND a.NAME LIKE CONCAT( '%', #{qcResultShortPageVO.patName}, '%' )
         </if>
         <if test="qcResultShortPageVO.casesEntryName != null and qcResultShortPageVO.casesEntryName != ''">
-            AND d.NAME LIKE CONCAT( '%', #{qcResultShortPageVO.casesEntryName}, '%' )
+            AND d.NAME = #{qcResultShortPageVO.casesEntryName}
         </if>
         <if test="qcResultShortPageVO.doctorId != null and qcResultShortPageVO.doctorId != ''">
             AND (a.doctor_id LIKE CONCAT( '%', #{qcResultShortPageVO.doctorId}, '%' )
@@ -2894,9 +2894,9 @@
         </if>
         )be
         left join med_check_info mci
-        on mci.is_deleted='N'
-        and be.hospital_id=mci.hospital_id
-        and be.behospital_code=mci.behospital_code
+        on mci.is_deleted = 'N'
+        and be.hospital_id = mci.hospital_id
+        and be.behospital_code = mci.behospital_code
         )tt1
         <if test="qcResultShortPageVO.casesEntryId != null and qcResultShortPageVO.casesEntryId==2511">
             ,med_medical_record tt2