浏览代码

bug处理

chengyao 4 年之前
父节点
当前提交
b5f49ab0e5
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      src/main/resources/mapper/QcresultInfoMapper.xml

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

@@ -2099,8 +2099,8 @@
         AND a.hospital_id = f.hospital_id
         AND a.behospital_code = d.behospital_code
         AND a.beh_dept_id = f.dept_id
-        <if test="filterPageByDeptVO.userId!=null">
-            AND f.user_id = #{filterPageByDeptVO.userId}
+        <if test="filterPageVO.userId!=null">
+            AND f.user_id = #{filterPageVO.userId}
         </if>
         <if test="filterPageVO.isPlacefile != null and filterPageVO.isPlacefile != ''">
             and a.is_placefile = #{filterPageVO.isPlacefile}
@@ -2172,8 +2172,8 @@
         AND a.hospital_id = f.hospital_id
         AND a.behospital_code = d.behospital_code
         AND a.beh_dept_id = f.dept_id
-        <if test="filterPageByDeptVO.userId!=null">
-            AND f.user_id = #{filterPageByDeptVO.userId}
+        <if test="filterPageVO.userId!=null">
+            AND f.user_id = #{filterPageVO.userId}
         </if>
         <if test="filterPageVO.isPlacefile != null and filterPageVO.isPlacefile != ''">
             and a.is_placefile = #{filterPageVO.isPlacefile}