Bladeren bron

离院人数质控评分详情

zhaops 4 jaren geleden
bovenliggende
commit
a27014989f
1 gewijzigde bestanden met toevoegingen van 3 en 3 verwijderingen
  1. 3 3
      src/main/resources/mapper/BehospitalInfoMapper.xml

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

@@ -3871,9 +3871,6 @@
         LEFT JOIN med_qcresult_info c ON c.is_deleted = 'N'
         AND b.hospital_id = c.hospital_id
         AND b.behospital_code = c.behospital_code
-        <if test="qcResultShortPageVO.level != null and qcResultShortPageVO.level != ''">
-            AND c.`level` = #{qcResultShortPageVO.level}
-        </if>
         ) tt1
         <if test="qcResultShortPageVO.leaveHosType != null and qcResultShortPageVO.leaveHosType ==3">
             ,med_medical_record tt2,
@@ -3930,6 +3927,9 @@
         <if test="qcResultShortPageVO.checkStatus != null">
             and t.checkStatus = #{qcResultShortPageVO.checkStatus}
         </if>
+        <if test="qcResultShortPageVO.level != null and qcResultShortPageVO.level != ''">
+            AND t.`level` = #{qcResultShortPageVO.level}
+        </if>
     </select>
 
     <!-- 病案首页改善率统计(首页)-->