Browse Source

诊疗项目停用

hurugang 3 years ago
parent
commit
83fa073463

+ 1 - 1
src/main/java/cn/hnthyy/thmz/mapper/his/zd/ZdChargeItemMapper.java

@@ -327,7 +327,7 @@ public interface ZdChargeItemMapper {
             "</when>",
             "  code=rtrim(code),name,specification=charge_unit,charge_amount,manufactory=yb_comment,exec_unit,group_no='00' ,type=3  ",
             "    FROM zd_charge_item WITH(NOLOCK)   ",
-            "where  class_code in ('C','D','E','G','F','J')",
+            "where del_flag=0 and  class_code in ('C','D','E','G','F','J')",
             "<when test='commonParams!=null'>",
             " and (py_code like #{commonParams} collate Chinese_PRC_CI_AS or d_code  like #{commonParams} collate Chinese_PRC_CI_AS or code like #{commonParams} collate Chinese_PRC_CI_AS or name like #{commonParams} collate Chinese_PRC_CI_AS or class_code like #{commonParams} collate Chinese_PRC_CI_AS ",
             ") ",