|
@@ -43,7 +43,7 @@ public interface AdjustBedDao {
|
|
|
" zy_actpatient.responce_type,\n" +
|
|
|
" responce_type_name = (select name from zy_zd_responce_type where zy_actpatient.responce_type=code),\n" +
|
|
|
" zy_actpatient.admiss_diag_str,\n" +
|
|
|
- " (select name from a_employee_mi where code = zy_actpatient.admiss_physician) as zyDoctorName,\n" +
|
|
|
+ " (select name from a_employee_mi where code = zy_actpatient.refer_physician) as zyDoctorName,\n" +
|
|
|
" (select name from zd_unit_code where zy_actpatient.small_dept = code) as smallDeptName,\n" +
|
|
|
" zy_actpatient.balance\n" +
|
|
|
" from zy_bed_mi left join zy_actpatient on zy_bed_mi.inpatient_no = zy_actpatient.inpatient_no\n" +
|