浏览代码

打印字段查询,空值判断

WANGJIALIANG 3 年之前
父节点
当前提交
2c1858f921
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/cn/hnthyy/thmz/mapper/his/mz/MzChargeDetailMapper.java

+ 1 - 1
src/main/java/cn/hnthyy/thmz/mapper/his/mz/MzChargeDetailMapper.java

@@ -925,7 +925,7 @@ public interface MzChargeDetailMapper {
             "SELECT c.patient_id,c.times,c.receipt_no,c.order_no,c.real_no,c.bill_item_code," +
             "c.group_no,c.charge_item_code,c.serial,c.warn_dept,c.price_time,c.doctor_code,c.confirm_id," +
             "c.quantity,c.drug_quan,c.frequency,c.charge_item_code,c.drug_unit,c.supply_code,c.doctor_code,c.unit_price,c.yb_zf_flag,c.jz_flag,instruction_text,try_result,try_flag,  " +
-            " (case when y.class_code = '210100' then 1 else 0 end ) as is_hide" +
+            " (case when y.class_code = '210100' then 1 else 0 end ) as is_hide,c.print_flag" +
             "    FROM mz_charge_detail c WITH(NOLOCK) ,yp_zd_dict y WITH(NOLOCK) " +
             " where  1=1 " +
             " and c.charge_item_code = y.code and c.serial = y.serial" +