Browse Source

药房上下限过滤停用药品

WANGJIALIANG 2 years ago
parent
commit
ef3dadb00a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/main/java/cn/hnthyy/thmz/mapper/his/yf/YfDrugApplyMapper.java

+ 1 - 0
src/main/java/cn/hnthyy/thmz/mapper/his/yf/YfDrugApplyMapper.java

@@ -92,6 +92,7 @@ public interface YfDrugApplyMapper {
             "         a.name like '${searchText}%') and" +
             "        isnull(a.visible_flag,'0') <![CDATA[<>]]> '1' and" +
             "        isnull(a.del_flag,'0') <![CDATA[<>]]> '1'" +
+            "       and (isnull(b.visible_flag_mz,'0') <![CDATA[<>]]> '1' and isnull(b.visible_flag_zy,'0') <![CDATA[<>]]> '1')" +
             " group by  b.charge_code," +
             "          a.name," +
             "          b.serial," +