|
@@ -144,7 +144,7 @@ public interface SiQueryDao {
|
|
|
String selectAdmdvsByPatNoAndPsnNo(String patNo, String psnNo);
|
|
|
|
|
|
@Select("select a.mdtrt_id,a.psn_name,a.gend,a.age,a.psn_no,b.emp_name,a.psn_type,a.cvlserv_flag,a.pat_no," +
|
|
|
- "a.setl_id,b.insuplc_admdvs,a.med_type,a.setl_time,a.hifes_pay,a.insutype, " +
|
|
|
+ "a.setl_id,b.insuplc_admdvs,a.med_type,a.setl_time,a.hifes_pay,a.insutype,a.fulamt_ownpay_amt,a.overlmt_selfpay,a.preselfpay_amt,a.inscp_scp_amt, " +
|
|
|
"tel=(select rtrim(home_tel) from a_patient_mi where a_patient_mi.inpatient_no=a.pat_no), " +
|
|
|
"admDeptName=(select rtrim(name) from zd_unit_code where code=isnull(c.zk_ward,c.small_dept)), " +
|
|
|
"c.bed_no as admBed,a.begntime,a.endtime,a.certno,a.mdtrt_cert_type,b.psn_idet_type, " +
|
|
@@ -161,7 +161,7 @@ public interface SiQueryDao {
|
|
|
InptntSetlmtLst selectZySetlinfo(String setlId, String table);
|
|
|
|
|
|
@Select("select a.mdtrt_id,a.psn_name,a.gend,a.age,a.psn_no,b.emp_name,a.psn_type,a.cvlserv_flag,a.pat_no, " +
|
|
|
- "a.setl_id,b.insuplc_admdvs,a.med_type,a.setl_time,a.hifes_pay,a.insutype, " +
|
|
|
+ "a.setl_id,b.insuplc_admdvs,a.med_type,a.setl_time,a.hifes_pay,a.insutype,a.overlmt_selfpay,a.preselfpay_amt,a.inscp_scp_amt, " +
|
|
|
"tel=(select rtrim(home_tel) from a_patient_mi where a_patient_mi.inpatient_no=a.pat_no), " +
|
|
|
"admDeptName=(select rtrim(name) from zd_unit_code where code=c.visit_dept_code), " +
|
|
|
"'JZ-1' as admBed,a.begntime,a.endtime,a.certno,a.mdtrt_cert_type,b.psn_idet_type, " +
|