Browse Source

修复sql

yeguodong 1 ngày trước cách đây
mục cha
commit
fb5b53bedc
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/main/java/thyyxxk/simzfeeoprnsystm/dao/SiMzDao.java

+ 1 - 1
src/main/java/thyyxxk/simzfeeoprnsystm/dao/SiMzDao.java

@@ -133,7 +133,7 @@ public interface SiMzDao {
             "psn_cert_type,certno,med_type,insuplc_admdvs, " +
             "medfeeSumamt=(select sum(t.charge_fee) from t_mt_receipt t " +
             "left join mz_charge_detail m on m.patient_id=t.patient_id and m.times=t.times and m.charge_item_code=t.his_item_code " +
-            "where t.patient_id=#{patNo} and t.times=#{times} and m.serial != '01') " +
+            "where t.patient_id=#{patNo} and t.times=#{times} and m.serial != '01'), " +
             "mdtrt_id,insutype,fulamt_ownpay_amt,overlmt_amt as overlmtSelfpay, " +
             "preselfpay_amt,inscp_scp_amt " +
             "from t_si_pat_info where pat_no=#{patNo} and times=#{times}")