瀏覽代碼

Merge branch '20211018_yw_check' into test_qiyuan

songxinlu 3 年之前
父節點
當前提交
93d275afee
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/resources/mapper/MedCheckInfoMapper.xml

+ 1 - 1
src/main/resources/mapper/MedCheckInfoMapper.xml

@@ -441,7 +441,7 @@
                 #{item}
             </foreach>
         </if>
-        <if test="wards !=null and wards.size > 0">
+        <if test="wards !=null and wards.size > 0 and depts.size ==0">
             AND mbi.ward_code IN
             <foreach collection="wards" item="item" open="(" close=")" separator=",">
                 #{item}