Explorar o código

Merge branch '20211018_yw_check' into test_qiyuan

songxinlu %!s(int64=3) %!d(string=hai) anos
pai
achega
93d275afee
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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}