Jelajahi Sumber

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

lighter 1 bulan lalu
induk
melakukan
173a63a722

+ 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