|
@@ -82,7 +82,7 @@ class Application extends Base
|
|
|
$super_hospitals = array();
|
|
|
$super_doctors = DB::table("remote_contact")
|
|
|
->alias("rc1")
|
|
|
- ->join('remote_contact rc2', 'r1.hospital_id = rc2.hospital_id and rc1.super_hospital_id = rc2.super_hospital_id')
|
|
|
+ ->join('remote_cost rc2', 'r1.hospital_id = rc2.hospital_id and rc1.super_hospital_id = rc2.super_hospital_id')
|
|
|
->where('rc1.hospital_id', $institution_id)
|
|
|
->where('rc2.exam_class', $info['exam_class'])
|
|
|
->field('rc1.hospital_id, rc1.super_hospital_id, rc1.hospital_name, rc1.super_hospital_name, rc1.pay_type, rc2.super_doctor_id, rc2.super_doctor_name, rc2.exam_class')
|