Forráskód Böngészése

门诊发药统计问题修复

hsh 1 éve
szülő
commit
44e7e8ce47

+ 2 - 0
src/main/java/cn/hnthyy/thmz/mapper/his/yf/YfSpiritAnestheticPrintMapper.java

@@ -40,6 +40,8 @@ public interface YfSpiritAnestheticPrintMapper {
             " where a.charge_item_code=b.code and" +
             "       a.serial=b.serial and" +
             "       a.quantity !=0 and" +
+            "       isnull(a.confirm_flag,2) != 2 and" +
+            "       isnull(a.pay_mark,5)<![CDATA[<>]]> 5 and" +
             "       b.drug_flag in " +
             "       <foreach item='item' collection='drugFlags' separator=',' open='(' close=')'>  " +
             "           #{item}  " +