瀏覽代碼

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

gaodm 4 年之前
父節點
當前提交
fc1fb31416
共有 1 個文件被更改,包括 3 次插入1 次删除
  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