فهرست منبع

通用病案首页缺陷列表sql逻辑调整

chengyao 3 سال پیش
والد
کامیت
821388ff39
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      src/main/resources/mapper/QcresultInfoMapper.xml

+ 3 - 0
src/main/resources/mapper/QcresultInfoMapper.xml

@@ -1729,6 +1729,9 @@
         <if test="filterPageVO.isPlacefile != null and filterPageVO.isPlacefile != ''">
             and a.is_placefile = #{filterPageVO.isPlacefile}
         </if>
+        <if test="filterPageVO.casesId != null and filterPageVO.casesId != 0">
+            AND d.cases_id = #{filterPageVO.casesId}
+        </if>
         AND e.cases_id = d.cases_id
         AND e.id = d.cases_entry_id
         AND a.qc_type_id != 0