Browse Source

工伤医保码显示社保三大目录ID

lighter 2 years ago
parent
commit
498c456bbb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/thyyxxk/webserver/dao/his/inpatient/Routines.java

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

@@ -40,7 +40,7 @@ public interface Routines {
                                                 @Param("serial2") String serial2);
 
     @Select("select detail_sn,charge_code_mx,charge_amount,charge_fee,charge_date,yb_self_flag, " +
-            "yb_code=(select max(ake001) from ${zdTable} where code=charge_code_mx), " +
+            "yb_code=(select max(aaz231) from ${zdTable} where code=charge_code_mx), " +
             "charge_name=(select top 1 rtrim(name) from ${zdTable} where code=charge_code_mx) " +
             "from zy_detail_charge where inpatient_no=#{patNo} and admiss_times=#{times} and " +
             "ledger_sn=#{ledgerSn} and isnull(trans_flag_yb,0)=0 and isnull(infant_flag,0)=0 " +