Quellcode durchsuchen

温附一增加归档判断

wangsy vor 3 Jahren
Ursprung
Commit
495eecff6d

+ 5 - 0
src/main/java/com/diagbot/vo/data/ABelowVO.java

@@ -12,6 +12,11 @@ public class ABelowVO {
      */
     private Long hospitalId;
 
+    /**
+     * 是否归档(0:未归档,1:已归档)
+     */
+    private String isPlacefile;
+
     /**
      * 住院科室名称
      */

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

@@ -19776,7 +19776,9 @@
         m2.is_deleted='N' AND `level` != '甲'
         WHERE
         m1.is_deleted = 'N'
-        AND m1.is_placefile='1'
+        <if test="isPlacefile != null and isPlacefile !=''">
+            AND m1.is_placefile=#{isPlacefile}
+        </if>
         <if test="hospitalId != null and hospitalId !=''">
             AND m1.hospital_id=#{hospitalId}
         </if>