|
@@ -181,6 +181,7 @@ public interface SiQueryDao {
|
|
|
"a.hifp_pay,a.acct_pay,a.cvlserv_pay,a.psn_cash_pay,b.insuplc_admdvs,a.insutype,a.balc, " +
|
|
|
"a.hifmi_pay,a.maf_pay,a.hifob_pay,a.oth_pay,a.staff_id,a.hifes_pay,a.psn_cert_type, " +
|
|
|
"staffName=(select rtrim(name) from a_employee_mi where code=staff_id),b.psn_idet_type, " +
|
|
|
+ "chfpdrName=(select rtrim(doctor_code) from mz_visit_table where patient_id=#{patNo} and times=#{times}), " +
|
|
|
"admDeptName=(select rtrim(name) from zd_unit_code where code=" +
|
|
|
"(select t.visit_dept_code from mz_visit_table t where t.patient_id=#{patNo} and t.times=#{times})), " +
|
|
|
"tel=(select rtrim(phone_no) from mz_patient_mi where patient_id=#{patNo}) " +
|