浏览代码

通用病案首页缺陷列表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