浏览代码

费用清单项目名称拼接comments字段

lighter 1 月之前
父节点
当前提交
173a63a722
共有 2 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/thyyxxk/webserver/dao/his/inpatient/ChargeListDao.java
  2. 0 0
      update/2025-07-08.md

+ 1 - 1
src/main/java/thyyxxk/webserver/dao/his/inpatient/ChargeListDao.java

@@ -82,7 +82,7 @@ public interface ChargeListDao {
             "(select isnull(national_code_27,national_code) national_code from zd_charge_item d where d.code=charge_code_mx) else " +
             "(select max(national_code) from yp_zd_dict d where d.code=charge_code_mx) end, " +
             "name=case when isnull(nullif(a.serial,''),'00')='00' then " +
-            "(select name from zd_charge_item d where d.code=charge_code_mx) else " +
+            "(select name+isnull(comments,'') as name from zd_charge_item d where d.code=charge_code_mx) else " +
             "(select max(name) from yp_zd_dict d where d.code=charge_code_mx) end, " +
             "specification=case when isnull(nullif(a.serial,''),'00')='00' then null else " +
             "(select max(specification) from yp_zd_dict d where d.code=charge_code_mx) end, " +

+ 0 - 0
update/2025-07-08.md