瀏覽代碼

诊疗项目查询优化

lihong 2 年之前
父節點
當前提交
4063ceba9f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/cn/hnthyy/thmz/mapper/his/zd/ZdChargeItemMapper.java

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

@@ -339,7 +339,7 @@ public interface ZdChargeItemMapper {
             "</when>",
             "  code=rtrim(code),name,specification=charge_unit,chargeAmount=charge_amount,manufactory=yb_comment,execUnit=exec_unit,groupNo='00' ,type=3,descriptions,selfpayProp=selfpay_prop,connotation,nationalCode=national_code  ",
             "    FROM zd_charge_item WITH(NOLOCK)   ",
-            "where del_flag=0 and  class_code in ('B','C', 'D', 'E', 'G', 'F','H','I','J') and isnull(group_no,'00') <![CDATA[<>]]> '91' ",
+            "where del_flag=0 and  class_code in ('B','C', 'E', 'G', 'F','I','J') and isnull(group_no,'00') <![CDATA[<>]]> '91' ",
             "<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 ",
             ") ",