Browse Source

质控评分相关页面isPlacefile改成动态的值

gaodm 4 năm trước cách đây
mục cha
commit
fc1fb31416
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      src/main/resources/mapper/BehospitalInfoMapper.xml

+ 3 - 1
src/main/resources/mapper/BehospitalInfoMapper.xml

@@ -3731,7 +3731,9 @@
         med_behospital_info tt2
         WHERE
         tt2.is_deleted = 'N'
-        AND tt2.is_placefile = 1
+        <if test="isPlacefile != null and isPlacefile != ''">
+            and tt2.is_placefile = #{isPlacefile}
+        </if>
         AND tt2.qc_type_id != 0
         AND tt1.file_code = tt2.file_code
         AND tt1.diagnose = tt2.diagnose