|
@@ -53,6 +53,8 @@ public interface PatientDao {
|
|
|
|
|
|
@Select("<script>" +
|
|
|
"select inpatientNo=rtrim(a.inpatient_no),a.admiss_times,a.med_type,b.social_no,dis_date,consult_physician,dept_director," +
|
|
|
+ "consult_physician_name = (select name from a_employee_mi where a_employee_mi.code = consult_physician)," +
|
|
|
+ "dept_director_name = (select name from a_employee_mi where a_employee_mi.code = dept_director)," +
|
|
|
"zkys= (select zkys from batj_ba2 ba where ba.zyh = a.inpatient_no and ba.zycs = a.admiss_times)," +
|
|
|
"mz_no = (select rtrim(mz_no) from a_patient_mi where a_patient_mi.inpatient_no = a.inpatient_no)," +
|
|
|
"zk_ward,zk_ward_name = (select rtrim(name) from zd_unit_code where code=zk_ward), " +
|